Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-11-03 19:12:21 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-11-03 19:22:03 +0300
commit756708627613f5bdc54ec366557c40d90f2abf9d (patch)
tree1976400cbf3b6ff99ac9701c2a6437cc2f579ba1 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parented4540b799495c1ead7e491696a104baa4a8d1c0 (diff)
GPencil: Add Recalculate Geometry operator to Cleanup menu
This operators was only accesible using the search menu.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py4
1 files changed, 4 insertions, 0 deletions
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):