mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
The node containing the separator was not being copied; if it was modified by a later optimization step, the modification propagated to all previous nodes that contained it, causing incorrect results. Many thanks to @KrsityKu for reporting and providing a repro. Fixes #23.
11 lines
329 B
Text
11 lines
329 B
Text
default
|
|
{
|
|
state_entry()
|
|
{
|
|
string tmp0 = llGetScriptName();
|
|
list tmp1 = [llGetOwner(), llGetOwner()];
|
|
list tmp2 = [llGetScriptName(), llGetScriptName()];
|
|
string encoded = llDumpList2String([tmp0, llList2CSV(tmp1), "Hello", 123, llList2CSV(tmp2)], "|");
|
|
llOwnerSay(encoded);
|
|
}
|
|
}
|