Skip to content

Add a property to disable the All Files filter in FileDialog #12521

Open
@J-K-Tech

Description

@J-K-Tech

Describe the project you are working on

just edit the code on update_filters and add a bool for wether someone wants it or not on the variables of the class.

Describe the problem or limitation you are having in your project

i want people to be able to open only a file type, not any.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

it fool proofs people opening unintended files

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

add an all_files boolean that is set to true by default.. and let people change it to true. and on the end of the update_filters where the part that adds . check the condition to see if is true

If this enhancement will not be used often, can it be worked around with a few lines of script?

if update_filters could be overriden in script then yes.. but is impossible rn since is c++ only

Is there a reason why this should be core and not an add-on in the asset library?

because this is a little tweak on the engine itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions