diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2017-01-12 18:27:27 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-12 18:28:12 -0300 |
| commit | da477b76a98ee7ca4ac16773d3baf1299e053da7 (patch) | |
| tree | 8cd8611b43081d51df4a293ae0b27f0b8ce50fa2 /tools/editor/plugins/texture_region_editor_plugin.cpp | |
| parent | a971186c266de2df818a7f3dc063a49b0ad51bd8 (diff) | |
| download | redot-engine-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.gz | |
some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
Diffstat (limited to 'tools/editor/plugins/texture_region_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/texture_region_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/texture_region_editor_plugin.cpp b/tools/editor/plugins/texture_region_editor_plugin.cpp index 50e2cfb199..ca49684063 100644 --- a/tools/editor/plugins/texture_region_editor_plugin.cpp +++ b/tools/editor/plugins/texture_region_editor_plugin.cpp @@ -643,7 +643,7 @@ void TextureRegionEditor::edit(Object *p_obj) atlas_tex->disconnect("atlas_changed",this,"_edit_region"); if (p_obj) { node_sprite = p_obj->cast_to<Sprite>(); - node_patch9 = p_obj->cast_to<Patch9Frame>(); + node_patch9 = p_obj->cast_to<NinePatchRect>(); if (p_obj->cast_to<StyleBoxTexture>()) obj_styleBox = Ref<StyleBoxTexture>(p_obj->cast_to<StyleBoxTexture>()); if (p_obj->cast_to<AtlasTexture>()) { @@ -897,7 +897,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode* p_editor) separator->set_h_size_flags(Control::SIZE_EXPAND_FILL); hb_tools->add_child(separator); - icon_zoom = memnew( TextureFrame ); + icon_zoom = memnew( TextureRect ); hb_tools->add_child(icon_zoom); zoom_out = memnew( ToolButton ); |
