refactor: cleanup
This commit is contained in:
@ -80,10 +80,10 @@ class SessionStartOperator(bpy.types.Operator):
|
|||||||
timer=type_local_config.bl_delay_refresh,
|
timer=type_local_config.bl_delay_refresh,
|
||||||
automatic=type_local_config.auto_push)
|
automatic=type_local_config.auto_push)
|
||||||
|
|
||||||
# if type_local_config.bl_delay_apply > 0:
|
if type_local_config.bl_delay_apply > 0:
|
||||||
# delayables.append(delayable.ApplyTimer(
|
delayables.append(delayable.ApplyTimer(
|
||||||
# timout=type_local_config.bl_delay_apply,
|
timout=type_local_config.bl_delay_apply,
|
||||||
# target_type=type_module_class))
|
target_type=type_module_class))
|
||||||
|
|
||||||
client = Session(factory=bpy_factory)
|
client = Session(factory=bpy_factory)
|
||||||
|
|
||||||
@ -103,16 +103,6 @@ class SessionStartOperator(bpy.types.Operator):
|
|||||||
server_process.kill()
|
server_process.kill()
|
||||||
except TimeoutExpired:
|
except TimeoutExpired:
|
||||||
pass
|
pass
|
||||||
# try:
|
|
||||||
# client.host(
|
|
||||||
# id=settings.username,
|
|
||||||
# address=settings.ip,
|
|
||||||
# port=settings.port,
|
|
||||||
# right_strategy=settings.right_strategy
|
|
||||||
# )
|
|
||||||
# except Exception as e:
|
|
||||||
# self.report({'ERROR'}, repr(e))
|
|
||||||
# logger.error(f"Error: {e}")
|
|
||||||
|
|
||||||
client.connect(
|
client.connect(
|
||||||
id=settings.username,
|
id=settings.username,
|
||||||
|
Reference in New Issue
Block a user