From e80dfaa0c2dcbdb4eb1f872cdd1314faf6511b31 Mon Sep 17 00:00:00 2001 From: Andrey Kopysov Date: Mon, 16 Apr 2012 16:33:59 +0600 Subject: [PATCH] Fixed spot lights parsing from A3D --- src/alternativa/engine3d/loaders/Parser.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alternativa/engine3d/loaders/Parser.as b/src/alternativa/engine3d/loaders/Parser.as index c3364c2..762106e 100644 --- a/src/alternativa/engine3d/loaders/Parser.as +++ b/src/alternativa/engine3d/loaders/Parser.as @@ -426,7 +426,7 @@ package alternativa.engine3d.loaders { for each (a3DSpotLight in a3d.spotLights) { var resSpotLight:SpotLight = new SpotLight(a3DSpotLight.color, a3DSpotLight.attenuationBegin, a3DSpotLight.attenuationEnd, a3DSpotLight.hotspot, a3DSpotLight.falloff); - resSpotLight.intensity = a3DOmniLight.intensity; + resSpotLight.intensity = a3DSpotLight.intensity; resSpotLight.visible = a3DSpotLight.visible; resSpotLight.name = a3DSpotLight.name; parents[resSpotLight] = a3DSpotLight.parentId;