diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-05 20:27:26 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-05 20:27:26 +0300 |
commit | 37931a6b1a9931c8eeb8a7dcd3ea79ed50a86064 (patch) | |
tree | 2c354594754438412c27fc9b604d4a9457fdb045 /release | |
parent | 91d352024b8fd6eb21e73db2c3893f732f41ebde (diff) |
Todo item: brought transform texture space back.
Code changes are minimal, re-using the code as already was there.
Options are in pulldown menu, or SHIFT+T and SHIFT+ALT+T
Might be that Martin likes to see it different... do we need
a special operatortype for it?
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_view3d.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index 3ca751eeed9..e60440d33ea 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -152,6 +152,13 @@ class VIEW3D_MT_transform(bpy.types.Menu): layout.operator("transform.warp", text="Warp") layout.operator("transform.push_pull", text="Push/Pull") + layout.separator() + + layout.operator("transform.translate", text="Move Texture Space").texture_space = True + layout.operator("transform.resize", text="Scale Texture Space").texture_space = True + + layout.separator() + obj = context.object if obj.type == 'ARMATURE' and obj.mode in ('EDIT', 'POSE') and obj.data.draw_type in ('BBONE', 'ENVELOPE'): layout.operator("transform.transform", text="Scale Envelope/BBone").mode = 'BONE_SIZE' |