Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/mesh_ops.c
| Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | ot = WM_operatortype_append_macro("MESH_OT_extrude_context_move", | ||||
| "Extrude Region and Move", | "Extrude Region and Move", | ||||
| "Extrude region together along the average normal", | "Extrude region together along the average normal", | ||||
| OPTYPE_UNDO | OPTYPE_REGISTER); | OPTYPE_UNDO | OPTYPE_REGISTER); | ||||
| otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context"); | otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context"); | ||||
| otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate"); | otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate"); | ||||
| RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | ||||
| RNA_boolean_set(otmacro->ptr, "mirror", false); | RNA_boolean_set(otmacro->ptr, "mirror", false); | ||||
| ot = WM_operatortype_append_macro("MESH_OT_extrude_context_rotate", | |||||
| "Extrude Region and Rotate", | |||||
| "Extrude region together along the average normal", | |||||
| OPTYPE_UNDO | OPTYPE_REGISTER); | |||||
| otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context"); | |||||
| otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_rotate"); | |||||
| RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | |||||
| RNA_boolean_set(otmacro->ptr, "mirror", false); | |||||
| ot = WM_operatortype_append_macro("MESH_OT_extrude_context_trackball", | |||||
| "Extrude Region and Rotate (Trackball)", | |||||
| "Extrude region together along the average normal", | |||||
| OPTYPE_UNDO | OPTYPE_REGISTER); | |||||
| otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context"); | |||||
| otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_trackball"); | |||||
| RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | |||||
| RNA_boolean_set(otmacro->ptr, "mirror", false); | |||||
| ot = WM_operatortype_append_macro("MESH_OT_extrude_context_resize", | |||||
| "Extrude Region and Resize", | |||||
| "Extrude region together along the average normal", | |||||
| OPTYPE_UNDO | OPTYPE_REGISTER); | |||||
| otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context"); | |||||
| otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_resize"); | |||||
| RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | |||||
| RNA_boolean_set(otmacro->ptr, "mirror", false); | |||||
| ot = WM_operatortype_append_macro("MESH_OT_extrude_region_shrink_fatten", | ot = WM_operatortype_append_macro("MESH_OT_extrude_region_shrink_fatten", | ||||
| "Extrude Region and Shrink/Fatten", | "Extrude Region and Shrink/Fatten", | ||||
| "Extrude region together along local normals", | "Extrude region together along local normals", | ||||
| OPTYPE_UNDO | OPTYPE_REGISTER); | OPTYPE_UNDO | OPTYPE_REGISTER); | ||||
| otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_region"); | otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_region"); | ||||
| otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_shrink_fatten"); | otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_shrink_fatten"); | ||||
| RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false); | ||||
| RNA_boolean_set(otmacro->ptr, "mirror", false); | RNA_boolean_set(otmacro->ptr, "mirror", false); | ||||
| ▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines | |||||