[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35062] trunk/blender/source/blender/ makesrna/intern/rna_space.c: Fix for [#26163] New Texture selectors don' t update Texture preview

Janne Karhu jhkarh at gmail.com
Tue Feb 22 11:27:32 CET 2011


Revision: 35062
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35062
Author:   jhk
Date:     2011-02-22 10:27:32 +0000 (Tue, 22 Feb 2011)
Log Message:
-----------
Fix for [#26163] New Texture selectors don't update Texture preview
* Send texture notifier instead of generic property space notifier when texture context is changed.

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_space.c	2011-02-22 09:34:43 UTC (rev 35061)
+++ trunk/blender/source/blender/makesrna/intern/rna_space.c	2011-02-22 10:27:32 UTC (rev 35062)
@@ -1403,7 +1403,7 @@
 	RNA_def_property_enum_items(prop, buttons_texture_context_items);
 	RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_SpaceProperties_texture_context_itemf");
 	RNA_def_property_ui_text(prop, "Texture Context", "Type of texture data to display and edit");
-	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_PROPERTIES, NULL);
+	RNA_def_property_update(prop, NC_TEXTURE, NULL);
 
 	/* pinned data */
 	prop= RNA_def_property(srna, "pin_id", PROP_POINTER, PROP_NONE);




More information about the Bf-blender-cvs mailing list