[Bf-blender-cvs] [9e448b035b4] greasepencil-refactor: GPencil: Remove UV from RNA

Antonio Vazquez noreply at git.blender.org
Tue Dec 10 19:10:03 CET 2019


Commit: 9e448b035b48e008676ee6a14e13ca563aaae92e
Author: Antonio Vazquez
Date:   Tue Dec 10 19:09:45 2019 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB9e448b035b48e008676ee6a14e13ca563aaae92e

GPencil: Remove UV from RNA

These were only for debug and now are not required

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

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

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

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 125f0546adf..8545e1e5c71 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -972,27 +972,6 @@ static void rna_def_gpencil_triangle(BlenderRNA *brna)
   RNA_def_property_int_sdna(prop, NULL, "verts[2]");
   RNA_def_property_ui_text(prop, "v3", "Third triangle vertex index");
   RNA_def_property_clear_flag(prop, PROP_EDITABLE);
-
-  /* texture coord for point v1 */
-  prop = RNA_def_property(srna, "uv1", PROP_FLOAT, PROP_COORDS);
-  RNA_def_property_float_sdna(prop, NULL, "uv[0]");
-  RNA_def_property_array(prop, 2);
-  RNA_def_property_ui_text(prop, "uv1", "First triangle vertex texture coordinates");
-  RNA_def_property_clear_flag(prop, PROP_EDITABLE);
-
-  /* texture coord for point v2 */
-  prop = RNA_def_property(srna, "uv2", PROP_FLOAT, PROP_COORDS);
-  RNA_def_property_float_sdna(prop, NULL, "uv[1]");
-  RNA_def_property_array(prop, 2);
-  RNA_def_property_ui_text(prop, "uv2", "Second triangle vertex texture coordinates");
-  RNA_def_property_clear_flag(prop, PROP_EDITABLE);
-
-  /* texture coord for point v3 */
-  prop = RNA_def_property(srna, "uv3", PROP_FLOAT, PROP_COORDS);
-  RNA_def_property_float_sdna(prop, NULL, "uv[2]");
-  RNA_def_property_array(prop, 2);
-  RNA_def_property_ui_text(prop, "uv3", "Third triangle vertex texture coordinates");
-  RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 }
 
 static void rna_def_gpencil_mvert_group(BlenderRNA *brna)



More information about the Bf-blender-cvs mailing list