Redundancy
The Grid All Hail The Central Grid has become windy of late so I decided to set the trees’ flexible wind setting to 0.3 from 0.5 but, discovered that when the parent script changed the setting, it immediately reverted to the old value. After all, an old LSL bug bit me on the backside. When a user specifies a new height, the tree sections have to deactivate their flexibility in order to resize and move toward, or away from, the center. Of course they then have to reset their flexibility to waft in the virtual breeze; and they were individually doing just that to counteract the parent’s new flexible parameters.
Realizing what was happening not only solved the problem of the phantom flexible wind value, but also afforded me the opportunity to take that code out of the child scripts so that all they do now is size and move themselves. llSetLinkPrimitiveParams() is a wonderful command that now allows my parent script to do everything except resize the plants. Global sizing doesn’t work because the sections must always be .01m thick. It’s just another Second Life example of something that doesn’t scale.