From 92f501e8377bd6582783685dcf7d5fd6b13ff976 Mon Sep 17 00:00:00 2001 From: yutopp Date: Thu, 14 Mar 2019 22:29:57 +0900 Subject: [PATCH] Fix indents --- Assets/VRM/UniGLTF/Scripts/IO/MaterialExporter.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/VRM/UniGLTF/Scripts/IO/MaterialExporter.cs b/Assets/VRM/UniGLTF/Scripts/IO/MaterialExporter.cs index 34570b527..e8943e336 100644 --- a/Assets/VRM/UniGLTF/Scripts/IO/MaterialExporter.cs +++ b/Assets/VRM/UniGLTF/Scripts/IO/MaterialExporter.cs @@ -86,7 +86,8 @@ namespace UniGLTF // Set 1.0f as hard-coded. See: https://github.com/dwango/UniVRM/issues/212. material.pbrMetallicRoughness.roughnessFactor = 1.0f; } - else { + else + { if (m.HasProperty("_Metallic")) { material.pbrMetallicRoughness.metallicFactor = m.GetFloat("_Metallic"); @@ -97,8 +98,6 @@ namespace UniGLTF material.pbrMetallicRoughness.roughnessFactor = 1.0f - m.GetFloat("_Glossiness"); } } - - } static void Export_Normal(Material m, TextureExportManager textureManager, glTFMaterial material)