[Bf-blender-cvs] [7393ca434dd] greasepencil-object: GPencil: Set gpencil_lines parameter to False by default

Antonioya noreply at git.blender.org
Sun Jul 14 17:23:36 CEST 2019


Commit: 7393ca434dd5ba90e7f38262abf4c1f7cc5ef010
Author: Antonioya
Date:   Sun Jul 14 17:23:27 2019 +0200
Branches: greasepencil-object
https://developer.blender.org/rB7393ca434dd5ba90e7f38262abf4c1f7cc5ef010

GPencil: Set gpencil_lines parameter to False by default

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

M	source/blender/editors/object/object_add.c

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

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 077c56adafb..fae53bf7182 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2538,11 +2538,8 @@ void OBJECT_OT_convert(wmOperatorType *ot)
                   0,
                   "Keep Original",
                   "Keep original objects instead of replacing them");
-  RNA_def_boolean(ot->srna,
-                  "gpencil_lines",
-                  1,
-                  "GPencil Lines",
-                  "Use lines for grease pencil conversion");
+  RNA_def_boolean(
+      ot->srna, "gpencil_lines", 0, "GPencil Lines", "Use lines for grease pencil conversion");
   RNA_def_boolean(ot->srna,
                   "use_collections",
                   1,



More information about the Bf-blender-cvs mailing list