Page MenuHome

Default "Selected Only" to True When Exporting Objects
Needs ReviewPublic

Authored by Aku Kettunen (akuspel) on Jun 7 2022, 9:49 AM.

Details

Summary

Problem
When exporting objects, it is common to only want to export the objects you have selected. However, the "Selected Only" option is false by default, which adds an extra step every time you want to export objects in a new file. Since exporting individual or specific objects is more common than exporting a whole scene, it would make sense to change the default value to true.

RCS post related to issue

Solution
Change "export_selected_objects" parameter to true for each exporter, so "Selected Only" defaults to true.

Old: Selected Only is off by default

New: Selected Only is on by default

Limitations:
The default "Selected Only" value would have to be updated to true separately for each addon to maintain consistancy.

Diff Detail

Event Timeline

Aku Kettunen (akuspel) requested review of this revision.Jun 7 2022, 9:49 AM
Aku Kettunen (akuspel) created this revision.
Aku Kettunen (akuspel) edited the summary of this revision. (Show Details)

Update "Selected Only" for other .c exporters in addition to io_obj.c

There is an existing patch to make this change, that goes a bit further to make the options consistent between exporters: D9643
I think that change should probably be finished instead. Feel free to commandeer the patch.

Was this change discussed & approved by the Pipeline, Assets & I/O module? This is typically something that would be discussed in the #pipeline-assets-io-module Blender Chat channel or during one of the module meetings.

Was this change discussed & approved by the Pipeline, Assets & I/O module? This is typically something that would be discussed in the #pipeline-assets-io-module Blender Chat channel or during one of the module meetings.

I haven't personally been part of such discussions yet