[Bf-blender-cvs] [4de7dc42c9b] master: UI: Correct icon and description for "Object Line Art"

Hans Goudey noreply at git.blender.org
Wed Mar 17 13:52:03 CET 2021


Commit: 4de7dc42c9b49e72ecafb1c9fa07aa0fbaea7e7a
Author: Hans Goudey
Date:   Wed Mar 17 08:51:59 2021 -0400
Branches: master
https://developer.blender.org/rB4de7dc42c9b49e72ecafb1c9fa07aa0fbaea7e7a

UI: Correct icon and description for "Object Line Art"

The icon should be the same as other object icons rather than "Cube",
and the description was just the collection description copy and pasted.

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

M	source/blender/makesrna/intern/rna_object.c

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

diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 8c12ccceb5d..621245f2a68 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -172,9 +172,9 @@ const EnumPropertyItem rna_enum_object_gpencil_type_items[] = {
      "Quickly set up Line Art for active collection"},
     {GP_LRT_OBJECT,
      "LRT_OBJECT",
-     ICON_CUBE,
+     ICON_OBJECT_DATA,
      "Object Line Art",
-     "Quickly set up Line Art for active collection"},
+     "Quickly set up Line Art for the active object"},
     {0, NULL, 0, NULL, NULL}};
 
 static const EnumPropertyItem parent_type_items[] = {



More information about the Bf-blender-cvs mailing list