[Bf-blender-cvs] [75670862761] master: GPencil: Add Recalculate Geometry operator to Cleanup menu
Antonio Vazquez
noreply at git.blender.org
Tue Nov 3 17:22:09 CET 2020
Commit: 756708627613f5bdc54ec366557c40d90f2abf9d
Author: Antonio Vazquez
Date: Tue Nov 3 17:12:21 2020 +0100
Branches: master
https://developer.blender.org/rB756708627613f5bdc54ec366557c40d90f2abf9d
GPencil: Add Recalculate Geometry operator to Cleanup menu
This operators was only accesible using the search menu.
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index d9dbb60b3b6..efc62b6ff4c 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -420,6 +420,10 @@ class GPENCIL_MT_cleanup(Menu):
layout.operator("gpencil.reproject")
+ layout.separator()
+
+ layout.operator("gpencil.recalc_geometry", text="Recalculate Geometry")
+
class GPENCIL_UL_annotation_layer(UIList):
def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index):
More information about the Bf-blender-cvs
mailing list