diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-06 08:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 08:49:51 +0200 |
commit | d81ea631d91bd282b823ab03d68123befe4027c0 (patch) | |
tree | c6ecd3ce7a14f0623afbaa30f91517c148fcfef4 /scene/resources/material.cpp | |
parent | 605e33cf394827d8a0c3fc9220d64eddc458a42f (diff) | |
parent | cf1e30a2ed892808871f3f48d8bc2fc78f4b7864 (diff) | |
download | redot-engine-d81ea631d91bd282b823ab03d68123befe4027c0.tar.gz |
Merge pull request #36676 from Calinou/tweak-material-sampling-property-hint
Tweak CanvasItem/material sampling property hint for readability
Diffstat (limited to 'scene/resources/material.cpp')
-rw-r--r-- | scene/resources/material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index e8157c7165..86c7bda2b3 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -2519,7 +2519,7 @@ void BaseMaterial3D::_bind_methods() { ADD_PROPERTYI(PropertyInfo(Variant::BOOL, "uv2_world_triplanar"), "set_flag", "get_flag", FLAG_UV2_USE_WORLD_TRIPLANAR); ADD_GROUP("Sampling", "texture_"); - ADD_PROPERTY(PropertyInfo(Variant::INT, "texture_filter", PROPERTY_HINT_ENUM, "Nearest,Linear,MipmapNearest,MipmapLinear,MipmapNearestAniso,MipmapLinearAniso"), "set_texture_filter", "get_texture_filter"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "texture_filter", PROPERTY_HINT_ENUM, "Nearest,Linear,Nearest Mipmap,Linear Mipmap,Nearest Mipmap Aniso.,Linear Mipmap Aniso."), "set_texture_filter", "get_texture_filter"); ADD_PROPERTYI(PropertyInfo(Variant::BOOL, "texture_repeat"), "set_flag", "get_flag", FLAG_USE_TEXTURE_REPEAT); ADD_GROUP("Shadows", ""); |