1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

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

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() {