We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afd839 commit 3f08e02Copy full SHA for 3f08e02
1 file changed
src/awe/objectstream.cpp
@@ -601,10 +601,10 @@ void ObjectStream::spotLight(Templates::SpotLight &spotLight) {
601
object("meshResource", spotLight.meshResource, kRID);
602
variable("meshPosition", spotLight.meshPosition);
603
variable("meshRotation", spotLight.meshRotation);
604
- variable("near", spotLight.near);
+ variable("near", spotLight.nearDist);
605
variable("depthBias", spotLight.depthBias);
606
variable("depthSlopeBias", spotLight.depthSlopeBias);
607
- variable("far", spotLight.far);
+ variable("far", spotLight.farDist);
608
variable("drainMultiplier", spotLight.drainMultiplier);
609
variable("controllable", spotLight.controllable);
610
variable("enableSpecular", spotLight.enableSpecular);
0 commit comments