Skip to content

Commit

Permalink
Fix mesh instance not updated when changing blend shape values
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjtxietian committed May 23, 2024
1 parent daa81bb commit 97af135
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 97af135

Please sign in to comment.