diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-10 00:01:06 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-10 00:01:06 +0000 |
commit | 1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d (patch) | |
tree | b24de0c366e79946a20dd9b8d802324a266c3347 /assetFactory/use.cpp | |
parent | Merge branch 'model-factory-fixup' (diff) | |
download | ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.tar.bz2 ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.tar.xz ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.zip |
Mutation persists its own members
Diffstat (limited to 'assetFactory/use.cpp')
-rw-r--r-- | assetFactory/use.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/assetFactory/use.cpp b/assetFactory/use.cpp index 898b736..5e45c87 100644 --- a/assetFactory/use.cpp +++ b/assetFactory/use.cpp @@ -49,7 +49,6 @@ struct Lookup : public Persistence::SelectionV<Shape::CPtr> { bool Use::persist(Persistence::PersistenceStore & store) { - return STORE_TYPE && STORE_HELPER(type, Lookup) && STORE_MEMBER(position) && STORE_MEMBER(scale) - && STORE_MEMBER(rotation) && Style::persist(store) + return STORE_TYPE && STORE_HELPER(type, Lookup) && Mutation::persist(store) && Style::persist(store) && STORE_NAME_HELPER("face", faceControllers, Persistence::MapByMember<FaceControllers>); } |