feat: cleanup before rollback

This commit is contained in:
Swann Martinez 2019-10-09 18:50:35 +02:00
parent 2f002be7a8
commit 960b699e3d
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1
2 changed files with 4 additions and 5 deletions

@ -1 +1 @@
Subproject commit 3d5ecc1782abe1fe144e87617a110c10cb82a11d
Subproject commit 1fb67db7eab31fa27cc07745250a02428605bdfa

View File

@ -129,11 +129,10 @@ class SessionStartOperator(bpy.types.Operator):
client.commit(settings.user_uuid)
if settings.init_scene and self.host:
# init_supported_datablocks(supported_bl_types)
client.add(bpy.context.scene)
scene_uuid = client.add(bpy.context.scene)
for node in client.list():
client.commit(node)
# for node in client.list():
client.commit(scene_uuid)
delayables.append(delayable.ClientUpdate(
client_uuid=settings.user_uuid))
delayables.append(delayable.DrawClient())