This commit is contained in:
Constantin Gierczak--Galle 2023-12-15 17:47:57 +01:00
parent fb2ed2f016
commit 21ccbdb357

View file

@ -69,6 +69,7 @@ class AbstractLight:
self._enable_auto_update: bool = False self._enable_auto_update: bool = False
for key, rValueObject in self.__class__.__dict__.items(): for key, rValueObject in self.__class__.__dict__.items():
if isinstance(rValueObject, BaseReactiveValue):
# On copie la valeur # On copie la valeur
val = deepcopy(rValueObject.value) val = deepcopy(rValueObject.value)
if isinstance(val, ReactiveMixin): if isinstance(val, ReactiveMixin):