On Tue, 18 Dec 2012 10:32:15 +0100, Henri Beauchamp wrote:

> On Mon, 17 Dec 2012 16:18:59 -0500, Oz Linden (Scott Lawrence) wrote:
> 
> > No, we can't, sorry.
> 
> Did you ever say "yes" and actually provide any kind of useful help
> to an OpenSource developer ?... I'm yet to find a case in which that
> happened...
> 
> You, know, the time I spend sorting out LL's mess, I don't spend it
> providing you with bugfixes (even if, because of the stupid CA stuff,
> I must find convoluted ways to contribute, such as the private emails
> I already sent to you to point out and explain nasty bugs in your
> code).
> 
> FYI, there are currently two nasty bugs in the renderer code that I
> was investigating:
> .../...
> - another, even more serious bug, deals with scripted, punctually
>   moving objects (sliding and rotating doors, for example), which
>   position fails to be updated in the renderer when they are off
>   the camera FOV; click on an auto-closing door to open it, then
>   turn away from it so that it's no more in the FOV and wait till
>   it closes automatically, then turn around again to face it:
>   surprise, it appears as still open (but it's not: you'd bump
>   into it and right-clicking on the spot where it should be makes
>   it render again) !

For what it is worth, I identified the bug that was preventing
step-rotating (llSetRot()) child primitives to be properly updated
while out of the FOV (the similar, sliding doors, issue was solved
in a recent patch that made its way to viewer-development lately).

The problem is in lldrawable.cpp, around line 562. You need to change:

else if (!isRoot() &&
         (!mVObjp->getAngularVelocity().isExactlyZero() ||
          dist_squared > 0.f))

for:

else if (!isRoot() && (target_rot != old_rot || dist_squared > 0.f))

This is because prims rotating with llSetRot() don't have a velocity.

Henri.

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to