diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-03 19:52:55 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-03 19:52:55 +0000 |
commit | 5b7f5f2de723d30d3461f653e90fa4ae95941786 (patch) | |
tree | dac7ef941f41fcf778e0cd6e5c64e8b5276a87ac /assetFactory/assetFactory.cpp | |
parent | Don't leak root node when parsing XML (diff) | |
download | ilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.tar.bz2 ilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.tar.xz ilt-5b7f5f2de723d30d3461f653e90fa4ae95941786.zip |
Split Asset into its own file
Diffstat (limited to 'assetFactory/assetFactory.cpp')
-rw-r--r-- | assetFactory/assetFactory.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/assetFactory/assetFactory.cpp b/assetFactory/assetFactory.cpp index b9724c9..f5fc2b3 100644 --- a/assetFactory/assetFactory.cpp +++ b/assetFactory/assetFactory.cpp @@ -83,10 +83,3 @@ AssetFactory::persist(Persistence::PersistenceStore & store) return STORE_TYPE && STORE_NAME_HELPER("object", shapes, MapObjects) && STORE_NAME_HELPER("asset", assets, MapAssets); } - -bool -Asset::persist(Persistence::PersistenceStore & store) -{ - return STORE_TYPE && STORE_MEMBER(id) && STORE_MEMBER(name) - && STORE_NAME_HELPER("mesh", meshes, Persistence::Appender<FactoryMesh::Collection>); -} |