trevorsandy / lpub3d

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

Abnormal rendering behavior (Native renderer) #726

Closed technicbasics closed 1 year ago

technicbasics commented 1 year ago

Subject

If motors are installed on one side, the renderer has an abnormal behavior. Both the motors and the rest of the model are no longer rendered correctly. If the model is used as a sub-model, the model is rendered abnormally when assembled, but it is rendered correctly in the main model. This behavior occurs with L, XL and servo motors. M motors are displayed correctly. I have already tried different library versions without success. Tested versions: 2.4.7 2.4.6r363, r352, r324, r306, r252 The behavior varies depending on the version. Up to version r252 everything works correctly. Here are some pictures. I tested the behavior with the submodels with the Pistenbully file in the cloud.

Environment

Operating system

2 4 6r252

2 4 6r306

2 4 7r0

2 4 6_r363

2 4 6_r190

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

I will take a look.

The problem seems to be in the cabling and cable connectors. Could you also provide the motoren.mpd example model file used in the first 2 images ?

Cheers,

technicbasics commented 1 year ago

M0toren.zip

trevorsandy commented 1 year ago

This behaviour has been corrected.

This was a regression caused by #718.

AbnormalRender_01

Cheers,

technicbasics commented 1 year ago

Many thanks!