aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/texture.cpp
diff options
context:
space:
mode:
authorPhil Jones2018-02-03 18:38:39 +0000
committerHein-Pieter van Braam2018-02-04 20:11:13 +0100
commit532abf228c1a773caab05eb4722a153f3cdc8d5f (patch)
tree381df71f7cb9c240c35f6f75f1739412902ed36d /scene/resources/texture.cpp
parent248fea2a796c5f6c507209aa9cac7afd26fbd8f8 (diff)
downloadgodot-532abf228c1a773caab05eb4722a153f3cdc8d5f.tar.gz
godot-532abf228c1a773caab05eb4722a153f3cdc8d5f.tar.zst
godot-532abf228c1a773caab05eb4722a153f3cdc8d5f.zip
Fix texture import spelling
(cherry picked from commit d1a471f90967b5591b7bb072514b459cbc1bcb33)
Diffstat (limited to 'scene/resources/texture.cpp')
-rw-r--r--scene/resources/texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp
index 067d123b8..c0f6756fd 100644
--- a/scene/resources/texture.cpp
+++ b/scene/resources/texture.cpp
@@ -76,7 +76,7 @@ void Texture::_bind_methods() {
ClassDB::bind_method(D_METHOD("draw_rect_region", "canvas_item", "rect", "src_rect", "modulate", "transpose", "normal_map", "clip_uv"), &Texture::draw_rect_region, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()), DEFVAL(true));
ClassDB::bind_method(D_METHOD("get_data"), &Texture::get_data);
- ADD_PROPERTY(PropertyInfo(Variant::INT, "flags", PROPERTY_HINT_FLAGS, "Mipmaps,Repeat,Filter,Ansiotropic Linear,Convert to Linear,Mirrored Repeat,Video Surface"), "set_flags", "get_flags");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "flags", PROPERTY_HINT_FLAGS, "Mipmaps,Repeat,Filter,Anisotropic Linear,Convert to Linear,Mirrored Repeat,Video Surface"), "set_flags", "get_flags");
BIND_ENUM_CONSTANT(FLAGS_DEFAULT);
BIND_ENUM_CONSTANT(FLAG_MIPMAPS);