Blender Git Loki

Git Commits -> Revision 791be2f

Revision 791be2f by Sergey Sharybin (master)
July 12, 2013, 08:31 (GMT)
Expose node.select exec callback to an operator

Internally it was only invoke callback set for an
operator template. This invoke was setting such
properties as mouse_x and mouse_y and was calling
an exec function.

This meant that t seemed to be really easy to
use node.select operator from by giving a mouse
positions, but in fact it wasn't possible (because
it requires exec callback)

This commit sets operator's template exec callback,
which makes it possible using node.select from
python.

Commit Details:

Full Hash: 791be2f79ffcddca1bc8862b03ca8a439f9c3245
SVN Revision: 58191
Parent Commit: 48247cd
Lines Changed: +1, -0

1 Modified Path:

/source/blender/editors/space_node/node_select.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021