BlenderTools icon indicating copy to clipboard operation
BlenderTools copied to clipboard

Send to Unreal - Export/Push Only Visible in Isolation Mode

Open kyleyoungblom opened this issue 2 years ago • 5 comments

  • Addon: Send to Unreal
  • Steps to Reproduce the Problem: Create empty with mesh children, enter isolation mode, trigger "push assets"
  • Error Log: None
  • OS: Windows 11
  • Addon Version: Send to Unreal 2.3.1
  • Blender Version: Blender 3.4.1
  • Unreal Version: Unreal 5

I recently updated Send to Unreal from v2.1.5 to 3.4.1, and noticed that there seems to have been a change in how assets are pushed to Unreal. I often don't want to export everything in the Blender file, only updating a specific asset. In 2.5.1 and earlier, I could select my intended assets and enter isolation mode, then trigger an export/push. This would only export what was visible, rather than all the assets under the Export collection. This behavior seems to have changed after 2.1.5 to always export everything regardless of isolation. Not sure if this was an intentional design or if it's a bug, but either way I would really love to have the previous functionality back. Thanks!

kyleyoungblom avatar Mar 09 '23 16:03 kyleyoungblom

Yea there was a bug, where all blender data blocks were not queriable in local view. So someone who had a local view of an object that had related data outside of local view would brake. So the solution added was to ensure local view was not on so that no data would be inaccessible to the api.

There is a feature request for exporting only selection.

This I think would also be a feature request, since that was more a bi-product of not handling the other edge case, and we'd need to design this as another feature

james-baber avatar Mar 09 '23 17:03 james-baber

Are there any plans to reinstate this feature? It's pretty much a necessity for my workflow, so I'm having to use old versions of Blender because v 2.1.5 of the addon won't work on 3.5.

kyleyoungblom avatar Apr 17 '23 22:04 kyleyoungblom

Yea I left it open, since I think it should be re-instated. I just don't know when. Can you select what you want to export and use SHIFT+H in the meantime?

Also if anyone want to open a PR for this I can look it over and merge it

james-baber avatar Apr 19 '23 01:04 james-baber

Shift H does work for now, yes. My preferred workflow is to use local view (which I think I was incorrectly referring to as "isolation mode"). Would love it if that could be brought back!

kyleyoungblom avatar Jul 20 '23 11:07 kyleyoungblom

Hello, I wanted to boost this request/issue with a bit more context. I'd been using a very old version of SendToUE (2.1.5) because of a serious bug which broke the location of child meshes, which was fixed in the most recent release. I'm very happy to be able to be using the latest version, but I'm now struggling with this issue again as it was introduced after 2.1.5. There are a couple reasons it would be really helpful to restore the functionality of only exporting objects that are visible in Isolation Mode:

Time In a large scene it takes considerably longer for Blender to process the operation of managing visibility of all objects instead of entering/exiting local view, which is essentially instantaneous. This adds a fair bit of friction to exporting.

Selection persistence Toggling isolation mode doesn't affect selection, however when you execute the "show all" command it changes your active selection to include all objects

Overriding intentional hiding I often have objects that are meant to stay hidden. Executing "show all" will show these objects and I then need to hide them again manually.

Single toggle hotkey vs two commands It's much faster and requires less thought to hit a single hotkey as a toggle for isolating vs one hotkey for hiding and a different one for showing all.

Hope you'll consider reinstating this functionality! Thanks.

kyleyoungblom avatar Nov 11 '23 19:11 kyleyoungblom