Blender Git Commit Log
Git Commits -> Revision 625f477
Revision 625f477 by Campbell Barton (master) December 28, 2008, 08:41 (GMT) |
PyOperator invoke function now receives the wmEvent and default properties as 2 python dictionary args. the Python invoke function can then edit the properties based on the event, once its finished the properties are copied back to the operator. python exec and invoke functions can now return RUNNING_MODAL, CANCELLED, FINISHED, PASS_THROUGH flags Still need to look into how python operators can make use of invoke/exec for a practical case. (Need to bring back the popup menu's) |
Commit Details:
Full Hash: 625f47755458a1b4b3ad9743aa14ae24700e00b6
SVN Revision: 18112
Parent Commit: 61b3c4f
Lines Changed: +383, -83
2 Added Paths:
/source/blender/python/intern/bpy_util.c (+121, -0) (View)
/source/blender/python/intern/bpy_util.h (+38, -0) (View)
/source/blender/python/intern/bpy_util.h (+38, -0) (View)