trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
131 stars 19 forks source link

Moving a submodel in the Visual editor after moving a previous submodel gives error #665

Closed jacovandermolen closed 1 year ago

jacovandermolen commented 1 year ago

Subject

Moving a submodel in the Visual editor after moving a previous submodel gives errors

Environment

Steps to reproduce

Select and move a submodel in the Visual editor works fine after the fix (https://github.com/trevorsandy/lpub3d/issues/645) But then, on another page select another submodel after the previous submodel gives error

image

This dialog keeps comming. Some how, the selection is permanent.

I will try to make a screenrecording to illustrate.

Expected behaviour

Where ever I am in the model and at any point selecting a submodel in the Visual editor should work.

Actual behaviour

Selecting another submodel gives error.

Workaround

Save the file, close LPub, restart and open the file again, navigate to the page where the other submodel is and then selecting and moving works.

jacovandermolen commented 1 year ago

Recording of the problem: https://drive.google.com/file/d/1RhyzNYyTIg2EAaFGe7PMPfAWYPRS6KOc/view?usp=sharing

trevorsandy commented 1 year ago

Thank you for reporting this behaviour and providing a demonstration video.

I'll take a look.

I have seen this persistent messaging behaviour before. There is some sort of runaway event processing going on but I have not yet found the source.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been corrected.

Cheers,