Fixes an issue where script-based components listed in the scene tree would not have a name on their tree item.

This commit is contained in:
Areloch 2016-05-29 11:54:50 -05:00
parent e48ee1a03a
commit 18184747e3
2 changed files with 48 additions and 2 deletions

View file

@ -66,6 +66,12 @@ public:
/// Declare Console Object.
DECLARE_CONOBJECT(ComponentAsset);
StringTableEntry getComponentName() { return mComponentName; }
StringTableEntry getComponentClass() { return mComponentClass; }
StringTableEntry getFriendlyName() { return mFriendlyName; }
StringTableEntry getFriendlyType() { return mComponentType; }
StringTableEntry getDescription() { return mDescription; }
protected:
virtual void initializeAsset(void) {}
virtual void onAssetRefresh(void) {}