AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

fixes crash in import_instances test #160

Closed pilarmolinalopez closed 5 years ago

pilarmolinalopez commented 5 years ago

Description (this won't be part of the changelog)

We were getting "double delete crashes" in the import_instances test

Changelog

Added

We changed the argument of the std::set erase method to be the Key that the iterator points to (instead of the iterator itself). The erase method also accept as argument the key of the element you want to remove. This change fixed the crash for us

Changed

Deprecated

Removed

Fixed

Checklist (Please do not remove this line)