Skip to content

Commit

Permalink
Merge pull request #92244 from jsjtxietian/blend-shape-shadow
Browse files Browse the repository at this point in the history
Fix mesh instance not updated when changing blend shape values
  • Loading branch information
akien-mga committed May 23, 2024
2 parents 4e3d77a + 97af135 commit 68c8e2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servers/rendering/renderer_scene_cull.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 68c8e2e

Please sign in to comment.