[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45881] trunk/blender/source/blender/ makesrna/intern/rna_mesh.c: py/rna api: remove selection and pin variable for texture faces - this is now stored in the loops .

Campbell Barton ideasman42 at gmail.com
Mon Apr 23 13:36:40 CEST 2012


Revision: 45881
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45881
Author:   campbellbarton
Date:     2012-04-23 11:36:40 +0000 (Mon, 23 Apr 2012)
Log Message:
-----------
py/rna api: remove selection and pin variable for texture faces - this is now stored in the loops.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_mesh.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-04-23 11:19:39 UTC (rev 45880)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-04-23 11:36:40 UTC (rev 45881)
@@ -1692,6 +1692,8 @@
 	RNA_def_property_ui_text(prop, "Image", "");
 	RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
+	/* these are for editing only, access at loops now */
+#if 0
 	prop = RNA_def_property(srna, "select_uv", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", TF_SEL1);
 	RNA_def_property_array(prop, 4);
@@ -1703,6 +1705,7 @@
 	RNA_def_property_array(prop, 4);
 	RNA_def_property_ui_text(prop, "UV Pinned", "");
 	RNA_def_property_update(prop, 0, "rna_Mesh_update_select");
+#endif
 
 	prop = RNA_def_property(srna, "uv1", PROP_FLOAT, PROP_XYZ);
 	RNA_def_property_array(prop, 2);
@@ -1801,13 +1804,13 @@
 	RNA_def_property_ui_text(prop, "Image", "");
 	RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
+#if 0 /* moved to MeshUVLoopLayer */
 	prop = RNA_def_property(srna, "select_uv", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", TF_SEL1);
 	RNA_def_property_array(prop, 4);
 	RNA_def_property_ui_text(prop, "UV Selected", "");
 	RNA_def_property_update(prop, 0, "rna_Mesh_update_select");
 
-#if 0 /* moved to MeshUVLoopLayer */
 	prop = RNA_def_property(srna, "pin_uv", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "unwrap", TF_PIN1);
 	RNA_def_property_array(prop, 4);




More information about the Bf-blender-cvs mailing list