Skip to content

Workfiles App Project Folders #532

Description

@tokejepsen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions