Testing the new animation workshop
Sim started this discussion in Bug Reporting

I'm testing the new animation workshop and at some point I'm experiencing slowly or unresponsive behaviour.
I'm not so sure yet how to reproduce it. Perhaps one bug may be causing the other to trigger.
I'll just use this thread to report the bugs I'm able to reproduce, and hopefully on the end it is solved.

  • Import a mecabricks model, undo until you cannot undo anymore. Then redo everything.
  • Import a mecabricks model, and just select all (ctrl+a) and delete it.
11 replies · Page 1 of 1
Avatar of Scrubs
Administrator

I am able to reproduce both so I will be able to fix that. Thanks.

Avatar of Scrubs
Administrator

Fixed

Thanks Scrubs, it seems like that bigger models (thousand of bricks) are taking way longer to load or unable to load.

The selection is cloned twice if you import a model, selct all (ctrl+a) and clone the model. (3 times the bricks of the original model)
Unable to rotate or move bricks (using the arrows) after adding a brick.
The part count isn't updated anymore with undo.

Avatar of Scrubs
Administrator
  1. Do you have an example of a model? It is likely to come from the graph panel. However I tried with the Bugatti Chiron model which has more than 3000 parts directly in the root - always open by default - and the difference is not that crazy. I develop with Chrome and it looks like it is much more optimized to work with the DOM. Scene generation with the production and development versions:
  • Chrome: 6sec - 8 sec
  • Firefox: 10sec - 17sec
  • Safari: 11sec - 18 sec

The panel is written exclusively using low level DOM manipulation functions so there aren't much anymore that I can do.

  1. That is not really a bug. The "select all" function currently selects all as per the name. So if you select the group and the content as well, it is redundant. The group itself will be cloned with the existing content and the content selected inside will cloned as well. I had a version where the select all was selecting only the top level objects but it wasn't intuitive and it wasn't working well with the invert selection tool. The other solution is to work on the clone function to only clone the top level of the select objects.

  2. Keyboard Shortcuts are for areas only to the exception of save and undoredo which are global. It allows to have different use of a same key depending on what you are doing. e.g. 3D viewport, nodes, etc. The graph panel is linked to the viewport. I could also attach the part library. I updated the shortcut list a few days ago.

  3. Fixed

Avatar of Scrubs
Administrator

I put online a new version.

  1. 3D viewport hotkeys also work over the part library
  2. Part stats is updated correctly
  3. Clone function is much smarter and only clone the top containers.

That model is loading fine for me too. I tested with https://mecabricks.com/en/models/qeVaPokxvzB .

I've retested the other bugs mentioned and these are fixed. 😃

I've come across an issue where the duplicate tool doesn't work properly with multiple objects selected. This only happens in the animation workshop and it happens with the keyboard shortcut and the tool on the sidebar. The bug automatically occurs whenever I open a new model in the workshop.

Avatar of Scrubs
Administrator

@xforce198 you have to use the latest version and then provide step by step instructions to reproduce it.

I'm using the latest version, as soon as I open the workshop and place any two parts into the scene I experience the bug. When I select both of the parts and duplicate them, the original parts remain highlighted in red, however when I attempt to move or do anything to the parts there is no visible result. The duplicated versions of the parts don't appear in my scene or the graph.

Avatar of Scrubs
Administrator

Fixed. Thanks.

Thanks a lot

Advertising
3 participants
Avatar of Sim
Avatar of Scrubs
Avatar of XForce198

LEGO, the LEGO logo, the Minifigure, and the Brick and Knob configurations are trademarks of the LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, the Mecabricks logo and all content not covered by The LEGO Group's copyright is, unless otherwise stated, ©2011-2024 Mecabricks.