enenra / space-engineers-utilities

A Blender 4.0+ addon to streamline working on assets for Space Engineers.
https://spaceengineers.wiki.gg/wiki/Modding/Tools/Space_Engineers_Utilities
GNU General Public License v3.0
45 stars 12 forks source link

Linked objects causing blender to hang. #377

Closed Pathogenex closed 8 months ago

Pathogenex commented 10 months ago

Describe the bug

When using linked copies in separate scenes. (Ctrl+L) "Update Subparts" button will cause blender to freeze/hang. No error logs. Can send you a file with example. Also hangs when exporting without updating subparts.

To Reproduce Steps to reproduce the behavior:

  1. Add cube. Add two hangardoor subpart as child with cube as parent.
  2. Create two more scenes (Top Right)
  3. Goto second scene, add sphere and select it.
  4. Ctrl+L - Link Object To Scene....
  5. Bottom left select third scene.
  6. goto first scene. Select each subpart and select each scene
  7. Try update subparts or export scene. Blender should hang.

Expected behavior Subparts updated/exported correctly without hanging.

Screenshots abc abcd

BLEND file for an example file message me on discord - Pathogen

Versions (please complete the following information):

enenra commented 8 months ago

I think we discussed this briefly on discord but basically SEUT / Blender can't really deal with linked copies of objects / collections etc. I'm also not sure those can be detected at all... I'll need to look into it. It might be possible to display an error to the user if they try to export while using this feature.

enenra commented 8 months ago

Haven't found a good way to do this, gonna close.