Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-11 08:23:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-11 08:23:56 +0300
commitbfe5a6ed8ffb4502aafe20bbb0815b0b4a58d504 (patch)
treef1e1372bf31b223cabdd90012d5e065458f5d417 /source
parentffb4cf6b322ed66871e3e88b17075ae0f3ffbf69 (diff)
fix [#26448] Solidify Modifier makes mesh texture missing in OpenGL render
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 85d399519ad..e7bbdf07407 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -183,6 +183,7 @@ void wm_event_do_notifiers(bContext *C)
wmWindowManager *wm= CTX_wm_manager(C);
wmNotifier *note, *next;
wmWindow *win;
+ unsigned int win_combine_v3d_datamask= 0;
if(wm==NULL)
return;
@@ -288,6 +289,11 @@ void wm_event_do_notifiers(bContext *C)
MEM_freeN(note);
}
+ /* combine datamasks so 1 win doesn't disable UV's in another [#26448] */
+ for(win= wm->windows.first; win; win= win->next) {
+ win_combine_v3d_datamask |= ED_viewedit_datamask(win->screen);
+ }
+
/* cached: editor refresh callbacks now, they get context */
for(win= wm->windows.first; win; win= win->next) {
ScrArea *sa;
@@ -305,7 +311,7 @@ void wm_event_do_notifiers(bContext *C)
/* depsgraph & animation: update tagged datablocks */
/* copied to set's in scene_update_tagged_recursive() */
- win->screen->scene->customdata_mask= ED_viewedit_datamask(win->screen);
+ win->screen->scene->customdata_mask= win_combine_v3d_datamask;
scene_update_tagged(CTX_data_main(C), win->screen->scene);
}