Blender Git Commit Log

Git Commits -> Revision da3802f

Revision da3802f by Joshua Leung (master)
March 2, 2010, 11:48 (GMT)
Info Header: Non-blocking Info Messages

Reports (i.e. 'info' or 'errors') are now shown in the info header in place of the scene statistics if the last executed operator had some, with this info disappearing again once another operator is run (to show scene statistics again).

For example, this means that info such as the the number of verts merged, or whether a Keying Set successfully inserted keyframes, etc. is now shown again somewhere, and that this is done in a non-blocking manner.

The current implementation is still a bit crude (i.e. lacking fancy polish), but is at least barebones functional. The todos...
* When more than 1 report message is generated by the last operator, there is currently a display of the number of reports. In future, it would be nice to be able to add a button beside this or make the label clickable with appropriate text indicating this (commented out atm) to show popup menu of all the reports...

* There could probably be some kind of coloured backdrop behind the text. Currently using standard box, but that has padding problems, and lacks visual interest.
* Timer based fade out/disappear?

Commit Details:

Full Hash: da3802f5590a14c703b100a480928eea8722746b
SVN Revision: 27217
Parent Commit: 46d50b0
Lines Changed: +72, -6

6 Modified Paths:

/release/scripts/ui/space_info.py (+12, -4) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+41, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021