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:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-01-17 14:12:37 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-01-17 14:12:37 +0300
commitc38ebf93e356a97b3013b075e1d98268df891809 (patch)
tree60bf31ae85a8c0aebcf5b154be72a945c781024c /release
parent7935a394b7a8ab924a6431f6fb839913ea0129f6 (diff)
Added "Delete Invalid Drivers" operator
This operator is available in the graph editor in the Drivers mode, and allows quick cleanup of drivers marked as 'invalid'.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 4938512070e..e2407f1f2b2 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -201,6 +201,8 @@ class GRAPH_MT_channel(Menu):
layout.operator_context = 'INVOKE_REGION_CHANNELS'
layout.operator("anim.channels_delete")
+ if context.space_data.mode == 'DRIVERS':
+ layout.operator("graph.driver_delete_invalid")
layout.separator()
layout.operator("anim.channels_group")