Made playback operators use exec() callback instead of invoke(), so that these can...
authorJoshua Leung <aligorith@gmail.com>
Tue, 20 Apr 2010 02:39:07 +0000 (02:39 +0000)
committerJoshua Leung <aligorith@gmail.com>
Tue, 20 Apr 2010 02:39:07 +0000 (02:39 +0000)
commitb52eddd95a5dd68a98520be0de211e08d991e868
tree96ae330ef8c7eca69d5bc93deaa298034bb51373
parent45abe2baf2a730458751bd50f4bf10f9f36b2977
Made playback operators use exec() callback instead of invoke(), so that these can be used for Python scripts.

Note that this is not the patch by dfelinto on the mailing list, since that fix would cause compiler warnings. Also, the invoke() (with the extra wmEvent* arg) is superfluous here, so there shouldn't be any problems with making this exec() only instead.
source/blender/editors/screen/screen_ops.c