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
|
||||
|
||||
_All user-related infos fields._
|
||||
|
||||
![settings](medias/user.png)
|
||||
|
||||
- **name**: username.
|
||||
@ -29,8 +27,6 @@ _All user-related infos fields._
|
||||
|
||||
#### 2. Network
|
||||
|
||||
_Session-related managment tools_
|
||||
|
||||
:warning: If you host a session over internet, special network configuration is needed :warning:
|
||||
|
||||
| Host | Join |
|
||||
|
@ -216,6 +216,9 @@ class SessionProps(bpy.types.PropertyGroup):
|
||||
def save(self,context):
|
||||
config = environment.load_config()
|
||||
|
||||
if "supported_types" not in config:
|
||||
config = generate_supported_types()
|
||||
|
||||
config["username"] = self.username
|
||||
config["ip"] = self.ip
|
||||
config["port"] = self.port
|
||||
|
Loading…
Reference in New Issue
Block a user