From bfc5d6b33cabcd88c091c5dbe3017eec0adb769b Mon Sep 17 00:00:00 2001 From: laurenth Date: Tue, 29 Jan 2019 20:14:37 +0100 Subject: [PATCH] fix error in last commit --- Assets/LightmapSwitchingTool/LevelLightmapData.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/LightmapSwitchingTool/LevelLightmapData.cs b/Assets/LightmapSwitchingTool/LevelLightmapData.cs index 09813a3..5c1039b 100644 --- a/Assets/LightmapSwitchingTool/LevelLightmapData.cs +++ b/Assets/LightmapSwitchingTool/LevelLightmapData.cs @@ -122,9 +122,7 @@ private SphericalHarmonicsL2[] DeserializeLightProbes(int index) sphericalHarmonicsArray[i] = sphericalHarmonics; } - - - sphericalHarmonicsArray; + return sphericalHarmonicsArray; } #if UNITY_EDITOR