forked from bartvdbraak/blender
64ff9d6de4
WM_operator_poll() could fail in cases WM_operator_name_call() would succeed because calling the operator would setup the context before calling poll. this would result in python raising an invalid error or menu items being greyed out. now python can also check with an operator context: bpy.ops.object.editmode_toggle.poll('INVOKE_SCREEN') |
||
---|---|---|
.. | ||
__init__.py | ||
ops.py | ||
path.py | ||
utils.py |