diff --git a/Engine/source/ts/tsShapeConstruct.cpp b/Engine/source/ts/tsShapeConstruct.cpp index efac6e241..74582cefd 100644 --- a/Engine/source/ts/tsShapeConstruct.cpp +++ b/Engine/source/ts/tsShapeConstruct.cpp @@ -490,7 +490,7 @@ bool TSShapeConstructor::onAdd() mShapeAsset = mShapeAssetId; if (mShapeAsset.notNull()) { - Resource shape = mShapeAsset->getShapeResource(); + TSShape* shape = mShapeAsset->getShape(); if (shape) _onLoad(shape);