Page MenuHomePhabricator

[2DRendering] Image and crosshair position are slightly different
Closed, ResolvedPublic

Description

When panning or zooming fast on an image, the image and crosshair move separately and after the process the crosshair does not necessarily end up in the correct position.

I think the image rendering is sometimes one step behind the crosshair rendering.

Event Timeline

kilgus added a subscriber: kilgus.

An example screenshot can be found attached in T9176.

If you perform any rendering update action, both will have the same state again.

This "one step behind" issue sounds like it could cause also more critical "effects", so I would feel more comfortable if we would now the exact reason for this.

We fixed this issue today. The camera was not set before rendering, and as a consequence the 2D rendering process was always one step behind.