diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/curves_geometry.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/curves_geometry.cc b/source/blender/blenkernel/intern/curves_geometry.cc index 1c3715aaf69..b58781ce806 100644 --- a/source/blender/blenkernel/intern/curves_geometry.cc +++ b/source/blender/blenkernel/intern/curves_geometry.cc @@ -1370,6 +1370,7 @@ void CurvesGeometry::remove_curves(const IndexMask curves_to_delete) } if (curves_to_delete.size() == this->curves_num()) { *this = {}; + return; } *this = copy_with_removed_curves(*this, curves_to_delete); } |