16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00

make TAnimModel possible to delete

This commit is contained in:
milek7
2019-02-23 14:44:21 +01:00
parent 5fe4e1213e
commit cbb61ce639
7 changed files with 69 additions and 79 deletions

View File

@@ -390,7 +390,7 @@ private:
int m_animationtype{ 0 };
std::array<double, 4> m_animationparams{ 0.0 };
std::string m_animationsubmodel;
std::vector<TAnimContainer *> m_animationcontainers;
std::list<std::weak_ptr<TAnimContainer>> m_animationcontainers;
std::string m_animationfilename;
std::size_t m_animationfilesize{ 0 };
char *m_animationfiledata{ nullptr };