16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 12:19:19 +02:00
Files
maszyna/manul/renderer/source/motioncache.cpp
2025-03-09 15:36:11 +01:00

11 lines
261 B
C++

#include "motioncache.h"
MotionCacheScope::MotionCacheScope(void const* instance, MotionCache* cache)
: m_instance(instance), m_cache(cache) {
m_cache->SetActiveScope(this);
}
MotionCacheScope::~MotionCacheScope() {
m_cache->UnsetActiveScope(this);
}