Page MenuHome

Fix T97751: New OBJ IO - File Browser doesn't filter by .obj/.mtl
ClosedPublic

Authored by Julian Eisel (Severin) on May 5 2022, 4:24 PM.

Details

Summary

Makes the File Browser filter by .obj and .mtl files by default again. Note that this commit focuses on fixing this specific bug, further refactors/tweaks/fixes are planned (see D14863).

Diff Detail

Repository
rB Blender

Event Timeline

Julian Eisel (Severin) requested review of this revision.May 5 2022, 4:24 PM
Julian Eisel (Severin) created this revision.
source/blender/editors/io/io_obj.c
428

The reason for this change is not obvious - Basically this file filter and the filter_glob are OR'ed, so if the file is of any format covered by FILE_TYPE_OBJECT_IO, it will be shown.
This is done in a better way in D14863.

Nice! Should this be committed to 3.2 branch as well?

This revision is now accepted and ready to land.May 6 2022, 8:58 AM

Nice! Should this be committed to 3.2 branch as well?

Makes sense. rBaee8e4903146