[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34544] trunk/blender/source/blender/ makesrna/intern/rna_texture.c: Small feature request: using texture buttons (mapping) now updates

Ton Roosendaal ton at blender.org
Fri Jan 28 15:51:04 CET 2011


Revision: 34544
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34544
Author:   ton
Date:     2011-01-28 14:51:03 +0000 (Fri, 28 Jan 2011)
Log Message:
-----------
Small feature request: using texture buttons (mapping) now updates
GLSL view of texture as well.

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_texture.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_texture.c	2011-01-28 13:14:01 UTC (rev 34543)
+++ trunk/blender/source/blender/makesrna/intern/rna_texture.c	2011-01-28 14:51:03 UTC (rev 34544)
@@ -174,6 +174,7 @@
 	switch(GS(id->name)) {
 		case ID_MA: 
 			WM_main_add_notifier(NC_MATERIAL|ND_SHADING, id);
+			WM_main_add_notifier(NC_MATERIAL|ND_SHADING_DRAW, id);
 			break;
 		case ID_WO: 
 			WM_main_add_notifier(NC_WORLD, id);




More information about the Bf-blender-cvs mailing list