mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-17 12:51:03 +00:00
Workaround for 3D view and GUI buttons not in synch when object's size is almost identical to print volume's size
This commit is contained in:
1 parent
f8b1dc5506
commit
cd3be74e3b
4 files changed
+29
-4
No files matched your search
@@ -522,7 +522,7 @@ std::string Print::validate() const
|
||||
// Allow the objects to protrude below the print bed, only the part of the object above the print bed will be sliced.
|
||||
print_volume.min.z = -1e10;
|
||||
for (PrintObject *po : this->objects) {
|
||||
if (! print_volume.contains(po->model_object()->tight_bounding_box(false)))
|
||||
if (!print_volume.contains_quantized(po->model_object()->tight_bounding_box(false)))
|
||||
return "Some objects are outside of the print volume.";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user