refactor: remove old properties
This commit is contained in:
@ -109,25 +109,14 @@ class SessionProps(bpy.types.PropertyGroup):
|
|||||||
description='Distant host port',
|
description='Distant host port',
|
||||||
default=5555
|
default=5555
|
||||||
)
|
)
|
||||||
add_property_depth: bpy.props.IntProperty(
|
|
||||||
name="add_property_depth",
|
|
||||||
default=1
|
|
||||||
)
|
|
||||||
outliner_filter: bpy.props.StringProperty(name="None")
|
|
||||||
is_admin: bpy.props.BoolProperty(
|
is_admin: bpy.props.BoolProperty(
|
||||||
name="is_admin",
|
name="is_admin",
|
||||||
default=False
|
default=False
|
||||||
)
|
)
|
||||||
init_scene: bpy.props.BoolProperty(
|
|
||||||
name="init_scene",
|
|
||||||
default=True
|
|
||||||
)
|
|
||||||
start_empty: bpy.props.BoolProperty(
|
start_empty: bpy.props.BoolProperty(
|
||||||
name="start_empty",
|
name="start_empty",
|
||||||
default=True
|
default=True
|
||||||
)
|
)
|
||||||
active_object: bpy.props.PointerProperty(
|
|
||||||
name="active_object", type=bpy.types.Object)
|
|
||||||
session_mode: bpy.props.EnumProperty(
|
session_mode: bpy.props.EnumProperty(
|
||||||
name='session_mode',
|
name='session_mode',
|
||||||
description='session mode',
|
description='session mode',
|
||||||
@ -179,11 +168,6 @@ class SessionProps(bpy.types.PropertyGroup):
|
|||||||
description='Show only owned datablocks',
|
description='Show only owned datablocks',
|
||||||
default=True
|
default=True
|
||||||
)
|
)
|
||||||
use_select_right: bpy.props.BoolProperty(
|
|
||||||
name="Selection right",
|
|
||||||
description='Change right on selection',
|
|
||||||
default=True
|
|
||||||
)
|
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
config = environment.load_config()
|
config = environment.load_config()
|
||||||
|
Submodule multi_user/libs/replication updated: b8af140842...e6dd107f62
@ -122,7 +122,7 @@ class SessionStartOperator(bpy.types.Operator):
|
|||||||
settings.user_uuid = client.add(usr, owner=settings.username)
|
settings.user_uuid = client.add(usr, owner=settings.username)
|
||||||
client.commit(settings.user_uuid)
|
client.commit(settings.user_uuid)
|
||||||
|
|
||||||
if settings.init_scene and self.host:
|
if self.host:
|
||||||
for scene in bpy.data.scenes:
|
for scene in bpy.data.scenes:
|
||||||
scene_uuid = client.add(scene)
|
scene_uuid = client.add(scene)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user