Properly handle empty CSGCombiners

(cherry picked from commit 001b6075cb)
This commit is contained in:
hoontee 2020-07-31 10:11:26 -05:00 committed by Rémi Verschelde
parent be13df0a08
commit 8ce88d38f2
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -655,8 +655,7 @@ CSGShape::~CSGShape() {
////////////////////////////////// //////////////////////////////////
CSGBrush *CSGCombiner::_build_brush() { CSGBrush *CSGCombiner::_build_brush() {
return memnew(CSGBrush); //does not build anything
return NULL; //does not build anything
} }
CSGCombiner::CSGCombiner() { CSGCombiner::CSGCombiner() {