Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after closing error for deleting box shape with cylinder negative volume #7408

Closed
jtbalk opened this issue Dec 3, 2021 · 2 comments
Closed

Comments

@jtbalk
Copy link

jtbalk commented Dec 3, 2021

Version

PrusaSlicer-2.4.0-beta2+linux-x64-202111261557.AppImage

Operating system type + version

MX-19.4_KDE_x64 patito feo November 11 2020

Behavior

Deleting a box shape which has a cylinder negative volume attached causes an error. After the error is closed, PrusaSlicer crashes.

To reproduce:

  • right click build plate> add shape> box
  • right click box > add negative volume > cylinder
  • click on the box in the right side object list to select ONLY the box (deselect the negative volume cylinder)
  • trying to delete only the box will produce error (From Object List You can't delete the last solid part from object)
  • click OK or close on the error message > crashes here

Interestingly, the crash doesn't seem to happen if you use, for example, a box shape with a box negative volume - the error will pop up as expected, but PrusaSlicer will not crash. Sorry, I did not test more combinations of boxes and cylinders and modfiers, but box shape with cylinder negative volume will reproduce a crash.

@n8bot
Copy link
Contributor

n8bot commented Dec 3, 2021

I forgot to report this, I experienced it too. It seems to happen any time you try to delete the parent model before deleting the children. (Except, perhaps maybe the exception you stated. Maybe same shape doesn't crash.)

YuSanka added a commit that referenced this issue Dec 4, 2021
@bubnikv
Copy link
Collaborator

bubnikv commented Dec 4, 2021

Fixed with 8a2c15a
Closing

@bubnikv bubnikv closed this as completed Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants