Now, compositing, shading and texture nodes have a consistent muting system, with default behaving as previous (for compo), and which can be optionaly customized by each node. Shader nodes are also GLSL muted. However, Cycles is currently unaware of muted nodes, will try to address this…
		
			
				
	
	
		
			19 lines
		
	
	
		
			610 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			610 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
Import ('env')
 | 
						|
 | 
						|
sources = env.Glob('intern/*.c')
 | 
						|
 | 
						|
defs = [ 'GLEW_STATIC' ]
 | 
						|
 | 
						|
incs = '../blenlib ../blenkernel ../makesdna ../makesrna ../include ../blenloader ../nodes ../nodes/intern'
 | 
						|
incs += ' #/extern/glew/include #intern/guardedalloc #intern/smoke/extern ../imbuf .'
 | 
						|
 | 
						|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
 | 
						|
    incs += ' ' + env['BF_PTHREADS_INC']
 | 
						|
 | 
						|
incs += ' ' + env['BF_OPENGL_INC']
 | 
						|
 | 
						|
defs.append('WITH_SMOKE')  # TODO, make optional
 | 
						|
 | 
						|
env.BlenderLib ( 'bf_gpu', sources, Split(incs), defines = defs, libtype=['core','player'], priority=[160,110] )
 |