Merge pull request #40919 from hoontee/master-2

Properly handle empty CSGCombiners
This commit is contained in:
Rémi Verschelde 2020-08-11 11:57:18 +02:00 committed by GitHub
commit 920f8c86ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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