fix dead skeleton model references

This commit is contained in:
MihailRis 2026-06-30 22:53:22 +03:00
parent b2b889bd7c
commit 9d3a60328f
3 changed files with 12 additions and 10 deletions

View file

@ -33,8 +33,8 @@ namespace rigging {
struct ModelReference {
std::string name;
model::Model* model;
bool updateFlag;
std::weak_ptr<model::Model> model;
bool updateFlag = false;
void refresh(const Assets& assets);
};