Blender Git Loki
Git Commits -> Revision 6e7fbcf
Revision 6e7fbcf by Gaia Clary April 19, 2018, 20:14 (GMT) |
Refactor Collada: Make BCAnimation class more self contained Follwing funtionality was previously located in BCAnimationSampler, but makes not much sense there: * Moved the creation of the reference object into the Class constructor * Moved the destruction of the reference to the Destructor Furthermore: * added get_reference() to better shield the rerference object from unintentional access * BCAnimationObjectMap now contains Pointers to BCAnimation objects instead of containing full object instances. This avoids unnecessary copying of the Animation datastructures when adding BCAnimation objects to the BCAnimationObjectMap. Note: This forces us to delete the BCAnimation objects in the BCAnimationSampler destructor. |
Commit Details:
Full Hash: 6e7fbcfbd1a7248ac2232ec59ab775efe4806657
Parent Commit: 3f58e82
Lines Changed: +33, -17