Refactor: Use object select API - ED_object_base_select
We had a mix of BKE_view_layer_base_select (harmless), and places where we simply set the BASE_SELECTED flag with no regard to its selectable state.
This commit is contained in:
@@ -6479,7 +6479,7 @@ static void clear_trans_object_base_flags(TransInfo *t)
|
||||
|
||||
for (base = view_layer->object_bases.first; base; base = base->next) {
|
||||
if (base->flag_legacy & BA_WAS_SEL) {
|
||||
base->flag |= BASE_SELECTED;
|
||||
ED_object_base_select(base, BA_SELECT);
|
||||
}
|
||||
|
||||
base->flag_legacy &= ~(BA_WAS_SEL | BA_SNAP_FIX_DEPS_FIASCO | BA_TEMP_TAG |
|
||||
|
||||
Reference in New Issue
Block a user