You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tilemap with no material assigned on start which I intend to change dynamically in-game. Changing the material field (or the equivalent call to set_material) will not reflect in a change unless you also toggle and untoggle use parent material flag.
Steps to reproduce
Create a tilemap w/ tileset data.
Create a canvas material.
Create a script that preloads the material and then applies the material dynamically (via key or time).
This seemed to be a simple case of a missing condition in an if
statement with a few different flags. I'm not super familiar with the
tilemap code but hopefully this is the correct place to add this check.
Fixesgodotengine#83474
Godot version
4.2 Beta [a574c02]
System information
Linux Fedora Silverblue
Issue description
I have a tilemap with no material assigned on start which I intend to change dynamically in-game. Changing the material field (or the equivalent call to
set_material
) will not reflect in a change unless you also toggle and untoggleuse parent material
flag.Steps to reproduce
Minimal reproduction project
MaterialBug.zip -- A simple project that highlights the issue.
The text was updated successfully, but these errors were encountered: