summaryrefslogtreecommitdiffstats
path: root/servers
diff options
context:
space:
mode:
authorjsjtxietian <jsjtxietian@outlook.com>2024-05-22 16:29:43 +0800
committerjsjtxietian <jsjtxietian@outlook.com>2024-05-23 12:36:31 +0800
commit97af135f1bb1f15525a497f84c607b74d0165370 (patch)
treee770768603a3fbbe396ed4029fb25c62670990b2 /servers
parentdaa81bbb7d1c6d75d1711595604178ee62a5801d (diff)
downloadredot-engine-97af135f1bb1f15525a497f84c607b74d0165370.tar.gz
Fix mesh instance not updated when changing blend shape values
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering/renderer_scene_cull.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/renderer_scene_cull.cpp b/servers/rendering/renderer_scene_cull.cpp
index 96c0479ac3..b02d3def88 100644
--- a/servers/rendering/renderer_scene_cull.cpp
+++ b/servers/rendering/renderer_scene_cull.cpp
@@ -958,6 +958,8 @@ void RendererSceneCull::instance_set_blend_shape_weight(RID p_instance, int p_sh
if (instance->mesh_instance.is_valid()) {
RSG::mesh_storage->mesh_instance_set_blend_shape_weight(instance->mesh_instance, p_shape, p_weight);
}
+
+ _instance_queue_update(instance, false, false);
}
void RendererSceneCull::instance_set_surface_override_material(RID p_instance, int p_surface, RID p_material) {