You can do this by creating a modal operator / scene update handler which
checks the currently selected object. Whether you *should* do this, remains
to be seen.
___
Bf-committers mailing list
Bf-committers@blender.org
Sounds good as a first start. How can I read the undo buffer via Python?
I just found bpy.ops.ed.undo_history(), but this command doesn't allow
me to see the command list like in the UI!?
Thx for the suggestion,
Martin
On 02/27/2015 12:00 PM, bf-committers-requ...@blender.org wrote:
Just an
Hey all,
I just want to share how I solved this problem for the Animation Nodes
addon. I use the scene_update_post event and check if the selection
changed here:
https://github.com/JacquesLucke/animation-nodes/blob/master/utils/mn_selection_utils.py
[2]
I know that this solution isn't optimal
Dear Ton,
thx for the response.
That info is not used by tools in Blender nor is it foreseen to be coded. I
also think it's bad practices for tools to require that (especially when it's
not visualized and not generic applicable).
I respectfully disagree with that. It could be useful for
Just an idea: perhaps you can get this selection order information if
you analyze the contents of the undo buffer.
Bests,
Fazek
2015-02-26 20:34 keltezéssel, Martin Pyka írta:
Dear Ton,
thx for the response.
That info is not used by tools in Blender nor is it foreseen to be coded. I
also