NLA Editor: Added "Sync Action Length" operator to Edit menu
authorJoshua Leung <aligorith@gmail.com>
Wed, 19 Jan 2011 10:45:35 +0000 (10:45 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 19 Jan 2011 10:45:35 +0000 (10:45 +0000)
Although strictly-speaking, this only applies to a certain type of NLA
Strip (there are 3 types), but since only the classic "Action Clip"
gets much attention, it's probably worth exposing this here too to
make batch editing of strips a bit easier.

release/scripts/ui/space_nla.py

index 2dc3474ec9c2ba7d6218eaa6be9a9d36ef6cb15c..1921e80035d3823b5f608b3ea7a3854b73cb3093 100644 (file)
@@ -137,6 +137,7 @@ class NLA_MT_edit(bpy.types.Menu):
         layout.separator()
         layout.operator("nla.apply_scale")
         layout.operator("nla.clear_scale")
+        layout.operator("nla.action_sync_length").active = False
 
         layout.separator()
         layout.operator("nla.swap")