Fix texture import spelling
This commit is contained in:
parent
047cb97ff7
commit
d1a471f909
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue