From f67a88314ba957827bdeab9567e01ef6d55c233e Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Mon, 18 Nov 2019 15:28:49 +0200 Subject: SL-12290 FIXED [Project Copy/Paste] Checked 'Light' parameter has not become unchecked after Copy/Paste object properties --- indra/newview/llpanelobject.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llpanelobject.cpp') 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")) { -- cgit v1.2.3