Not Saving Group Changes
ricecake a commencé cette discussion dans Bug Reporting

I am trying to fix an error in my model X1k2qx4baE0 but it seems like it's not saving my changes. I mistakenly have the hose as part of the "Nigel" group. I removed it from that group and added it to a different group, and then hit Save. When I reopen the model, the hose is back as part of the Nigel group.

6 réponses · Page 1 sur 1
Avatar de Scrubs
Administrateur

Is it a public model?

Yes, but the groups issue only affects the editor.

Avatar de Scrubs
Administrateur

If it is public, I can go in the editor for the model and try to replicate the issue.

http://mecabricks.com/en/models/X1k2qx4baE0
I am trying to move the Flex Tube 12M from the "Nigel" group to the "Data Station & Recharge Dock" group.

Avatar de Scrubs
Administrateur

All sorted!

This bug may have been here for ever 😉

The issue was only happening with flexible parts. To explain, parts are added to the viewport asynchronously but with flexible pieces some of them require additional geometry files that need to be loaded from the server. However, the time these new files were loaded, other regular pieces had been added to the scene and because of a context error in the 'for' loop, the flexible pieces were added as a child of whatever group the for loop was at (generally the last one as it takes more time to download something than to go through 1000s of pieces).

Happy that I know use ECMAScript 6 now. I only had to use 'let' instead of 'var'. 3 letters making the whole difference. Took me an hour to find the bug though.

Bottom lines is that it now works fine.

Fantastic! Thank you so much!

Publicité
2 participants
Avatar de Scrubs

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.