refactor src/objects/rigging

This commit is contained in:
MihailRis
2024-07-07 23:44:57 +03:00
parent 0d230f2449
commit 2c7b5de50a
4 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ template<class T>
void assetload::assets_setup(const Assets* assets) {
if (auto mapPtr = assets->getMap<T>()) {
for (const auto& entry : **mapPtr) {
static_cast<T*>(entry.second.get())->setup(assets);
static_cast<T*>(entry.second.get())->setup();
}
}
}