Merge pull request #35495 from ericrybick/35373-softbodies-love-to-occupy-center-stage
Fix Softbody always spawns from world center [gles2]
This commit is contained in:
commit
1c6d1fcf95
|
@ -2692,6 +2692,7 @@ void RasterizerStorageGLES2::mesh_set_custom_aabb(RID p_mesh, const AABB &p_aabb
|
||||||
ERR_FAIL_COND(!mesh);
|
ERR_FAIL_COND(!mesh);
|
||||||
|
|
||||||
mesh->custom_aabb = p_aabb;
|
mesh->custom_aabb = p_aabb;
|
||||||
|
mesh->instance_change_notify(true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
AABB RasterizerStorageGLES2::mesh_get_custom_aabb(RID p_mesh) const {
|
AABB RasterizerStorageGLES2::mesh_get_custom_aabb(RID p_mesh) const {
|
||||||
|
|
Loading…
Reference in New Issue