feat: expose PORT in hostsettings

related to #21
This commit is contained in:
Swann
2019-11-01 16:00:57 +01:00
parent 0abd81f9d1
commit bd27da7aa6

View File

@ -77,9 +77,9 @@ class SESSION_PT_settings_network(bpy.types.Panel):
row = box.row()
row.label(text="Start empty:")
row.prop(settings, "start_empty", text="")
# row = box.row()
# row.label(text="Init scene:")
# row.prop(settings, "init_scene", text="")
row = box.row()
row.label(text="Port:")
row.prop(settings, "port", text="")
row = box.row()
row.operator("session.start", text="HOST").host = True
else:
@ -89,7 +89,6 @@ class SESSION_PT_settings_network(bpy.types.Panel):
row = box.row()
row.label(text="Port:")
row.prop(settings, "port", text="")
row = box.row()
row = box.row()
row.operator("session.start", text="CONNECT").host = False