mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
llGetEnv() is not computable now, so remove it from the computable functions unit test. The test generated lists inside a list, and after the llGetEnv() change, that caused a weird side effect that hasn't been investigated (see test result of previous commit). To be on the safe side, take all list-generating results out of the list, into their own llSetPrimitiveParams call.
31 lines
617 B
Text
31 lines
617 B
Text
default
|
|
{
|
|
timer()
|
|
{
|
|
llSetPrimitiveParams(
|
|
[ 0.
|
|
, 0.
|
|
, 0.
|
|
, -0.
|
|
, 0.
|
|
, 0.
|
|
, 0.
|
|
, (1e40*0)
|
|
, (-1e40*0)
|
|
, 0.
|
|
, ((key)"00000000-0000-0000-0000-000000000000")
|
|
, 1
|
|
, 0
|
|
, ""
|
|
, <0., 0., 0.>
|
|
, 1.
|
|
, ""
|
|
, <1., 1., 1.>
|
|
, ""
|
|
, 0
|
|
]);
|
|
llSetPrimitiveParams((list)"INVALID_SCOPE");
|
|
llSetPrimitiveParams([]);
|
|
llSetPrimitiveParams([]);
|
|
}
|
|
}
|