Am Samstag, 2. Juni 2007 schrieb Per Inge Mathisen:
> On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > So patch good or not?
>
> I am curious as to why it is correct, and what else might break, not
> just whether it fixes the bug. I see that gerard changed it in r1007:
>
> ------------------------------------------------------------------------
> r1007 | gerard_ | 2007-04-05 17:24:03 +0200 (Thu, 05 Apr 2007) | 2 lines
>
> 1. Now only transparent objects are rendered by the bucket sort. 2.
> Added some asserts to check if droids stay on the map.
>
> @@ -1891,7 +1851,7 @@
>                         psComp->orientation.y = vecRot.y;
>                         psComp->orientation.z = vecRot.z;
>
> -                       bucketAddTypeToList( RENDER_ANIMATION, psComp );
> +                       renderAnimComponent( psComp );
>                 }
>         }
>  }
>
> Gerard, any comment on how this should be fixed?
The issue we are talking about is that the energy-bar of oil-derricks swings 
with the wheel, right?

That is probably caused by the fact that rendering the animation alters (ie. 
rotates) the modelview matrix. This is not expected by the surounding code 
(ie. the one that calls displayAnimation()) and thus the energy-bar, which is 
(probably) drawn afterwards, is rotated as well.

--Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to