-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Seems to be caused by the sources::ByteView case missing the if statement present in sources::Array and sources::Vector:
Lines 4189 to 4211 in f8ed5a0
| [&](const sources::Array& vector) { | |
| if (bufferIdx == 0 && exportingBinary) { | |
| bufferPaths.emplace_back(std::nullopt); | |
| return; | |
| } | |
| auto path = getBufferFilePath(asset, bufferIdx); | |
| json += std::string(R"("uri":")") + fg::escapeString(path.string()) + '"' + ','; | |
| bufferPaths.emplace_back(path); | |
| }, | |
| [&](const sources::Vector& vector) { | |
| if (bufferIdx == 0 && exportingBinary) { | |
| bufferPaths.emplace_back(std::nullopt); | |
| return; | |
| } | |
| auto path = getBufferFilePath(asset, bufferIdx); | |
| json += std::string(R"("uri":")") + fg::escapeString(path.string()) + '"' + ','; | |
| bufferPaths.emplace_back(path); | |
| }, | |
| [&](const sources::ByteView& view) { | |
| auto path = getBufferFilePath(asset, bufferIdx); | |
| json += std::string(R"("uri":")") + fg::escapeString(path.string()) + '"' + ','; | |
| bufferPaths.emplace_back(path); | |
| }, |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working