Blender Git Commit Log

Git Commits -> Revision c0ca93c

Revision c0ca93c by Campbell Barton (master)
September 2, 2013, 19:28 (GMT)
Add poll message when poll fails because of window missing from the context.
This means calling invoke operators from python in states that dont support will give a meaningful error message.

also reduce context lookups when polling.

Commit Details:

Full Hash: c0ca93c9b26cf3f248ba11d86ef47e9e0ca5e84d
SVN Revision: 59751
Parent Commit: 37bad42
Lines Changed: +19, -9

2 Modified Paths:

/source/blender/python/intern/bpy_interface.c (+6, -2) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+13, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021