Ensure spot cutoff converted back to degrees

This commit is contained in:
Jack Andersen 2016-08-12 15:29:10 -10:00
parent 7a653bc3af
commit c89005f9c3
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void WriteBabeDeadLightFromBlender(BabeDeadLight& lightOut, const hecl::BlenderC
} }
lightOut.color = lightIn.color; lightOut.color = lightIn.color;
lightOut.spotCutoff = lightIn.spotCutoff; lightOut.spotCutoff = zeus::radToDeg(lightIn.spotCutoff);
lightOut.castShadows = lightIn.shadow; lightOut.castShadows = lightIn.shadow;
lightOut.position.vec[0] = lightIn.sceneXf[0].vec[3]; lightOut.position.vec[0] = lightIn.sceneXf[0].vec[3];
lightOut.position.vec[1] = lightIn.sceneXf[1].vec[3]; lightOut.position.vec[1] = lightIn.sceneXf[1].vec[3];