mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 21:29:18 +02:00
11 lines
261 B
C++
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);
|
|
}
|