Log file:
http://pastebin.com/1WJmypEcLSL scripts can set normal and specular maps fine, but setting NULL_KEY does not remove the normal/specular map and revert to the "grey x" in the build editor. You will see the normal/specular maps persist until a relog. This does not happen on the official client where setting to NULL_KEY removes the normal or specuar maps.
Reproduce:1.) Manually set a normalmap and/or specular map to a prim.
2.) Run the following LSL code on the prim:
| | |
| Code: default { state_entry() { llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_NORMAL, ALL_SIDES, NULL_KEY, <1,1,0>, <0,0,0>, 0.0]); llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_SPECULAR, ALL_SIDES, NULL_KEY, <1,1,0>, <0,0,0>, 0.0, <1,1,1>, 51, 0]); } } | |
| | |
3.) Observe normalmap and specularmap don't vanish.
4.) Relog
5.) Observe normalmap and specularmap are now properly gone.
About CoolVL information:Cool VL Viewer 1.26.14 (6) Sep 12 2015 10:25:41 (Cool VL Viewer)
RestrainedLove viewer v2.09.11.21
Release Notes
You are at 252322.3, 256402.6, 1998.0 in Bay City - Brewster located at sim10177.agni.lindenlab.com (216.82.49.43:13003)
Second Life RC Magnum 15.09.14.305056
Release Notes: Retrieving...
CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (3299.97 MHz)
Memory: 16212 MB
OS version: Microsoft Windows 8.1 64-bit (Build 9600)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 970/PCIe/SSE2
Windows graphics driver version: 10.18.0013.5582
OpenGL version: 4.5.0 NVIDIA 355.82
J2C decoder: KDU
Audio driver: FMOD Ex 4.44.56
Networking backend: libcurl/7.38.0 OpenSSL/1.0.1h zlib/1.2.8
Embedded browser: Qt Webkit v4.7.1 (version number hard-coded)
Packets lost: 0/922 (0.0%)
Built with MSVC version 1600
Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /arch:SSE2 /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0501 /D_WIN32_WINNT=0x0501 /DLL_PRIVATE_MEMORY_POOLS=1 /DLL_VB_MEM_POOL=1 /DLL_VOLUME_MEM_POOL=1 /DCARES_STATICLIB /DLIB_NDOF=1