fix: collection

This commit is contained in:
Swann Martinez
2019-10-11 15:57:09 +02:00
parent 1d041dcbdd
commit 727394de5d
7 changed files with 13 additions and 11 deletions

View File

@ -22,7 +22,7 @@ from .libs.replication.replication.exception import NonAuthorizedOperationError
from .libs.replication.replication.interface import Session
logger = logging.getLogger(__name__)
logger.setLevel(logging.ERROR)
logger.setLevel(logging.INFO)
client = None
delayables = []
@ -74,7 +74,7 @@ class SessionStartOperator(bpy.types.Operator):
bpy_factory.register_type(
_type.bl_class,
_type.bl_rep_class,
timer=type_local_config.bl_delay_refresh,
timer=0,#type_local_config.bl_delay_refresh
automatic=type_local_config.auto_push)
if type_local_config.bl_delay_apply > 0:
@ -303,7 +303,7 @@ class SessionCommit(bpy.types.Operator):
def execute(self, context):
global client
# client.get(uuid=target).diff()
client.commit(uuid=self.target)
client.push(self.target)
return {"FINISHED"}