Viewport: Fix viewport updates being applied to shaded windows
This commit is contained in:
@@ -1559,7 +1559,7 @@ void DrawDirtyBlocks()
|
||||
w->flags &= ~WF_WIDGETS_DIRTY;
|
||||
}
|
||||
|
||||
if (w->viewport != nullptr) {
|
||||
if (w->viewport != nullptr && !w->IsShaded()) {
|
||||
ViewPort *vp = w->viewport;
|
||||
if (vp->is_drawn) {
|
||||
vp->ClearDirty();
|
||||
|
Reference in New Issue
Block a user