Skip to content

Commit

Permalink
Merge pull request #1 from alitehami/alitehami-patch-materialName
Browse files Browse the repository at this point in the history
Patch Fix for MaterialNames
  • Loading branch information
alitehami authored Sep 20, 2021
2 parents 05c021b + e588a55 commit 9d54c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glTF-BinExporter/RhinoMaterialGltfConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public int AddMaterial()
// Prep
glTFLoader.Schema.Material material = new glTFLoader.Schema.Material()
{
Name = rhinoMaterial.Name,
Name = renderMaterial.Name,
PbrMetallicRoughness = new glTFLoader.Schema.MaterialPbrMetallicRoughness(),
};

Expand Down

0 comments on commit 9d54c68

Please sign in to comment.