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:
authorTon Roosendaal <ton@blender.org>2006-02-04 16:28:50 +0300
committerTon Roosendaal <ton@blender.org>2006-02-04 16:28:50 +0300
commit1db5c237165ac090af925d9cf8440fc953e4ee06 (patch)
tree4d53c244f9140f9aa4666328b8dd7f57619664c2 /source/blender/src/interface.c
parente46b74d18e39a17e0956b4251b9d0e96807520bb (diff)
More work on render stuff!
- Scene support in RenderLayers You now can indicate in Compositor to use RenderLayer(s) from other scenes. Use the new dropdown menu in the "Render Result" node. It will change the title of the node to indicate that. The other Scenes are rendered fully separate, creating own databases (and octrees) after the current scene was finished. They use their own render settings, with as exception the render output size (and optional border). This makes the option an interesting memory saver and speedup. Also note that the render-results of other scenes are kept in memory while you work. So, after a render, you can tweak all composit effects. - Render Stats Added an 'info string' to stats, printed in renderwindow header. It gives info now on steps "creating database", "shadow buffers", and "octree". - Bug fixes Added redraw event for Image window, when using compositor render. Text objects were not rendered using background render (probably a bug since depsgraph was added) Dropdown buttons in Node editor were not refreshed after usage Sometimes render window did not open, this due to wrong check for 'esc'. Removed option that renders view-layers on F12, with mouse in 3d window. Not only was it confusing, it's now more efficient with the Preview Panel, which does this nicely.
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index 3d534744ed3..24995f22422 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -1263,9 +1263,12 @@ static int ui_do_but_MENU(uiBut *but)
ui_check_but(but);
/* no draw of button now, for floating panels the matrix now is invalid...
the button still is active, and will be redrawn in main loop to de-activate it */
+ /* but, if no hilites, we send redraw to queue */
+ if(but->flag & UI_NO_HILITE)
+ addqueue(but->block->winq, REDRAW, 1);
uibut_do_func(but);
-
+
/* return no existing event, because the menu sends events instead */
return -1;
}