refactor: cleanup
This commit is contained in:
Submodule libs/replication updated: d7e0e7d765...0a94e233a5
@ -16,7 +16,7 @@ from pathlib import Path
|
||||
|
||||
from . import environment, presence, ui, utils
|
||||
from .libs import umsgpack
|
||||
from .libs.replication.client import Client
|
||||
from .libs.replication.interface import Client
|
||||
from .libs.replication.data import ReplicatedDataFactory
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@ -432,8 +432,7 @@ def register():
|
||||
from bpy.utils import register_class
|
||||
for cls in classes:
|
||||
register_class(cls)
|
||||
|
||||
# bpy.app.handlers.depsgraph_update_post.append(depsgraph_update)
|
||||
|
||||
presence.register()
|
||||
|
||||
|
||||
@ -442,9 +441,6 @@ def unregister():
|
||||
|
||||
presence.unregister()
|
||||
|
||||
# if bpy.app.handlers.depsgraph_update_post.count(depsgraph_update) > 0:
|
||||
# bpy.app.handlers.depsgraph_update_post.remove(depsgraph_update)
|
||||
|
||||
if client:
|
||||
client.disconnect()
|
||||
client = None
|
||||
|
Reference in New Issue
Block a user