Allow drop of sunken objects (#14243)

This commit is contained in:
Vovodroid authored and GitHub committed 2026-06-16 18:13:10 -03:00
1 parent e700113b39
commit 5a6e31ac5b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -525,7 +525,7 @@ void Selection::center()
void Selection::drop()
{
if (this->get_bounding_box().min.z() < SINKING_Z_THRESHOLD) {
if (std::abs(this->get_bounding_box().min.z()) < -SINKING_Z_THRESHOLD) {
return; // shouldnt happen, but better check anyways, already checked in append_menu_item_drop()
}