save code
This commit is contained in:
+5
-4
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user