feat: multiple right strategy handling

This commit is contained in:
Swann
2019-09-24 18:37:36 +02:00
parent 1e371a2e60
commit 41f3e047cf
5 changed files with 27 additions and 17 deletions

View File

@ -87,7 +87,7 @@ class DynamicRightSelectTimer(Timer):
if current_selection != self.last_selection:
user_ref.pointer.update_selected_objects(bpy.context)
if settings.use_select_right:
if operators.client.get_config()['right_strategy'] == 'COMMON':
obj_common = [o for o in self.last_selection if o not in current_selection]
obj_ours = [o for o in current_selection if o not in self.last_selection]