Add support for disabling per-filetype ImageFormatLoader
import
#99666
+22
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was the simplest way I could conceive of to address #69085 (comment), this would pave the way to restore functional DDS runtime image loading without the import process messing them up. If
should_import()
returns false then it'll be skipped forImageLoader::get_recognized_extensions()
whenp_import
is true. (which is every case that function is called except forParticles2DEditorPlugin
's constructor from what I can see)