summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelobject.cpp')
-rw-r--r--indra/newview/llpanelobject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp
index 872b71268d..b99c77fb79 100644
--- a/indra/newview/llpanelobject.cpp
+++ b/indra/newview/llpanelobject.cpp
@@ -2291,6 +2291,10 @@ void LLPanelObject::onPasteParams()
F32 b = (F32)mParamsClipboard["light"]["b"].asReal();
volobjp->setLightColor(LLColor3(r,g,b));
}
+ else
+ {
+ volobjp->setIsLight(FALSE);
+ }
if (mParamsClipboard.has("spot"))
{