diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-11-18 15:28:49 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-11-18 15:28:49 +0200 |
commit | f67a88314ba957827bdeab9567e01ef6d55c233e (patch) | |
tree | aced410cba56d7c5ef3b9c753a4325b8eb5b2215 | |
parent | 4fcf31e20319fbbfdd76240b351753e5de726eb5 (diff) |
SL-12290 FIXED [Project Copy/Paste] Checked 'Light' parameter has not become unchecked after Copy/Paste object properties
-rw-r--r-- | indra/newview/llpanelobject.cpp | 4 |
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")) { |