Fixed drawing plane higher than 0 with hide roofs enabled #662
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes drawing planes higher than 0 when hide roofs is enabled.
For example, when it's broken it looks like this on plane 1:
![image](https://camo.githubusercontent.com/866993123e3ce28d8c20ef013ead740d4ed5f5198031e5da9054a0e5a62b6774/68747470733a2f2f692e696d6775722e636f6d2f35373947677a362e706e67)
With this PR, it now looks like it's supposed to:
![](https://camo.githubusercontent.com/eb7a1f428a476b23c28d6661b49c37cc220e8a72d6d384b94d13acfb06d18d67/68747470733a2f2f692e696d6775722e636f6d2f774d35574967712e706e67)