mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-28 15:11:58 +08:00
Merge branch 'tm_fix_hanging_arrange_SPE-1934'
This commit is contained in:
commit
454cbf7e98
@ -27,6 +27,7 @@ bool find_initial_position(Itm &itm,
|
|||||||
{
|
{
|
||||||
if (all_items_range(packing_context).empty()) {
|
if (all_items_range(packing_context).empty()) {
|
||||||
auto rotations = allowed_rotations(itm);
|
auto rotations = allowed_rotations(itm);
|
||||||
|
set_rotation(itm, 0.);
|
||||||
auto chull = envelope_convex_hull(itm);
|
auto chull = envelope_convex_hull(itm);
|
||||||
|
|
||||||
for (double rot : rotations) {
|
for (double rot : rotations) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user