save code

This commit is contained in:
xsl
2025-12-19 13:47:16 +08:00
parent e38da96e37
commit 6bbbb3c3ef
8 changed files with 137 additions and 102 deletions
+5 -4
View File
@@ -140,11 +140,12 @@ int main() {
std::cout << "Warning: Empty motion string" << std::endl;
}
vector<string> s_motions;
json j = motions["4"];
s_motions.push_back(j.dump());
MotionList s_motions;
s_motions.motions.push_back(motions["4"]);
json j = s_motions;
auto s = j.dump();
app.preLoadMotionList(s_motions, CppCallback);
app.preLoadMotionList(s, CppCallback);
app.mainLoop();
//try {
// app.mainLoop();