WIP: Shift Extrude and Duplicate of meshes and objects #118968

Draft
Kyler Kelly-Tan wants to merge 20 commits from kylerk/blender:ShiftExtrude into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 3f4d08e2f8 - Show all commits

View File

@ -394,7 +394,7 @@ void ED_operatormacros_mesh()
RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false);
RNA_boolean_set(otmacro->ptr, "mirror", false);
ot = WM_operatortype_append_macro("MESH_OT_context_split_rotate",
ot = WM_operatortype_append_macro("MESH_OT_context_split_rotate",
"Split Region and Rotate",
nullptr,
OPTYPE_UNDO | OPTYPE_REGISTER);
@ -412,7 +412,7 @@ void ED_operatormacros_mesh()
RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false);
RNA_boolean_set(otmacro->ptr, "mirror", false);
ot = WM_operatortype_append_macro("MESH_OT_context_split_scale",
ot = WM_operatortype_append_macro("MESH_OT_context_split_scale",
"Split Region and Scale",
nullptr,
OPTYPE_UNDO | OPTYPE_REGISTER);

View File

@ -1808,7 +1808,7 @@ static void gizmogroup_init_properties_from_twtype(const bContext *C, wmGizmoGro
case CTX_MODE_EDIT_MESH:
ot_store.extra_translate = WM_operatortype_find("MESH_OT_extrude_context_move",
true);
ot_store.extra_translate2 = WM_operatortype_find("MESH_OT_split",
ot_store.extra_translate2 = WM_operatortype_find("MESH_OT_split_move",
true);
break;
}
@ -1901,7 +1901,7 @@ static void gizmogroup_init_properties_from_twtype(const bContext *C, wmGizmoGro
break;
case CTX_MODE_EDIT_MESH:
ot_store.extra_resize = WM_operatortype_find("MESH_OT_extrude_context_resize", true);
ot_store.extra_resize2 = WM_operatortype_find("MESH_OT_split_context_scale", true);
ot_store.extra_resize2 = WM_operatortype_find("MESH_OT_context_split_scale", true);
break;
}
}