diff --git a/indra/newview/lggbeammapfloater.cpp b/indra/newview/lggbeammapfloater.cpp index 5b35bb7216..f0e20d42dd 100644 --- a/indra/newview/lggbeammapfloater.cpp +++ b/indra/newview/lggbeammapfloater.cpp @@ -299,7 +299,7 @@ void lggBeamMapFloater::onClickLoad() lggPoint p; LLVector3 vec = LLVector3(beamData["offset"]); vec *= (scale)/(8.0f/(rec.getWidth())); - LLColor4 color = beamData["color"]; + LLColor4 color = LLColor4(beamData["color"]); p.c = color; p.x = (S32)(vec.mV[VY]+rec.getCenterX()); p.y = (S32)(vec.mV[VZ]+rec.getCenterY()); diff --git a/indra/newview/lggbeammaps.cpp b/indra/newview/lggbeammaps.cpp index dd7398cffc..2842f6ec9a 100644 --- a/indra/newview/lggbeammaps.cpp +++ b/indra/newview/lggbeammaps.cpp @@ -230,10 +230,7 @@ F32 lggBeamMaps::setUpAndGetDuration() dot.p = LLVector3d(beamData["offset"]); dot.p *= (gSavedSettings.getF32("PhoenixBeamShapeScale")*2.0f); - LLColor4 color = beamData["color"]; - - dot.c = LLColor4U(color); - + dot.c = LLColor4U(beamData["color"]); dots.push_back(dot); } diff --git a/indra/newview/skins/default/xui/en/floater_beamcolor.xml b/indra/newview/skins/default/xui/en/floater_beamcolor.xml index 8077c3d5e7..1578751481 100644 --- a/indra/newview/skins/default/xui/en/floater_beamcolor.xml +++ b/indra/newview/skins/default/xui/en/floater_beamcolor.xml @@ -1,24 +1,119 @@ - - - - + + + + Please use the mouse to select the colors for which you wish your beam color to start and stop on. Left Click Changes Start Position. -Right Click Changes End Position. - -Preview - -