Goal
To allow the Workfiles app to show folders to open scenes/projects.
Motivation
There is an increasing amount of hosts that does not encapsulate a scene or project within a single file; Unity, Unreal and Toon Boon Harmony. For these hosts the Workfiles app is current useless.
Implementation
It should be a relatively small code change https://github.com/getavalon/core/blob/master/avalon/tools/workfiles/model.py#L79
The bigger issue would be how to support enabling directories.
We could have a custom file extension to represent directories:
import avalon.api
def file_extensions():
return [avalon.api.workfiles_folder]
This would allow for a combination of directories and files for example in the case of using both directories and zip files.
Or we could have an optional method on the host modules workio.py:
def enable_directories():
return True
Goal
To allow the Workfiles app to show folders to open scenes/projects.
Motivation
There is an increasing amount of hosts that does not encapsulate a scene or project within a single file; Unity, Unreal and Toon Boon Harmony. For these hosts the Workfiles app is current useless.
Implementation
It should be a relatively small code change https://github.com/getavalon/core/blob/master/avalon/tools/workfiles/model.py#L79
The bigger issue would be how to support enabling directories.
We could have a custom file extension to represent directories:
This would allow for a combination of directories and files for example in the case of using both directories and zip files.
Or we could have an optional method on the host modules
workio.py: