[Bf-blender-cvs] [83d94ef] master: 2D stabilizer: One more occurrence of len() in the drawing code
Sergey Sharybin
noreply at git.blender.org
Wed Aug 17 10:41:07 CEST 2016
Commit: 83d94ef4d054ade1edc5888d6782f096af325e62
Author: Sergey Sharybin
Date: Wed Aug 17 10:40:34 2016 +0200
Branches: master
https://developer.blender.org/rB83d94ef4d054ade1edc5888d6782f096af325e62
2D stabilizer: One more occurrence of len() in the drawing code
===================================================================
M release/scripts/startup/bl_ui/space_clip.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 5f3b9c7..ee6c068 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -973,9 +973,7 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel):
layout.prop(stab, "target_zoom")
layout.separator()
- row = layout.row()
- row.active = 0 < len(stab.tracks.values())
- row.prop(stab, "influence_location")
+ layout.prop(stab, "influence_location")
col = layout.column()
col.active = stab.use_stabilize_rotation
More information about the Bf-blender-cvs
mailing list