Skip to content
Snippets Groups Projects
  • Roxie Linden's avatar
    57153cf0
    SH-655 - Project mesh viewer crashes on exit. · 57153cf0
    Roxie Linden authored
    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
    57153cf0
    History
    SH-655 - Project mesh viewer crashes on exit.
    Roxie Linden authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.