Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields.

This commit is contained in:
Areloch 2016-06-02 22:40:29 -05:00
parent 2464b620ba
commit 89672ea0ab
8 changed files with 369 additions and 9 deletions

View file

@ -115,6 +115,8 @@ void MeshComponent::onRemove()
{
Parent::onRemove();
mMeshAsset.clear();
SAFE_DELETE(mShapeInstance);
}