[Bf-blender-cvs] [5636c5e4865] greasepencil-object: UI: Enable set origin for GPENCIL type
Antonio Vazquez
noreply at git.blender.org
Sat Jul 8 19:24:52 CEST 2017
Commit: 5636c5e486585760a8f2789f25e5a2649cd80411
Author: Antonio Vazquez
Date: Sat Jul 8 19:24:41 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB5636c5e486585760a8f2789f25e5a2649cd80411
UI: Enable set origin for GPENCIL type
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index e17d629639c..f59a36ab3e6 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -109,7 +109,7 @@ class VIEW3D_PT_tools_object(View3DPanel, Panel):
col = layout.column(align=True)
col.operator("object.join")
- if obj_type in {'MESH', 'CURVE', 'SURFACE', 'ARMATURE', 'FONT', 'LATTICE'}:
+ if obj_type in {'MESH', 'CURVE', 'SURFACE', 'ARMATURE', 'FONT', 'LATTICE', 'GPENCIL'}:
col = layout.column(align=True)
col.operator_menu_enum("object.origin_set", "type", text="Set Origin")
More information about the Bf-blender-cvs
mailing list