(cherry picked from commit 9be7b30f3536057b22fd70d5367268749c1a7ea9)
@@ -136,18 +136,13 @@ void CSGShape::_make_dirty() {
if (!is_inside_tree())
return;
- if (dirty) {
- return;
- }
-
- dirty = true;
if (parent) {
parent->_make_dirty();
- } else {
- //only parent will do
+ } else if (!dirty) {
call_deferred("_update_shape");
}
+
+ dirty = true;
CSGBrush *CSGShape::_get_brush() {