Properly handle empty CSGCombiners

This commit is contained in:
hoontee 2020-07-31 10:11:26 -05:00 committed by GitHub
parent 227494be59
commit 001b6075cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -646,7 +646,7 @@ CSGShape3D::~CSGShape3D() {
//////////////////////////////////
CSGBrush *CSGCombiner3D::_build_brush() {
return nullptr; //does not build anything
return memnew(CSGBrush); //does not build anything
}
CSGCombiner3D::CSGCombiner3D() {