2D stabilizer: One more occurrence of len() in the drawing code

This commit is contained in:
Sergey Sharybin 2016-08-17 10:40:34 +02:00
parent 1c633dea1c
commit 83d94ef4d0
1 changed files with 1 additions and 3 deletions

View File

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