mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #92244 from jsjtxietian/blend-shape-shadow
Fix mesh instance not updated when changing blend shape values
This commit is contained in:
commit
68c8e2eaf3
@ -958,6 +958,8 @@ void RendererSceneCull::instance_set_blend_shape_weight(RID p_instance, int p_sh
|
|||||||
if (instance->mesh_instance.is_valid()) {
|
if (instance->mesh_instance.is_valid()) {
|
||||||
RSG::mesh_storage->mesh_instance_set_blend_shape_weight(instance->mesh_instance, p_shape, p_weight);
|
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) {
|
void RendererSceneCull::instance_set_surface_override_material(RID p_instance, int p_surface, RID p_material) {
|
||||||
|
Loading…
Reference in New Issue
Block a user