fix: non existing user configuration
feat: update readme
This commit is contained in:
parent
c78b0fb83c
commit
07ae67edaf
@ -20,8 +20,6 @@ Settings are under: `View3D -> Sidebar -> Multiuser`
|
|||||||
|
|
||||||
#### 1. User
|
#### 1. User
|
||||||
|
|
||||||
_All user-related infos fields._
|
|
||||||
|
|
||||||
![settings](medias/user.png)
|
![settings](medias/user.png)
|
||||||
|
|
||||||
- **name**: username.
|
- **name**: username.
|
||||||
@ -29,8 +27,6 @@ _All user-related infos fields._
|
|||||||
|
|
||||||
#### 2. Network
|
#### 2. Network
|
||||||
|
|
||||||
_Session-related managment tools_
|
|
||||||
|
|
||||||
:warning: If you host a session over internet, special network configuration is needed :warning:
|
:warning: If you host a session over internet, special network configuration is needed :warning:
|
||||||
|
|
||||||
| Host | Join |
|
| Host | Join |
|
||||||
|
@ -216,6 +216,9 @@ class SessionProps(bpy.types.PropertyGroup):
|
|||||||
def save(self,context):
|
def save(self,context):
|
||||||
config = environment.load_config()
|
config = environment.load_config()
|
||||||
|
|
||||||
|
if "supported_types" not in config:
|
||||||
|
config = generate_supported_types()
|
||||||
|
|
||||||
config["username"] = self.username
|
config["username"] = self.username
|
||||||
config["ip"] = self.ip
|
config["ip"] = self.ip
|
||||||
config["port"] = self.port
|
config["port"] = self.port
|
||||||
|
Loading…
x
Reference in New Issue
Block a user