diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-12-23 01:48:44 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-12-23 01:48:44 -0800 |
commit | 57153cf0f1fffe669b9d8871c33f9c4aaba67a2f (patch) | |
tree | 42e58fd10165bcd4bb7e65f5fbab7a16b518ddc3 /indra/llmath/llsdutil_math.h | |
parent | 4351160958efa1c352e8af1ab3f48c1486ba9c5c (diff) |
SH-655 - Project mesh viewer crashes on exit.
A copy constructor was implemented which did a memcpy,
which included the vtable pointer which was to another object of another
class (same child though). This resulted in the wrong destructor
being called.
The reason for the memcpy was for alignment purposes.
The solution was to move to LLVector4a, which is intrinsicly aligned.
Also, did some performance optimizations based on the LLVector4a optimizations.
The solution was to re-implement the
Diffstat (limited to 'indra/llmath/llsdutil_math.h')
0 files changed, 0 insertions, 0 deletions