* Added support for sending notifiers and updates when setting RNA properties. Per property, there is a notifier NC_/ND_ flag, and a function that is called. Currently only used for Object.loc/rot/size. * RNA_property_update that does this is not automatically called in every _set function, it has do be done separate, and is being done by buttons with RNA data. * Perhaps for python there could be a trick to accumulate these flags rather than update each time, though for now the python RNA code could just do them everytime. Did not add these calls in the python code yet because it needs context, not sure where to get that from?
		
			
				
	
	
		
			13 lines
		
	
	
		
			285 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			285 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
Import ('env')
 | 
						|
 | 
						|
objs = []
 | 
						|
 | 
						|
o = SConscript('intern/SConscript')
 | 
						|
objs += o
 | 
						|
 | 
						|
incs = '#/intern/guardedalloc ../blenkernel ../blenlib ../makesdna intern .'
 | 
						|
incs += ' ../windowmanager'
 | 
						|
 | 
						|
env.BlenderLib ( 'bf_rna', objs, Split(incs), [], libtype=['core'], priority = [195] )
 |