Fix #104576: FBX export of Edit Mode Objects while Blender is not in Edit Mode can fail. #104633

Merged

1 Commits

Author SHA1 Message Date
8fff063ff7 Fix #104576: FBX export of Edit Mode Objects while Blender is not in Edit Mode can fail.
All Objects to be exported are now checked for not being in Edit Mode
prior to exporting.

In the rare case that an Object is found to be in Edit Mode, it is
temporarily added to the current view layer, temporarily set as active
and then set to Object Mode.

If an Object cannot be set to Object mode for some reason, an error is
reported to the Operator and exporting is aborted.
2023-06-08 22:40:22 +01:00