Merge pull request #179 from abosafia/master

fix copy operation
pull/273/head
Alain Pelletier 2024-09-12 08:40:16 -03:00 zatwierdzone przez GitHub
commit 4d4fb0b52d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -1126,7 +1126,13 @@ class CamOperationCopy(Operator):
o = scene.cam_operations[scene.cam_active_operation]
for k in copyop.keys():
o[k] = copyop[k]
value = copyop[k]
if isinstance(value, bpy.types.PropertyGroup):
for subkey in value.keys():
o[k][subkey] = value[subkey]
elif isinstance(value, (int, float, str, bool, list)):
o[k] = value
o.computing = False
# ###get digits in the end