OpenRA / d2

A d2 mod for OpenRA
GNU General Public License v3.0
57 stars 20 forks source link

Buildings not drawn during placement #179

Closed evgeniysergeev closed 1 year ago

evgeniysergeev commented 4 years ago

After update to bleed #174 , drawing buildings placements no longer works

evgeniysergeev commented 4 years ago

Can't reproduce

evgeniysergeev commented 2 years ago

I saw this both on Windows 10 and macOS On Windows 10, after I set breakpoint inside RgbaColorRenderer, Lines begin to draw! On macOS not tested it yet. I use Intel Graphics 630 HD.

evgeniysergeev commented 2 years ago

Probably problem is in the missing z value, when drawing using WorldRgbaColorRenderer. It is set to zero by default and this can be the root case of the problem.

evgeniysergeev commented 2 years ago

Done in https://github.com/OpenRA/d2/commit/630de9592f9e3c8bdfe0331f3a3d70d71415406e

evgeniysergeev commented 1 year ago

Currently buildings not drawn during placement: Screenshot 2023-07-04 225032

Closing this issue