Browse Source

Adds the ability to the ShapeAsset to get the resource of the shape.

Areloch 9 years ago
parent
commit
1299b527f1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Engine/source/T3D/assets/ShapeAsset.h

+ 2 - 0
Engine/source/T3D/assets/ShapeAsset.h

@@ -76,6 +76,8 @@ public:
 
 
    TSShape* getShape() { return mShape; }
    TSShape* getShape() { return mShape; }
 
 
+   Resource<TSShape> getShapeResource() { return mShape; }
+
 protected:
 protected:
    virtual void            onAssetRefresh(void) {}
    virtual void            onAssetRefresh(void) {}
 };
 };