We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7b5dd commit dac85fcCopy full SHA for dac85fc
tests/cpp-tests/Source/Scene3DTest/Scene3DTest.cpp
@@ -53,8 +53,7 @@ class SkeletonAnimationCullingFix : public SkeletonAnimation
53
float scale = 1)
54
{
55
SkeletonAnimationCullingFix* node = new SkeletonAnimationCullingFix();
56
- spine::Atlas* atlas = new spine::Atlas(std::string(atlasFile).c_str(), AxmolTextureLoader::getInstance());
57
- node->initWithJsonFile(std::string(skeletonDataFile), atlas, scale);
+ node->initWithJsonFile(std::string{skeletonDataFile}, std::string{atlasFile}, scale);
58
node->autorelease();
59
return node;
60
}
0 commit comments