Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-08-17 11:40:34 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-08-17 11:40:34 +0300
commit83d94ef4d054ade1edc5888d6782f096af325e62 (patch)
treed3d32d627d278315e95a0f5cab5857edc480cf00 /release
parent1c633dea1ca48b05057657f90ce29f9159af95b6 (diff)
2D stabilizer: One more occurrence of len() in the drawing code
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 5f3b9c76865..ee6c068dc71 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