diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-25 14:44:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-25 14:44:30 +0400 |
commit | 37f59451889d64e588ace4f16f7eebd085d8147a (patch) | |
tree | 6ae91a0e777b02286a0e59e9405a0aac068c76b1 /source/blender/editors/space_view3d/space_view3d.c | |
parent | 02bcfa19509c900d40e9ee3edada8cf068ea32a2 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index b3d58bfa1b1..fef534fa5f2 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -805,7 +805,9 @@ static void view3d_main_area_listener(bScreen *sc, ScrArea *sa, ARegion *ar, wmN case ND_NODES: if ((v3d->drawtype == OB_MATERIAL) || (v3d->drawtype == OB_TEXTURE && scene->gm.matmode == GAME_MAT_GLSL)) + { ED_region_tag_redraw(ar); + } break; case ND_SHADING_DRAW: case ND_SHADING_LINKS: @@ -832,7 +834,9 @@ static void view3d_main_area_listener(bScreen *sc, ScrArea *sa, ARegion *ar, wmN case ND_LIGHTING_DRAW: if ((v3d->drawtype == OB_MATERIAL) || (v3d->drawtype == OB_TEXTURE && (scene->gm.matmode == GAME_MAT_GLSL))) + { ED_region_tag_redraw(ar); + } break; } break; |