[Bf-blender-cvs] [6dec250] master: Fix possible issues when blender is compiled without Cycles
Sergey Sharybin
noreply at git.blender.org
Mon Jun 2 08:55:24 CEST 2014
Commit: 6dec250ec62fbe923b6f5c87fd6ec3cf29a463f3
Author: Sergey Sharybin
Date: Mon Jun 2 12:55:05 2014 +0600
https://developer.blender.org/rB6dec250ec62fbe923b6f5c87fd6ec3cf29a463f3
Fix possible issues when blender is compiled without Cycles
===================================================================
M release/scripts/startup/bl_operators/clip.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 21b9627..1bd40f1 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -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
More information about the Bf-blender-cvs
mailing list