forked from bartvdbraak/blender
Fix possible issues when blender is compiled without Cycles
This commit is contained in:
parent
559e3db792
commit
6dec250ec6
@ -729,7 +729,7 @@ class CLIP_OT_setup_tracking_scene(Operator):
|
||||
self._offsetNodes(tree)
|
||||
|
||||
scene.render.alpha_mode = 'TRANSPARENT'
|
||||
if scene.cycles:
|
||||
if hasattr(scene, 'cycles'):
|
||||
scene.cycles.film_transparent = True
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user