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
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-10 14:52:29 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-10 14:52:29 +0300
commit748d9eca90915195f3aadec59627015d6344bc18 (patch)
tree77339dac42d8479036faff4ab3804bcf7b61f29f /source/blender/editors/space_node/node_draw.c
parent60927ae2e0f394a0efa9d2061caa624a6690ab13 (diff)
Separate widget drawing to update and draw phase to make in-scene widget
drawing possible (need to update once, draw twice).
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r--source/blender/editors/space_node/node_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index 6298ac28c7a..b2020daef4d 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -1354,6 +1354,7 @@ void drawnodespace(const bContext *C, ARegion *ar)
glaDefine2DArea(&ar->winrct);
wmOrtho2_pixelspace(ar->winx, ar->winy);
+ WM_widgets_update(C, ar->widgetmaps.first);
WM_widgets_draw(C, ar->widgetmaps.first, false);
glMatrixMode(GL_PROJECTION);