Blender Git Commit Log

Git Commits -> Revision 66698e9

Revision 66698e9 by Ton Roosendaal (master)
February 18, 2009, 18:08 (GMT)
2.5

Cleanup of saving code for Image window.

Little extra: added poll() check for buttons, greying out inactive
menu items or buttons. You can see it work in Image menu.
(Item 'save image' is grey when it wasn't saved, then you have to
use the 'save as' item).

Carefully designing poll checks is worth a trial once. :)
Do note that cpu time for polls should be totally minimal.


Commit Details:

Full Hash: 66698e9d71c3ff900ff45a01051899f22399950f
SVN Revision: 19034
Parent Commit: 1a9e68b
Lines Changed: +122, -99

4 Modified Paths:

/source/blender/blenkernel/intern/image.c (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+12, -2) (Diff)
/source/blender/editors/space_image/image_ops.c (+105, -92) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021