diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-03-14 06:05:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-03-14 06:05:30 +0300 |
commit | 5cf623934fcb7581327ea1fc239e3e677dcac705 (patch) | |
tree | 1ee661c276d9678b898e8682f1fedaa1c24ed9c4 /release/scripts/ui/space_dopesheet.py | |
parent | ed930c48186d72b79ce6f1139f7db65759a40f42 (diff) |
Bugfix #21565: Scale keys from DopeSheet transform menu causes crash
The operators in this menu were using the wrong operators!
Diffstat (limited to 'release/scripts/ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/ui/space_dopesheet.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/ui/space_dopesheet.py b/release/scripts/ui/space_dopesheet.py index 6d5619613ea..a98f142cc3a 100644 --- a/release/scripts/ui/space_dopesheet.py +++ b/release/scripts/ui/space_dopesheet.py @@ -187,9 +187,10 @@ class DOPESHEET_MT_key_transform(bpy.types.Menu): layout = self.layout layout.column() - layout.operator("transform.translate", text="Grab/Move") + layout.operator("transform.transform", text="Grab/Move").mode = 'TIME_TRANSLATE' layout.operator("transform.transform", text="Extend").mode = 'TIME_EXTEND' - layout.operator("transform.resize", text="Scale") + layout.operator("transform.transform", text="Slide").mode = 'TIME_SLIDE' + layout.operator("transform.transform", text="Scale").mode = 'TIME_SCALE' classes = [ |