summaryrefslogtreecommitdiffstats
path: root/scene/resources/multimesh.cpp
diff options
context:
space:
mode:
authorbmolyneaux <bmolynea@gmail.com>2022-12-15 17:01:17 -0800
committerbmolyneaux <bmolynea@gmail.com>2022-12-15 17:01:17 -0800
commit1e3a861e1a25baa71f1610aeab6ca0fe69d0c509 (patch)
tree1d63a7ede1c915c2312ff3dbcccda40ded42fb4d /scene/resources/multimesh.cpp
parentf18f2740da9cce7383c2aa41fe8d081d56c8b6cf (diff)
downloadredot-engine-1e3a861e1a25baa71f1610aeab6ca0fe69d0c509.tar.gz
Queue redraw when MultiMesh instance transform changes
Fixes: #66849 This is a 4.0 version of #54899.
Diffstat (limited to 'scene/resources/multimesh.cpp')
-rw-r--r--scene/resources/multimesh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/multimesh.cpp b/scene/resources/multimesh.cpp
index ff4a7a4560..8afb0563b2 100644
--- a/scene/resources/multimesh.cpp
+++ b/scene/resources/multimesh.cpp
@@ -242,6 +242,7 @@ void MultiMesh::set_instance_transform(int p_instance, const Transform3D &p_tran
void MultiMesh::set_instance_transform_2d(int p_instance, const Transform2D &p_transform) {
RenderingServer::get_singleton()->multimesh_instance_set_transform_2d(multimesh, p_instance, p_transform);
+ emit_changed();
}
Transform3D MultiMesh::get_instance_transform(int p_instance) const {