diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index bc2d037d401..93dc171ec13 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -655,8 +655,7 @@ CSGShape::~CSGShape() { ////////////////////////////////// CSGBrush *CSGCombiner::_build_brush() { - - return NULL; //does not build anything + return memnew(CSGBrush); //does not build anything } CSGCombiner::CSGCombiner() {