mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-11 21:01:22 +00:00
Visual mode: in some cases solid 3d floors were clipped by translucent ones.
This commit is contained in:
parent
985705d8ca
commit
27248a82d7
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
foreach(Effect3DFloor ef in sd.ExtraFloors)
|
foreach(Effect3DFloor ef in sd.ExtraFloors)
|
||||||
{
|
{
|
||||||
//mxd. Walls of solid 3D floors shouldn't be clipped by translucent 3D floors
|
//mxd. Walls of solid 3D floors shouldn't be clipped by translucent 3D floors
|
||||||
if(extrafloor.RenderInside || (!extrafloor.RenderInside && !ef.RenderInside)){
|
if(extrafloor.Alpha < 255 || (!extrafloor.RenderInside && !ef.RenderInside && extrafloor.Alpha == 255 & ef.Alpha == 255)) {
|
||||||
int num = polygons.Count;
|
int num = polygons.Count;
|
||||||
for(int pi = 0; pi < num; pi++)
|
for(int pi = 0; pi < num; pi++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue