bpy.context.selected_objects does not return a list in selection order #21703

Closed
opened 2010-03-22 02:59:27 +01:00 by Charles Wardlaw · 3 comments

%%%Hi,

bpy.context.selected_objects does not return an array of objects in the order in which they were selected. In fact, the order of this list seems completely random.

Please don't write back that this is not a bug, but a feature request. :)

%%%

%%%Hi, bpy.context.selected_objects does not return an array of objects in the order in which they were selected. In fact, the order of this list seems completely random. Please don't write back that this is not a bug, but a feature request. :) %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%this is not a bug, but a feature request :)

Blender doesn't actually keep track of selection order internally. It's just objects with selection flags. The order of the list is probably just the order of objects in the global scene objects list.

It was never actually advertised or even intended that selection order would be returned, so I'm closing this one.%%%

%%%this is not a bug, but a feature request :) Blender doesn't actually keep track of selection order internally. It's just objects with selection flags. The order of the list is probably just the order of objects in the global scene objects list. It was never actually advertised or even intended that selection order would be returned, so I'm closing this one.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#21703
No description provided.