Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix media overriding regression #12602

Merged
merged 2 commits into from
Jul 29, 2022
Merged

Conversation

appgurueu
Copy link
Contributor

Fixes #12557. Ruben replaced a reverse iterator (crbegin & crend) with a normal one. Reverted that and added a comment since this is a reregression (the second time mod media overriding was broken) so that this doesn't happen again.

@rubenwardy rubenwardy added this to the 5.6.0 milestone Jul 28, 2022
@rubenwardy
Copy link
Member

Would be nice to have a test for this in src/unittest/test_servermodmanager.cpp

@erlehmann
Copy link
Contributor

erlehmann commented Jul 28, 2022

I agree. If this has been broken twice, it should be tested in an automatic fashion.

Also, this commit is missing manual testing instructions. Just look at devtest and see that there are no error textures on the side of grass blocks?

@appgurueu
Copy link
Contributor Author

I agree. If this has been broken twice, it should be tested in an automatic fashion.

Currently working on it (paths are a bit messy though; I suppose I'll go find the relevant paths using RegEx endswith).

Also, this commit is missing manual testing instructions. Just look at devtest and see that there are no error textures?

See the linked issue (yes).

Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

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

works

@sfan5 sfan5 merged commit 99c8295 into minetest:master Jul 29, 2022
@appgurueu appgurueu deleted the fix-media-regression branch March 31, 2024 18:40
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.

Mods can no longer override textures/media based on load order (devtest error)
5 participants