trevorsandy / lpub3d

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

add callout pointer context menu item missing #661

Closed DanieleBenedettelli closed 1 year ago

DanieleBenedettelli commented 1 year ago

Subject

When right-clicking on the callout, the Add Pointer Callout context menu item is missing.

Environment

dev release 2.4.5 rev 62 build 3270 Win 10 x64

Configuration

Default out of the distribution zip file

Screenshots

callout add pointer context menu item missing

Steps to reproduce

Right click on a callout, the add pointer item is missing. callout_pointer_bug.zip

Expected behaviour

I should be able to manually add a callout pointer

Actual behaviour

The menu item is missing, and I can't add the pointer.

Workaround

I copy and paste the meta commands from existing projects where I added callout pointers

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

I am not able to reproduce this behaviour on the latest DevOps build - so I imagine this has been corrected after build 3270.

The sample model file you provided did not have any callout commands:

0 FILE main.ldr
0 Author: Danny's LAB
1 321 0 -10 0 1 0 0 0 1 0 0 0 1 3004.dat
1 16 0 -34 0 1 0 0 0 1 0 0 0 1 subModel-1.ldr
0 FILE subModel-1.ldr
0 Author: Danny's LAB
1 321 0 0 0 1 0 0 0 1 0 0 0 1 3004.dat
1 321 0 -24 0 1 0 0 0 1 0 0 0 1 3004.dat

With the following callout commands...

0 FILE main.ldr
0 Author: Danny's LAB
1 321 0 -10 0 1 0 0 0 1 0 0 0 1 3004.dat
0 !LPUB CALLOUT BEGIN
1 16 0 -34 0 1 0 0 0 1 0 0 0 1 subModel-1.ldr
0 !LPUB CALLOUT END
0 FILE subModel-1.ldr
0 Author: Danny's LAB
1 321 0 0 0 1 0 0 0 1 0 0 0 1 3004.dat
1 321 0 -24 0 1 0 0 0 1 0 0 0 1 3004.dat

I get this result: Screenshot - 01_01_2023 , 23_56_53

...and with this update:

0 FILE main.ldr
0 Author: Danny's LAB
1 321 0 -10 0 1 0 0 0 1 0 0 0 1 3004.dat
0 !LPUB CALLOUT BEGIN
0 !LPUB CALLOUT PLI PER_STEP FALSE
1 16 0 -34 0 1 0 0 0 1 0 0 0 1 subModel-1.ldr
0 !LPUB CALLOUT END
0 FILE subModel-1.ldr
0 Author: Danny's LAB
1 321 0 0 0 1 0 0 0 1 0 0 0 1 3004.dat
1 321 0 -24 0 1 0 0 0 1 0 0 0 1 3004.dat

Screenshot - 01_01_2023 , 23_58_37

Cheers,