refactor: carry on data_refactoring integration

This commit is contained in:
Swann Martinez
2019-08-05 17:58:56 +02:00
parent 1d935fced4
commit 11b6866045
4 changed files with 57 additions and 128 deletions

4
ui.py
View File

@ -66,7 +66,7 @@ class SESSION_PT_settings(bpy.types.Panel):
row.label(text="init scene:")
row.prop(net_settings, "init_scene", text="")
row = box.row()
row.operator("session.create", text="HOST")
row.operator("session.start", text="HOST").host = True
else:
box = row.box()
row = box.row()
@ -80,7 +80,7 @@ class SESSION_PT_settings(bpy.types.Panel):
row = box.row()
row.operator("session.join", text="CONNECT")
row.operator("session.start", text="CONNECT").host = False
# REPLICATION SETTINGS
row = layout.row()