mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
refactor src/objects/rigging
This commit is contained in:
parent
0d230f2449
commit
2c7b5de50a
4 changed files with 23 additions and 24 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue