[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58128] trunk/blender/source/blender/ makesrna/intern/rna_mesh.c: Fix missing cycles viewport update when changing manual texture space

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Jul 10 00:27:18 CEST 2013


Revision: 58128
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58128
Author:   blendix
Date:     2013-07-09 22:27:18 +0000 (Tue, 09 Jul 2013)
Log Message:
-----------
Fix missing cycles viewport update when changing manual texture space
location or size in the properties editor.

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	2013-07-09 20:50:15 UTC (rev 58127)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2013-07-09 22:27:18 UTC (rev 58128)
@@ -2374,14 +2374,14 @@
 	RNA_def_property_ui_text(prop, "Texture Space Location", "Texture space location");
 	RNA_def_property_float_funcs(prop, "rna_Mesh_texspace_loc_get", NULL, NULL);
 	RNA_def_property_editable_func(prop, texspace_editable);
-	RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
+	RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
 	prop = RNA_def_property(srna, "texspace_size", PROP_FLOAT, PROP_XYZ);
 	RNA_def_property_float_sdna(prop, NULL, "size");
 	RNA_def_property_ui_text(prop, "Texture Space Size", "Texture space size");
 	RNA_def_property_float_funcs(prop, "rna_Mesh_texspace_size_get", NULL, NULL);
 	RNA_def_property_editable_func(prop, texspace_editable);
-	RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
+	RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
 	/* not supported yet */
 #if 0
@@ -2389,7 +2389,7 @@
 	RNA_def_property_float(prop, NULL, "rot");
 	RNA_def_property_ui_text(prop, "Texture Space Rotation", "Texture space rotation");
 	RNA_def_property_editable_func(prop, texspace_editable);
-	RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
+	RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 #endif
 
 	/* materials */




More information about the Bf-blender-cvs mailing list