diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-07-29 16:57:05 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-07-29 17:03:35 +0200 |
commit | 2d98b40d47661913ab3a815deea2a47ab8429ec7 (patch) | |
tree | 86294f72772fa0bc81623fadb2f95c43f3437a98 /servers/physics_2d_server.cpp | |
parent | b62586c9f992c4f258ecdcb2cf734e02deabe0cb (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 'servers/physics_2d_server.cpp')
0 files changed, 0 insertions, 0 deletions