[opensource-dev] Where are the new LSL functions in viewer 2 ?

Henri Beauchamp sldev at hotmail.com
Sat Jun 19 09:47:42 PDT 2010


Greetings,

I was in the process of creating a patch to backport the new LSL functions
to viewer v1.23, but I noticed that some of these functions, while
already implemented server-side, are not even implemented in viewer 2...

For example, llGetLinkPrimitiveParams() does compile (in any viewer) but
isn't highlighted because this function is not declared in
indra/lscript/lscript_library/lscript_library.cpp
Since the functions in this file cannot be added in a random order, one
can't add it by their own accord till LL provides the updated file, with
whatever order they chose for all the new functions.

If LL is not about to implement these functions in viewer 2, could we at
least know for sure what is their future rank in lscript_library.cpp so
that third parties viewers can implement them ?

Also, speaking about llGetLinkPrimitiveParams() (and the associated
llSetLinkPrimitiveParams()), we would need simpler functions such as
llSetLinkText(), llGetLinkScale(), llGetLinkDesc(), etc (i.e. functions
just like the existing llSetLinkAlpha(), for example), since using
lists together with ll[G/S]etLinkPrimitiveParams() is extremely
tedious and consumes much more memory and script time than a simpler,
specialized function when used to change just one parameter in a child
prim...

Regards,

Henri.


More information about the opensource-dev mailing list