From e588a55eef9aa83c71c8edbcfd6c2fccce2e09e5 Mon Sep 17 00:00:00 2001 From: alitehami <38655738+alitehami@users.noreply.github.com> Date: Tue, 21 Sep 2021 08:10:56 +1000 Subject: [PATCH] Update RhinoMaterialGltfConverter.cs --- glTF-BinExporter/RhinoMaterialGltfConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glTF-BinExporter/RhinoMaterialGltfConverter.cs b/glTF-BinExporter/RhinoMaterialGltfConverter.cs index 2e5b6a7..846b65e 100644 --- a/glTF-BinExporter/RhinoMaterialGltfConverter.cs +++ b/glTF-BinExporter/RhinoMaterialGltfConverter.cs @@ -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(), };