mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 05:17:19 +00:00
Revert "Fix assembly parts omitted by height range modifiers" (#15301)
This commit is contained in:
@@ -559,11 +559,9 @@ static inline bool model_volume_solid_or_modifier(const ModelVolume &mv)
|
|||||||
|
|
||||||
static inline Transform3f trafo_for_bbox(const Transform3d &object_trafo, const Transform3d &volume_trafo)
|
static inline Transform3f trafo_for_bbox(const Transform3d &object_trafo, const Transform3d &volume_trafo)
|
||||||
{
|
{
|
||||||
// Orca: Keep the volume's local XY offset for multipart overlap checks, but remove the object's bed placement.
|
Transform3d m = object_trafo * volume_trafo;
|
||||||
Transform3d object_trafo_local = object_trafo;
|
m.translation().x() = 0.;
|
||||||
object_trafo_local.translation().x() = 0.;
|
m.translation().y() = 0.;
|
||||||
object_trafo_local.translation().y() = 0.;
|
|
||||||
Transform3d m = object_trafo_local * volume_trafo;
|
|
||||||
return m.cast<float>();
|
return m.cast<float>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user