[0.15.7] Weird behavior writing to camera.surface_index
Posted: Fri May 05, 2017 5:50 pm
When you change or write to an existing camera's surface_index, it will show various forms of weird behavior. Sometimes it will stop rendering anything at all, sometimes it will display the old surface's entities on the new surface's tiles.
The same thing happens when you destroy and recreate the camera with the new parameters (as long as it's still in the same callback or at least the same tick), so destroying and recreating a camera does not circumvent this issue (at least it did this when I tested that back in 0.15.3)
The same thing happens when you destroy and recreate the camera with the new parameters (as long as it's still in the same callback or at least the same tick), so destroying and recreating a camera does not circumvent this issue (at least it did this when I tested that back in 0.15.3)