refactor: code formatting

This commit is contained in:
Swann 2019-09-16 23:34:12 +02:00
parent b86f987e3e
commit 3710b3ca14

View File

@ -101,7 +101,6 @@ class SessionStartOperator(bpy.types.Operator):
)
settings.is_admin = True
else:
utils.clean_scene()
@ -141,7 +140,6 @@ class SessionStartOperator(bpy.types.Operator):
# Push all added values
client.push()
# Launch drawing module
if settings.enable_presence:
presence.renderer.run()
@ -284,6 +282,7 @@ class SessionApply(bpy.types.Operator):
return {"FINISHED"}
class SessionCommit(bpy.types.Operator):
bl_idname = "session.commit"
bl_label = "commit and push the target to other clients"
@ -303,6 +302,7 @@ class SessionCommit(bpy.types.Operator):
client.push(uuid=self.target)
return {"FINISHED"}
@persistent
def redresh_handler(dummy):
global client