make sure project creation would be disabled after the creation

This commit is contained in:
Kayla Man 2024-05-07 22:23:24 +08:00
parent 8e60492da4
commit f05e83340f
2 changed files with 16 additions and 18 deletions

View file

@ -22,7 +22,8 @@ def unit_scale_enum():
class MxpWorkspaceSettings(BaseSettingsModel):
enabled: bool = SettingsField(False, title="Enabled")
enabled_project_creation: bool = SettingsField(
False, title="Enable Project Creation")
mxp_workspace_script: str = SettingsField(
title="Max mxp Workspace", widget="textarea"
)
@ -112,7 +113,7 @@ DEFAULT_VALUES = {
"scene_unit_scale": "Centimeters"
},
"mxp_workspace": {
"enabled": False,
"enabled_project_creation": False,
"mxp_workspace_script": DEFAULT_MXP_WORKSPACE_SETTINGS
},
"RenderSettings": DEFAULT_RENDER_SETTINGS,