Fix "mcl_core:dirt_with_dry_grass" to be "mcl_core:dirt_with_grass" with the savanna color index. #3408

Merged
ancientmarinerdev merged 3 commits from fix_dirt_dry_grass into master 2023-02-10 03:50:28 +01:00
Member

Tell us about your pull request! Reference related issues, if necessary

This PR fixes #2117
And, this PR fixes #676 (even though it is closed, the "fix" didn't work as expected.)

Testing

Tell us how to test your changes!

Have an old world, and use this to fix the node. look for unknown nodes / nodes with no texture.

Tell us about your pull request! Reference related issues, if necessary This PR fixes #2117 And, this PR fixes #676 (even though it is closed, the "fix" didn't work as expected.) ### Testing Tell us how to test your changes! Have an old world, and use this to fix the node. look for unknown nodes / nodes with no texture.
Michieal added 1 commit 2023-02-06 03:21:50 +01:00
Contributor

I still get these with the updated code.

no texture in an old world

I still get these with the updated code. ![no texture in an old world](https://i.imgur.com/Ruht4Iq.jpg)

I still get these with the updated code.

no texture in an old world

I'm wondering if it's because it already ran on your world.

run_at_every_load = false,

may help locally. It would need a later version number if that bit after block name is game version.

If it thinks it's run, it'll probably not try again.

You can try:

minetest.log("action", "Lbm running")

If you want to see if it's triggering. Reeeee!!11!!

> I still get these with the updated code. > > ![no texture in an old world](https://i.imgur.com/Ruht4Iq.jpg) I'm wondering if it's because it already ran on your world. run_at_every_load = false, may help locally. It would need a later version number if that bit after block name is game version. If it thinks it's run, it'll probably not try again. You can try: minetest.log("action", "Lbm running") If you want to see if it's triggering. Reeeee!!11!!
Author
Member

I can change it to run at every load. Since it's replacing nodes, it should have a seriously reduced performance hit, than say an lbm that runs at every load that doesn't swap out nodes. That should fix any existing nodes that the old version ran on previously.

I can change it to run at every load. Since it's replacing nodes, it should have a seriously reduced performance hit, than say an lbm that runs at every load that *doesn't* swap out nodes. That *should* fix any existing nodes that the old version ran on previously.
Michieal added 1 commit 2023-02-06 22:55:17 +01:00
Michieal added 1 commit 2023-02-06 22:56:24 +01:00

I can change it to run at every load. Since it's replacing nodes, it should have a seriously reduced performance hit, than say an lbm that runs at every load that doesn't swap out nodes. That should fix any existing nodes that the old version ran on previously.

Fair points, it looks good. It would be good to get feedback from Nicu or someone who has this issue first then I'm happy to merge.

> I can change it to run at every load. Since it's replacing nodes, it should have a seriously reduced performance hit, than say an lbm that runs at every load that *doesn't* swap out nodes. That *should* fix any existing nodes that the old version ran on previously. Fair points, it looks good. It would be good to get feedback from Nicu or someone who has this issue first then I'm happy to merge.
Contributor

Fixed, thanks a lot! :D

Fixed, thanks a lot! :D
ancientmarinerdev approved these changes 2023-02-10 03:48:22 +01:00
ancientmarinerdev left a comment
Owner

Awesome stuff. Simple yet effective and another happy customer :).

Thanks for fixing this.

Awesome stuff. Simple yet effective and another happy customer :). Thanks for fixing this.
ancientmarinerdev added this to the 0.83.0 - Safe and Sound milestone 2023-02-10 03:50:10 +01:00
ancientmarinerdev merged commit 3c13ce1d6b into master 2023-02-10 03:50:28 +01:00
ancientmarinerdev deleted branch fix_dirt_dry_grass 2023-02-10 03:50:47 +01:00
Author
Member

Fixed, thanks a lot! :D

AWESOME!!!

> Fixed, thanks a lot! :D AWESOME!!!
Sign in to join this conversation.
No reviewers
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#3408
No description provided.