mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
anatomy has default_data to get raw anatomy data
This commit is contained in:
parent
f8fe175992
commit
4740310d5c
1 changed files with 9 additions and 0 deletions
|
|
@ -86,6 +86,15 @@ class Anatomy:
|
|||
def items(self):
|
||||
return copy.deepcopy(self._data).items()
|
||||
|
||||
@staticmethod
|
||||
def default_data():
|
||||
"""Default project anatomy data.
|
||||
|
||||
Always return fresh loaded data. May be used as data for new project.
|
||||
|
||||
Not used inside Anatomy itself.
|
||||
"""
|
||||
return get_default_anatomy_settings(clear_metadata=False)
|
||||
|
||||
def reset(self):
|
||||
"""Reset values of cached data in templates and roots objects."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue