Fix possible issues when blender is compiled without Cycles

This commit is contained in:
Sergey Sharybin 2014-06-02 12:55:05 +06:00
parent 559e3db792
commit 6dec250ec6
1 changed files with 1 additions and 1 deletions

View File

@ -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