diff options
| author | Juan Linietsky | 2017-01-12 18:27:27 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-12 18:28:12 -0300 |
| commit | da477b76a98ee7ca4ac16773d3baf1299e053da7 (patch) | |
| tree | 8cd8611b43081d51df4a293ae0b27f0b8ce50fa2 /tools/editor/plugins/shader_graph_editor_plugin.cpp | |
| parent | a971186c266de2df818a7f3dc063a49b0ad51bd8 (diff) | |
| download | godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.gz godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.zst godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.zip | |
some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
Diffstat (limited to 'tools/editor/plugins/shader_graph_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/shader_graph_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/shader_graph_editor_plugin.cpp b/tools/editor/plugins/shader_graph_editor_plugin.cpp index 2ff9f94d9..fa28129b6 100644 --- a/tools/editor/plugins/shader_graph_editor_plugin.cpp +++ b/tools/editor/plugins/shader_graph_editor_plugin.cpp @@ -2315,7 +2315,7 @@ void ShaderGraphView::_create_node(int p_id) { gn->add_child(le); le->set_text(graph->input_node_get_name(type,p_id)); le->connect("text_entered",this,"_input_name_changed",varray(p_id,le)); - TextureFrame *tex = memnew( TextureFrame ); + TextureRect *tex = memnew( TextureRect ); tex->set_expand(true); tex->set_custom_minimum_size(Size2(80,80)); tex->set_drag_forwarding(this); @@ -2530,7 +2530,7 @@ void ShaderGraphView::_sg_updated() { Variant ShaderGraphView::get_drag_data_fw(const Point2 &p_point, Control *p_from) { - TextureFrame* frame = p_from->cast_to<TextureFrame>(); + TextureRect* frame = p_from->cast_to<TextureRect>(); if (!frame) return Variant(); @@ -2576,7 +2576,7 @@ void ShaderGraphView::drop_data_fw(const Point2 &p_point, const Variant &p_data, if (!can_drop_data_fw(p_point, p_data, p_from)) return; - TextureFrame *frame = p_from->cast_to<TextureFrame>(); + TextureRect *frame = p_from->cast_to<TextureRect>(); if (!frame) return; |
