[Bf-committers] access selection order via Python (Ton Roosendaal)

Fazekas László mneko at freemail.hu
Thu Feb 26 22:17:53 CET 2015

Just an idea: perhaps you can get this selection order information if 
you analyze the contents of the undo buffer.


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 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 many purposes
> to retrieve the selection order for an operation (e.g. hierarchical
> parenting, drawing a curve through all objects).
> The responses to my request here
> http://blenderartists.org/forum/showthread.php?363745-How-to-get-selection-order
> and in particular this hack to make selection order available
> http://blenderartists.org/forum/showthread.php?241524-respect-selection-order
> demonstrates a generic interest in this feature.
> Is it technically very difficult to implement it, so that it is
> available via bpy.context.selected_objects? When someone here could
> point me to the corresponding c-files, I would give it a try and check
> it out for my own. Unfortunately, I haven't any experience with Blender
> development right now.
> Best,
> Martin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list