feat: show basic progress
This commit is contained in:
parent
8a2d178a4f
commit
b182632723
@ -1 +1 @@
|
||||
Subproject commit 5a5571d943a1cb8a4b26e9397d0ced42acbea938
|
||||
Subproject commit 425d2c13824945dacb2f88d5fbfe51950565abf5
|
@ -18,7 +18,7 @@ ICONS_PROP_STATES = ['TRIA_DOWN', # ADDED
|
||||
def get_state_str(state):
|
||||
state_str = 'None'
|
||||
if state == STATE_WAITING:
|
||||
state_str = 'WAITING'
|
||||
state_str = 'COMMITING DATA'
|
||||
elif state == STATE_SYNCING:
|
||||
state_str = 'SYNCING'
|
||||
elif state == STATE_AUTH:
|
||||
@ -67,7 +67,7 @@ class SESSION_PT_settings(bpy.types.Panel):
|
||||
row.label(text=f"{get_state_str(cli_state['STATE'])}")
|
||||
row = layout.row()
|
||||
|
||||
if cli_state['STATE'] in [STATE_SYNCING,STATE_SRV_SYNC]:
|
||||
if cli_state['STATE'] in [STATE_SYNCING,STATE_SRV_SYNC,STATE_WAITING]:
|
||||
row.label(text=f"{cli_state['CURRENT']}/{cli_state['TOTAL']}")
|
||||
row = layout.row()
|
||||
row.operator("session.stop", icon='QUIT', text="CANCEL")
|
||||
|
Loading…
Reference in New Issue
Block a user