mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-27 03:43:42 +00:00
Animation controller uses now the singleton pattern
This commit is contained in:
@@ -176,7 +176,7 @@ namespace vb01{
|
||||
else
|
||||
CPPUNIT_ASSERT(bones[i].parent == "-");
|
||||
}
|
||||
AnimationController *controller = skeleton->getAnimationController();
|
||||
AnimationController *controller = AnimationController::getSingleton();
|
||||
string animNames[]{"Action", "open"};
|
||||
CPPUNIT_ASSERT(controller->getAnimation(animNames[0]));
|
||||
CPPUNIT_ASSERT(controller->getAnimation(animNames[1]));
|
||||
|
||||
Reference in New Issue
Block a user