Skip to content

animation sdata files get incorrect paths baked in during gltf export if not in a folder called "filesystem" #64

@Shootfast

Description

@Shootfast

The animation sdata files will not get a correct "rom:/" path if the output folder for the t3dm files is not exactly called "filesystem".

I was recently trying to have all my filesystem outputs go into a subdirectory of my build dir, only to find all the animations failed to load.

This line here should probably try to make a relative path:

getRomPath(getStreamDataPath(t3dmPath.c_str(), animIdx))

and getRomPath should always prepend "rom:/" :
std::string getRomPath(const std::string &path) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions