rednblackgames/HyperLap2D

Empty composite crash the Editor

aallnneess opened this issue · 0 comments

If a composite is created using an image and this image is deleted within the composite and it is switched back to the MainView, the empty composite cannot be deleted. The program freezes.

To Reproduce
Steps to reproduce the behavior:

  1. Make a picture a composite.
  2. Go inside composite.
  3. Delete the image.
  4. Go outside composite.
  5. No more changes to edit or delete the composite. The program freezes.

Expected behavior
Not possible to create an empty composite - or not possible to delete the last object within a composite.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • HyperLap2D Version [newest]