mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
fix to bsp materials so they require a name
This commit is contained in:
@@ -507,7 +507,7 @@ namespace
|
||||
if (jsMaterial.name && (*jsMaterial.name).length() != 0)
|
||||
material.materialName = *jsMaterial.name;
|
||||
else
|
||||
material.materialName = "";
|
||||
throw GltfLoadException("Materials must have a name.");
|
||||
|
||||
if (jsMaterial.pbrMetallicRoughness)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user