Properly handle empty CSGCombiners
(cherry picked from commit 001b6075cb
)
This commit is contained in:
parent
be13df0a08
commit
8ce88d38f2
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user