[Bf-blender-cvs] [a65b068f6eb] master: UI: Add missing All Transform to Object > Apply menu
William Reynish
noreply at git.blender.org
Mon Mar 11 16:12:30 CET 2019
Commit: a65b068f6eb31b7ca251075a8362b2098fecafd4
Author: William Reynish
Date: Mon Mar 11 16:12:29 2019 +0100
Branches: master
https://developer.blender.org/rBa65b068f6eb31b7ca251075a8362b2098fecafd4
UI: Add missing All Transform to Object > Apply menu
Reported on Devtalk
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 472066702a4..3b62ed1dbc3 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1979,6 +1979,10 @@ class VIEW3D_MT_object_apply(Menu):
props = layout.operator("object.transform_apply", text="Scale", text_ctxt=i18n_contexts.default)
props.location, props.rotation, props.scale = False, False, True
+
+ props = layout.operator("object.transform_apply", text="All Transforms", text_ctxt=i18n_contexts.default)
+ props.location, props.rotation, props.scale = True, True, True
+
props = layout.operator("object.transform_apply", text="Rotation & Scale", text_ctxt=i18n_contexts.default)
props.location, props.rotation, props.scale = False, True, True
More information about the Bf-blender-cvs
mailing list