[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31430] trunk/blender/source/blender/ editors/space_outliner/outliner.c: Fix for [#23352] Update Problem in Texture tab

Dalai Felinto dfelinto at gmail.com
Tue Aug 17 23:35:18 CEST 2010


Revision: 31430
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31430
Author:   dfelinto
Date:     2010-08-17 23:35:18 +0200 (Tue, 17 Aug 2010)

Log Message:
-----------
Fix for [#23352] Update Problem in Texture tab
I added a notifier to update the texture panel whenever you change the active texture. This part of the code seems wip, but the notifier should be there if I'm not mistaken.

The other way around has still bugs (e.g. when you add a new texture Outliner doesn't update automatically). To be tackled later

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_outliner/outliner.c

Modified: trunk/blender/source/blender/editors/space_outliner/outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner.c	2010-08-17 21:10:10 UTC (rev 31429)
+++ trunk/blender/source/blender/editors/space_outliner/outliner.c	2010-08-17 21:35:18 UTC (rev 31430)
@@ -2021,6 +2021,7 @@
 		}
 	}
 	
+	WM_event_add_notifier(C, NC_TEXTURE, NULL);
 	return 0;
 }
 





More information about the Bf-blender-cvs mailing list