mirror of
https://github.com/godotengine/FBX2glTF.git
synced 2026-01-06 02:09:48 +03:00
Removed Yellow texture used when texture file missing
This commit is contained in:
committed by
K. S. Ernest (iFire) Lee
parent
ef974a5e1a
commit
1bfd930402
@@ -214,9 +214,8 @@ std::shared_ptr<TextureData> TextureBuilder::simple(int rawTexIndex, const std::
|
||||
}
|
||||
if (!image) {
|
||||
// fallback is tiny transparent PNG
|
||||
image = new ImageData(
|
||||
textureName,
|
||||
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==");
|
||||
// image = new ImageData(textureName, "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::shared_ptr<TextureData> texDat = gltf.textures.hold(
|
||||
|
||||
Reference in New Issue
Block a user