mea culpa!! yes texture rotation is a float, why was i thinking quaternions...
On Mon, Feb 14, 2011 at 10:46 AM, Kevin Cozens <[email protected]> wrote: > Ina Centaur wrote: >> >> In trying to apply a hair color change script, I encountered the above >> error. LSL @ http://pastebin.com/K6HnW1N4 > > The error is in the last argument you are passing in the list in the call to > llSetPrimitiveParams. It takes a float and you are passing a vector. > > The details about the parameters lists can be found at: > http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams > > The bit of code would be a bit more efficient if you were to save the result > from the call to llList2String/llGetLinkPrimitiveParams in a variable at the > top of the inner loop. In each of the if statements you would then use that > variable instead of having to do the pair of calls for each of the > conditionals. > _______________________________________________ > Opensim-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-dev > _______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
