From 1299b527f1a405f78a79fd8ee045087fcc906d16 Mon Sep 17 00:00:00 2001 From: Areloch Date: Fri, 13 May 2016 23:14:55 -0500 Subject: [PATCH] Adds the ability to the ShapeAsset to get the resource of the shape. --- Engine/source/T3D/assets/ShapeAsset.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Engine/source/T3D/assets/ShapeAsset.h b/Engine/source/T3D/assets/ShapeAsset.h index 7c87cf8de..dac95a45e 100644 --- a/Engine/source/T3D/assets/ShapeAsset.h +++ b/Engine/source/T3D/assets/ShapeAsset.h @@ -76,6 +76,8 @@ public: TSShape* getShape() { return mShape; } + Resource getShapeResource() { return mShape; } + protected: virtual void onAssetRefresh(void) {} };