Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Context not available. | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| col = layout.column(align=True) | |||||
| layout.operator("transform.translate", text="Grab/Move") | layout.operator("transform.translate", text="Grab/Move") | ||||
| # TODO: sub-menu for grab per axis | # TODO: sub-menu for grab per axis | ||||
| layout.operator("transform.rotate", text="Rotate") | col.operator("transform.rotate", text="Rotate") | ||||
| # TODO: sub-menu for rot per axis | # TODO: sub-menu for rot per axis | ||||
| layout.operator("transform.resize", text="Scale") | col.operator("transform.resize", text="Scale") | ||||
| # TODO: sub-menu for scale per axis | # TODO: sub-menu for scale per axis | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("transform.tosphere", text="To Sphere") | col = layout.column(align=True) | ||||
| layout.operator("transform.shear", text="Shear") | col.operator("transform.tosphere", text="To Sphere") | ||||
| layout.operator("transform.bend", text="Bend") | col.operator("transform.shear", text="Shear") | ||||
| layout.operator("transform.push_pull", text="Push/Pull") | col.operator("transform.bend", text="Bend") | ||||
| layout.operator("object.vertex_warp", text="Warp") | col.operator("transform.push_pull", text="Push/Pull") | ||||
| col.operator("object.vertex_warp", text="Warp") | |||||
| # Generic transform menu - geometry types | # Generic transform menu - geometry types | ||||
| Context not available. | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe...") | col = layout.column(align=True) | ||||
| layout.operator("anim.keyframe_delete_v3d", text="Delete Keyframes...") | col.operator("anim.keyframe_insert_menu", text="Insert Keyframe...") | ||||
| layout.operator("anim.keyframe_clear_v3d", text="Clear Keyframes...") | col.operator("anim.keyframe_delete_v3d", text="Delete Keyframes...") | ||||
| layout.operator("anim.keying_set_active_set", text="Change Keying Set...") | col.operator("anim.keyframe_clear_v3d", text="Clear Keyframes...") | ||||
| col.operator("anim.keying_set_active_set", text="Change Keying Set...") | |||||
| layout.separator() | layout.separator() | ||||
| Context not available. | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.operator("object.quick_fur") | col = layout.column(align=True) | ||||
| layout.operator("object.quick_explode") | col.operator("object.quick_fur") | ||||
| layout.operator("object.quick_smoke") | col.operator("object.quick_explode") | ||||
| layout.operator("object.quick_fluid") | col.operator("object.quick_smoke") | ||||
| col.operator("object.quick_fluid") | |||||
| class VIEW3D_MT_object_showhide(Menu): | class VIEW3D_MT_object_showhide(Menu): | ||||
| Context not available. | |||||