mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2024-11-21 14:18:57 -07: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>)
|
||||
, llGetAgentInfo(".")
|
||||
, llGetAgentLanguage("")
|
||||
, llGetAgentList(3, [])
|
||||
, llGetAgentSize(NULL_KEY)
|
||||
, llGetAlpha(9)
|
||||
, llGetAnimation("0")
|
||||
, llGetAnimationList("")
|
||||
, llGetBoundingBox("")
|
||||
, llGetColor(9)
|
||||
, llGetDisplayName("")
|
||||
, llGetEnv("")
|
||||
, llGetEnv("yadda")
|
||||
, llGetStatus(STATUS_CAST_SHADOWS)
|
||||
]);
|
||||
llSetPrimitiveParams(llGetAgentList(3, []));
|
||||
llSetPrimitiveParams(llGetAnimationList(""));
|
||||
llSetPrimitiveParams(llGetBoundingBox(""));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,17 +17,15 @@ default
|
|||
, 1
|
||||
, 0
|
||||
, ""
|
||||
, ["INVALID_SCOPE"]
|
||||
, <0., 0., 0.>
|
||||
, 1.
|
||||
, ""
|
||||
, []
|
||||
, []
|
||||
, <1., 1., 1.>
|
||||
, ""
|
||||
, ""
|
||||
, ""
|
||||
, 0
|
||||
]);
|
||||
llSetPrimitiveParams((list)"INVALID_SCOPE");
|
||||
llSetPrimitiveParams([]);
|
||||
llSetPrimitiveParams([]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue