[TextMesh] Fix autotranslate.

This commit is contained in:
bruvzg 2022-12-04 23:04:48 +02:00
parent 015dc492de
commit 08d7c24ebe
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38

View file

@ -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;
}
}