aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/texture_region_editor_plugin.cpp
diff options
context:
space:
mode:
authorIndah Sylvia2017-09-30 19:44:01 +0700
committerIndah Sylvia2017-09-30 20:18:58 +0700
commit1f30bcb2648555ee8fd0fd66d25732cb8ca1f50d (patch)
treeffc051140d844a92c9519abb4c45875630e7329f /editor/plugins/texture_region_editor_plugin.cpp
parent313b1a639c808677ee4bdca83e35ce645a23d1a2 (diff)
downloadgodot-1f30bcb2648555ee8fd0fd66d25732cb8ca1f50d.tar.gz
godot-1f30bcb2648555ee8fd0fd66d25732cb8ca1f50d.tar.zst
godot-1f30bcb2648555ee8fd0fd66d25732cb8ca1f50d.zip
Renamed Patch9Rect (which was expected to be renamed to NinePacthRect) into NinePatchRect on "drag & drop asset to 2D viewport" feature.
Diffstat (limited to 'editor/plugins/texture_region_editor_plugin.cpp')
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index 3370ce51f..0a7f3ff8f 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -907,7 +907,7 @@ void TextureRegionEditorPlugin::edit(Object *p_object) {
}
bool TextureRegionEditorPlugin::handles(Object *p_object) const {
- return p_object->is_class("Sprite") || p_object->is_class("Patch9Rect") || p_object->is_class("StyleBoxTexture") || p_object->is_class("AtlasTexture");
+ return p_object->is_class("Sprite") || p_object->is_class("NinePatchRect") || p_object->is_class("StyleBoxTexture") || p_object->is_class("AtlasTexture");
}
void TextureRegionEditorPlugin::make_visible(bool p_visible) {