[Bf-blender-cvs] [a2bfd28d5e2] blender-v2.81-release: Fix T71150: GPencil: Wrong Naming of Convert GP object to Meshes

Antonio Vazquez noreply at git.blender.org
Mon Oct 28 11:04:25 CET 2019


Commit: a2bfd28d5e2d65892369568ffe2b896cd62d5086
Author: Antonio Vazquez
Date:   Mon Oct 28 11:03:53 2019 +0100
Branches: blender-v2.81-release
https://developer.blender.org/rBa2bfd28d5e2d65892369568ffe2b896cd62d5086

Fix T71150: GPencil: Wrong Naming of Convert GP object to Meshes

The problem was the real menu text must be: `Convert to Polygon Curve` as is Object menu.

A GPencil object cannot be converted to mesh in one step. The conversion must be GPencil to Curve and Curve to Mesh.

===================================================================

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 b65bdc19a14..467fa96efc4 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2355,8 +2355,8 @@ class VIEW3D_MT_object_context_menu(Menu):
 
         elif obj.type == 'GPENCIL':
             layout.operator("gpencil.convert", text="Convert to Path").type = 'PATH'
-            layout.operator("gpencil.convert", text="Convert to Bezier Curves").type = 'CURVE'
-            layout.operator("gpencil.convert", text="Convert to Mesh").type = 'POLY'
+            layout.operator("gpencil.convert", text="Convert to Bezier Curve").type = 'CURVE'
+            layout.operator("gpencil.convert", text="Convert to Polygon Curve").type = 'POLY'
 
             layout.operator_menu_enum("object.origin_set", text="Set Origin", property="type")



More information about the Bf-blender-cvs mailing list