summaryrefslogtreecommitdiff
path: root/modules/bullet/soft_body_bullet.h
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-07-29 16:57:05 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2018-07-29 17:03:35 +0200
commit2d98b40d47661913ab3a815deea2a47ab8429ec7 (patch)
tree86294f72772fa0bc81623fadb2f95c43f3437a98 /modules/bullet/soft_body_bullet.h
parentb62586c9f992c4f258ecdcb2cf734e02deabe0cb (diff)
Fix nested Vectors
When a Vector of Vectors gets resized the 'this' pointer of the Vectors change. This means that the VectorWriteProxy _parent references get invalidated. Thanks a lot to @ibrahn for finding the root cause of this. To fix this we now create a pointer to CowData in Vector (which won't change when the vectors move) and pass that to the write proxy also. This fixes #20475
Diffstat (limited to 'modules/bullet/soft_body_bullet.h')
0 files changed, 0 insertions, 0 deletions