fix: ReparentException error

feat: replication protocol version in ui header
This commit is contained in:
Swann
2020-09-18 23:25:01 +02:00
parent b28e7c2149
commit 73d2da4c47
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ from . import environment, utils
DEPENDENCIES = {
("replication", '0.0.21a7'),
("replication", '0.0.21a8'),
}
+2 -1
View File
@@ -28,6 +28,7 @@ from replication.constants import (ADDED, ERROR, FETCHED,
STATE_WAITING, STATE_QUITTING,
STATE_LOBBY,
STATE_LAUNCHING_SERVICES)
from replication import __version__
ICONS_PROP_STATES = ['TRIA_DOWN', # ADDED
'TRIA_UP', # COMMITED
@@ -106,7 +107,7 @@ class SESSION_PT_settings(bpy.types.Panel):
layout.label(text=f"Session - {get_state_str(cli_state['STATE'])}", icon=connection_icon)
else:
layout.label(text="Session",icon="PROP_OFF")
layout.label(text=f"Session - v{__version__}",icon="PROP_OFF")
def draw(self, context):
layout = self.layout