From 97af135f1bb1f15525a497f84c607b74d0165370 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Wed, 22 May 2024 16:29:43 +0800 Subject: [PATCH] Fix mesh instance not updated when changing blend shape values --- servers/rendering/renderer_scene_cull.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/rendering/renderer_scene_cull.cpp b/servers/rendering/renderer_scene_cull.cpp index 96c0479ac3e..b02d3def88f 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) {