mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Remove llGetEnv tests from tests; don't generate list in list
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.
This commit is contained in:
parent
f2ab8d9d15
commit
d6162dfcf2
2 changed files with 6 additions and 10 deletions
|
@ -18,17 +18,15 @@ default
|
||||||
, llEdgeOfWorld(<0,1,2>,<0,0,1>)
|
, llEdgeOfWorld(<0,1,2>,<0,0,1>)
|
||||||
, llGetAgentInfo(".")
|
, llGetAgentInfo(".")
|
||||||
, llGetAgentLanguage("")
|
, llGetAgentLanguage("")
|
||||||
, llGetAgentList(3, [])
|
|
||||||
, llGetAgentSize(NULL_KEY)
|
, llGetAgentSize(NULL_KEY)
|
||||||
, llGetAlpha(9)
|
, llGetAlpha(9)
|
||||||
, llGetAnimation("0")
|
, llGetAnimation("0")
|
||||||
, llGetAnimationList("")
|
|
||||||
, llGetBoundingBox("")
|
|
||||||
, llGetColor(9)
|
, llGetColor(9)
|
||||||
, llGetDisplayName("")
|
, llGetDisplayName("")
|
||||||
, llGetEnv("")
|
|
||||||
, llGetEnv("yadda")
|
|
||||||
, llGetStatus(STATUS_CAST_SHADOWS)
|
, llGetStatus(STATUS_CAST_SHADOWS)
|
||||||
]);
|
]);
|
||||||
|
llSetPrimitiveParams(llGetAgentList(3, []));
|
||||||
|
llSetPrimitiveParams(llGetAnimationList(""));
|
||||||
|
llSetPrimitiveParams(llGetBoundingBox(""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,17 +17,15 @@ default
|
||||||
, 1
|
, 1
|
||||||
, 0
|
, 0
|
||||||
, ""
|
, ""
|
||||||
, ["INVALID_SCOPE"]
|
|
||||||
, <0., 0., 0.>
|
, <0., 0., 0.>
|
||||||
, 1.
|
, 1.
|
||||||
, ""
|
, ""
|
||||||
, []
|
|
||||||
, []
|
|
||||||
, <1., 1., 1.>
|
, <1., 1., 1.>
|
||||||
, ""
|
, ""
|
||||||
, ""
|
|
||||||
, ""
|
|
||||||
, 0
|
, 0
|
||||||
]);
|
]);
|
||||||
|
llSetPrimitiveParams((list)"INVALID_SCOPE");
|
||||||
|
llSetPrimitiveParams([]);
|
||||||
|
llSetPrimitiveParams([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue