From 417a2d43f39b67d179d69a94c686b5938ed6b3ff Mon Sep 17 00:00:00 2001
From: Anchor <none@none>
Date: Wed, 10 Jul 2019 00:47:58 -0700
Subject: [PATCH] [SL-11548] - checked in the commented code by mistake

---
 indra/newview/llwlparamset.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/indra/newview/llwlparamset.cpp b/indra/newview/llwlparamset.cpp
index 85e95f93257..066cb9a0ace 100644
--- a/indra/newview/llwlparamset.cpp
+++ b/indra/newview/llwlparamset.cpp
@@ -337,14 +337,14 @@ void LLWLParamSet::mix(LLWLParamSet& src, LLWLParamSet& dest, F32 weight)
 	setStarBrightness((1 - weight) * (F32) src.getStarBrightness()
 		+ weight * (F32) dest.getStarBrightness());
 
-	//llassert(src.getSunAngle() >= - F_PI && 
-	//				src.getSunAngle() <= 3 * F_PI);
-	//llassert(dest.getSunAngle() >= - F_PI && 
-	//				dest.getSunAngle() <= 3 * F_PI);
-	//llassert(src.getEastAngle() >= 0 && 
-	//				src.getEastAngle() <= 4 * F_PI);
-	//llassert(dest.getEastAngle() >= 0 && 
-	//				dest.getEastAngle() <= 4 * F_PI);
+	llassert(src.getSunAngle() >= - F_PI && 
+					src.getSunAngle() <= 3 * F_PI);
+	llassert(dest.getSunAngle() >= - F_PI && 
+					dest.getSunAngle() <= 3 * F_PI);
+	llassert(src.getEastAngle() >= 0 && 
+					src.getEastAngle() <= 4 * F_PI);
+	llassert(dest.getEastAngle() >= 0 && 
+					dest.getEastAngle() <= 4 * F_PI);
 
 	// sun angle and east angle require some handling to make sure
 	// they go in circles.  Yes quaternions would work better.
-- 
GitLab