diff options
author | Eric Rybicki <info@ericrybicki.com> | 2020-01-24 09:25:05 +0100 |
---|---|---|
committer | Eric Rybicki <info@ericrybicki.com> | 2020-01-24 09:25:05 +0100 |
commit | 3d4a2a09f6b3587bd6aed48677b476da5db52721 (patch) | |
tree | e596189c3d4852cedd7b6943e027276f781c3311 /drivers | |
parent | 93aba68026bb1924961e66da392367c8d6d55c9b (diff) |
Fix Softbody always spawns from world center [gles2]
Fixes #35373
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index c633d17cca..cd6a7d86c6 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -2692,6 +2692,7 @@ void RasterizerStorageGLES2::mesh_set_custom_aabb(RID p_mesh, const AABB &p_aabb ERR_FAIL_COND(!mesh); mesh->custom_aabb = p_aabb; + mesh->instance_change_notify(true, false); } AABB RasterizerStorageGLES2::mesh_get_custom_aabb(RID p_mesh) const { |