Blender Git Commit Log

Git Commits -> Revision 8342a12

Revision 8342a12 by Jeroen Bakker (master)
May 9, 2019, 11:27 (GMT)
DepsGraph: Multi ViewLayer Selection

When using multiple viewlayers and switching between them the selection
gets buggy. The reason for this is that the select_id is updated based
on the index in the viewlayer. This makes the select_id not unique as
objects might be shared or not shared at all.

This fix will update the select_id on all objects in main. This will be triggered in all the selection operators.

Reviewed By: sergey, brecht

Maniphest Tasks: T55617

Differential Revision: https://developer.blender.org/D4824

Commit Details:

Full Hash: 8342a124c462104c12a98cca0b16e69920316346
Parent Commit: f877022
Lines Changed: +55, -26

12 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+11, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+0, -1) (Diff)
/source/blender/draw/intern/draw_armature.c (+7, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+4, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -3) (Diff)
/source/blender/editors/armature/armature_select.c (+5, -3) (Diff)
/source/blender/editors/metaball/mball_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+15, -9) (Diff)
/source/blender/makesdna/DNA_object_types.h (+5, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021