summaryrefslogtreecommitdiffstats
path: root/scene/2d/mesh_instance_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/mesh_instance_2d.cpp')
-rw-r--r--scene/2d/mesh_instance_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/mesh_instance_2d.cpp b/scene/2d/mesh_instance_2d.cpp
index 4fc375ff8d..28af4184ca 100644
--- a/scene/2d/mesh_instance_2d.cpp
+++ b/scene/2d/mesh_instance_2d.cpp
@@ -70,7 +70,7 @@ void MeshInstance2D::set_texture(const Ref<Texture2D> &p_texture) {
}
texture = p_texture;
queue_redraw();
- emit_signal(SceneStringNames::get_singleton()->texture_changed);
+ emit_signal(SceneStringName(texture_changed));
}
Ref<Texture2D> MeshInstance2D::get_texture() const {