From 1a82ec72e45506961bfebe494e0c98e7457ee461 Mon Sep 17 00:00:00 2001 From: Swann Date: Wed, 21 Oct 2020 14:40:15 +0200 Subject: [PATCH] fix: change owner call in opterator --- multi_user/__init__.py | 2 +- multi_user/operators.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multi_user/__init__.py b/multi_user/__init__.py index 446d4db..6a9309a 100644 --- a/multi_user/__init__.py +++ b/multi_user/__init__.py @@ -44,7 +44,7 @@ from . import environment DEPENDENCIES = { - ("replication", '0.1.5'), + ("replication", '0.1.6'), } diff --git a/multi_user/operators.py b/multi_user/operators.py index 8bb47c7..02fb98e 100644 --- a/multi_user/operators.py +++ b/multi_user/operators.py @@ -425,10 +425,10 @@ class SessionPropertyRightOperator(bpy.types.Operator): runtime_settings = context.window_manager.session if session: - session.affect_dependencies(self.key, - runtime_settings.clients, - ignore_warnings=True, - affect_dependencies=self.recursive) + session.change_owner(self.key, + runtime_settings.clients, + ignore_warnings=True, + affect_dependencies=self.recursive) return {"FINISHED"}