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:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_animviz.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_animviz.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_animviz.py b/release/scripts/startup/bl_ui/properties_animviz.py
index 4033d5c2448..7ba503bffd2 100644
--- a/release/scripts/startup/bl_ui/properties_animviz.py
+++ b/release/scripts/startup/bl_ui/properties_animviz.py
@@ -52,6 +52,12 @@ class MotionPathButtonsPanel:
sub.prop(mps, "frame_step", text="Step")
+ if mps.type == 'RANGE':
+ if bones:
+ sub.operator("pose.paths_range_update")
+ else:
+ sub.operator("object.paths_range_update")
+
col = layout.column(align=True)
if bones:
col.label(text="Cache for Bone:")