Skip to content

Commit

Permalink
Merge pull request #35495 from ericrybick/35373-softbodies-love-to-oc…
Browse files Browse the repository at this point in the history
…cupy-center-stage

Fix Softbody always spawns from world center [gles2]
  • Loading branch information
akien-mga authored Jan 24, 2020
2 parents a1ffa3e + 3d4a2a0 commit 1c6d1fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gles2/rasterizer_storage_gles2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1c6d1fc

Please sign in to comment.