mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 11:43:16 +02:00
Ignore empty "embedded" textures
Blender 2.71 exporter "embeds" external textures as empty binary blobs
This commit is contained in:
parent
f7addad5ac
commit
1a80bd98f0
1 changed files with 4 additions and 1 deletions
|
@ -611,7 +611,10 @@ var modelUploader = (function () {
|
|||
index += nameLength;
|
||||
|
||||
if (name === "content" && previousNodeFilename !== "") {
|
||||
geometry.embedded.push(previousNodeFilename);
|
||||
// Blender 2.71 exporter "embeds" external textures as empty binary blobs so ignore these
|
||||
if (propertyListLength > 5) {
|
||||
geometry.embedded.push(previousNodeFilename);
|
||||
}
|
||||
}
|
||||
|
||||
if (name === "relativefilename") {
|
||||
|
|
Loading…
Reference in a new issue