summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-05 00:06:50 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-05 00:06:50 +0100
commit9962225d89e50a9a3a2f9feeb2b8af5a19bdd4d6 (patch)
treea7b71b8a45b9d373c2b4655b58e03d4413ca8823 /scene
parenta738f508866e955d124c3b6c5bd1ecff44a0077a (diff)
parent08d7c24ebe8e951deec581883e0d0db0534afbe9 (diff)
Merge pull request #69584 from bruvzg/fix_tm_tr_4
[TextMesh] Fix autotranslate.
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/mesh_instance_3d.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp
index 04d164ba88..88b1c340d8 100644
--- a/scene/3d/mesh_instance_3d.cpp
+++ b/scene/3d/mesh_instance_3d.cpp
@@ -322,6 +322,11 @@ void MeshInstance3D::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE: {
_resolve_skeleton_path();
} break;
+ case NOTIFICATION_TRANSLATION_CHANGED: {
+ if (mesh.is_valid()) {
+ mesh->notification(NOTIFICATION_TRANSLATION_CHANGED);
+ }
+ } break;
}
}