mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
fix dead skeleton model references
This commit is contained in:
parent
b2b889bd7c
commit
9d3a60328f
3 changed files with 12 additions and 10 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue