Skip to content

Commit fcb5e19

Browse files
committed
1 parent b2ccf73 commit fcb5e19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Plugins/Editor/Scripts/Control/BrushTraits.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ public static bool IsSurfaceUnselectable(CSGBrush brush, int surfaceIndex, bool
3939
return true;
4040
}
4141

42-
if (ignoreSurfaceFlags)
42+
if( (texGenFlags[texGenIndex] & TexGenFlags.NoRender) == TexGenFlags.NoRender )
43+
return false;
44+
45+
if (ignoreSurfaceFlags)
4346
{
4447
var isNotRenderable = (texGenFlags[texGenIndex] & TexGenFlags.NoRender) == TexGenFlags.NoRender;
4548
if (!isNotRenderable)

0 commit comments

Comments
 (0)