Skip to content

Image: Add missing error printing to format specific functions#97780

Closed
dustdfg wants to merge 1 commit intogodotengine:masterfrom
dustdfg:image_loader/more_disabled_module_warnings
Closed

Image: Add missing error printing to format specific functions#97780
dustdfg wants to merge 1 commit intogodotengine:masterfrom
dustdfg:image_loader/more_disabled_module_warnings

Conversation

@dustdfg
Copy link
Contributor

@dustdfg dustdfg commented Oct 3, 2024

Plus updated docs

Note: it doesn't affect load_from_file because it uses dynamic loaders while these functions are wrappers around direct calls to functions defined inside modules without using resource loader api

Note: png functions weren't updated because png is a driver (not a module) and can't be disabled

@dustdfg dustdfg requested review from a team as code owners October 3, 2024 17:52
Copy link
Contributor

@radiantgurl radiantgurl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

@Chaosus Chaosus added this to the 4.4 milestone Oct 4, 2024
@akien-mga akien-mga changed the title Image: add missing error printing to format specific functions Image: Add missing error printing to format specific functions Nov 7, 2024
Copy link
Member

@Calinou Calinou Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for reviewers: This message is correct, as OpenEXR saving is only available in editor builds. Making it available in export templates has to be handled separately, e.g. using #73003.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good to merge after applying suggestions.

Plus updated docs

Note it doesn't affect load_from_file because it uses dynamic loaders
while these functions are wrappers around direct calls to functions
defined inside modules without using resource loader api

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
@dustdfg dustdfg force-pushed the image_loader/more_disabled_module_warnings branch from 13c1956 to a8e59f5 Compare November 7, 2024 19:04
@dustdfg
Copy link
Contributor Author

dustdfg commented Nov 11, 2024

@Calinou ready for approve?

@dustdfg
Copy link
Contributor Author

dustdfg commented Nov 24, 2024

I am not going to do anything to update this PR. But it is not bad in IMO so I am not closing it... There are people with "write access" so if you need it you can correct it. I am abandoning this PR... If you want close it

@Calinou
Copy link
Member

Calinou commented Nov 27, 2024

@Mickeon
Copy link
Member

Mickeon commented Nov 27, 2024

I assume you wanted to close this one 😅

@Mickeon Mickeon closed this Nov 27, 2024
@AThousandShips AThousandShips removed this from the 4.4 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants