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