浏览代码

Merge pull request #77118 from etodd/fix-csgpolygon3d-dirty

Fix CSGPolygon3D in path mode disappearing at runtime
Rémi Verschelde 2 年之前
父节点
当前提交
2488f3c2ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/csg/csg_shape.cpp

+ 1 - 1
modules/csg/csg_shape.cpp

@@ -1827,7 +1827,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
 			}
 		}
 
-		if (!path || !path->is_inside_tree()) {
+		if (!path) {
 			return new_brush;
 		}