From fe7bedd71d3ce8df1d251675f2ea1932a54b4529 Mon Sep 17 00:00:00 2001 From: Chris Rehor Date: Sat, 22 Jun 2019 11:25:41 +0000 Subject: [PATCH] Fix double vs float complaint from visual studio. --HG-- branch : Chris-Rehor/fix-double-vs-float-complaint-from-visua-1561202648460 --- indra/llinventory/llsettingssky.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp index 148aa99095..84055f903a 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -1249,8 +1249,8 @@ LLColor4 LLSettingsSky::getTotalAmbient() const LLColor3 LLSettingsSky::getMoonlightColor() const { F32 moon_brightness = getIsMoonUp() ? getMoonBrightness() : 0.001f; - LLColor3 moonlight_a(0.9, 0.9, 1.32); - LLColor3 moonlight_b(0.66, 0.66, 2.0); + LLColor3 moonlight_a(0.9f, 0.9f, 1.32f); + LLColor3 moonlight_b(0.66f, 0.66f, 2.0f); LLColor3 moonlight = lerp(moonlight_b, moonlight_a, moon_brightness); return moonlight; }