You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Properly handle empty CSGCombiners
This commit is contained in:
@@ -646,7 +646,7 @@ CSGShape3D::~CSGShape3D() {
|
|||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
||||||
CSGBrush *CSGCombiner3D::_build_brush() {
|
CSGBrush *CSGCombiner3D::_build_brush() {
|
||||||
return nullptr; //does not build anything
|
return memnew(CSGBrush); //does not build anything
|
||||||
}
|
}
|
||||||
|
|
||||||
CSGCombiner3D::CSGCombiner3D() {
|
CSGCombiner3D::CSGCombiner3D() {
|
||||||
|
|||||||
Reference in New Issue
Block a user