mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01: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);
|
|
}
|