mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
anatomy entities and ProjectSettings
This commit is contained in:
parent
bccc4337b5
commit
a19db9a521
3 changed files with 31 additions and 4 deletions
|
|
@ -73,7 +73,10 @@ from .base_entity import (
|
|||
ItemEntity
|
||||
)
|
||||
|
||||
from .root_entities import SystemSettings
|
||||
from .root_entities import (
|
||||
SystemSettings,
|
||||
ProjectSettings
|
||||
)
|
||||
|
||||
from .item_entities import (
|
||||
PathEntity,
|
||||
|
|
@ -96,6 +99,11 @@ from .list_entity import ListEntity
|
|||
from .dict_immutable_keys_entity import DictImmutableKeysEntity
|
||||
from .dict_mutable_keys_entity import DictMutableKeysEntity
|
||||
|
||||
from .anatomy_entities import (
|
||||
AnatomyEntity,
|
||||
AnatomyRootsEntity
|
||||
)
|
||||
|
||||
|
||||
__all__ = (
|
||||
"DefaultsNotDefined",
|
||||
|
|
@ -115,6 +123,7 @@ __all__ = (
|
|||
"ItemEntity",
|
||||
|
||||
"SystemSettings",
|
||||
"ProjectSettings",
|
||||
|
||||
"PathEntity",
|
||||
"ListStrictEntity",
|
||||
|
|
@ -133,5 +142,8 @@ __all__ = (
|
|||
|
||||
"DictImmutableKeysEntity",
|
||||
|
||||
"DictMutableKeysEntity"
|
||||
"DictMutableKeysEntity",
|
||||
|
||||
"AnatomyEntity",
|
||||
"AnatomyRootsEntity"
|
||||
)
|
||||
|
|
|
|||
10
pype/settings/entities/anatomy_entities.py
Normal file
10
pype/settings/entities/anatomy_entities.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from .dict_immutable_keys_entity import DictImmutableKeysEntity
|
||||
from .dict_mutable_keys_entity import DictMutableKeysEntity
|
||||
|
||||
|
||||
class AnatomyEntity(DictImmutableKeysEntity):
|
||||
schema_types = ["anatomy"]
|
||||
|
||||
|
||||
class AnatomyRootsEntity(DictMutableKeysEntity):
|
||||
schema_types = ["anatomy_roots"]
|
||||
|
|
@ -7,10 +7,15 @@
|
|||
"key": "project_anatomy",
|
||||
"children": [
|
||||
{
|
||||
"type": "anatomy_roots",
|
||||
"key": "roots",
|
||||
"label": "Roots",
|
||||
"is_file": true
|
||||
"type": "anatomy_roots",
|
||||
"is_file": true,
|
||||
"expandable": false,
|
||||
"object_type": {
|
||||
"type": "path-widget",
|
||||
"multiplatform": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "schema",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue