diff options
Diffstat (limited to 'scene/resources/material.h')
| -rw-r--r-- | scene/resources/material.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h index 06c542dc61..fe1448cd4c 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -85,7 +85,8 @@ class ShaderMaterial : public Material { GDCLASS(ShaderMaterial, Material); Ref<Shader> shader; - HashMap<StringName, Variant> param_cache; + mutable HashMap<StringName, StringName> remap_cache; + mutable HashMap<StringName, Variant> param_cache; protected: bool _set(const StringName &p_name, const Variant &p_value); |