[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43149] branches/soc-2011-onion-uv-tools/ source/blender/makesrna/intern/rna_userdef.c: rna property for active island colour

Antony Riakiotakis kalast at gmail.com
Thu Jan 5 02:03:35 CET 2012


Revision: 43149
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43149
Author:   psy-fi
Date:     2012-01-05 01:03:24 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
rna property for active island colour

Modified Paths:
--------------
    branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_userdef.c

Modified: branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_userdef.c	2012-01-05 00:47:29 UTC (rev 43148)
+++ branches/soc-2011-onion-uv-tools/source/blender/makesrna/intern/rna_userdef.c	2012-01-05 01:03:24 UTC (rev 43149)
@@ -1541,6 +1541,12 @@
 	RNA_def_property_array(prop, 4);
 	RNA_def_property_ui_text(prop, "Stitch preview unstitchable color", "");
 	RNA_def_property_update(prop, 0, "rna_userdef_update");
+
+	prop= RNA_def_property(srna, "preview_stitch_active", PROP_FLOAT, PROP_COLOR_GAMMA);
+	RNA_def_property_float_sdna(prop, NULL, "preview_stitch_active");
+	RNA_def_property_array(prop, 4);
+	RNA_def_property_ui_text(prop, "Stitch preview active island", "");
+	RNA_def_property_update(prop, 0, "rna_userdef_update");
 }
 
 static void rna_def_userdef_theme_space_seq(BlenderRNA *brna)




More information about the Bf-blender-cvs mailing list