Fixing ambiguous reference to Json array index on Keyframe class

This commit is contained in:
Jonathan Thomas
2016-08-03 18:44:20 -05:00
parent ea04ba5522
commit 2523b31061

View File

@@ -369,7 +369,7 @@ void Keyframe::SetJsonValue(Json::Value root) {
// loop through points
for (long int x = 0; x < root["Points"].size(); x++) {
// Get each point
Json::Value existing_point = root["Points"][x];
Json::Value existing_point = root["Points"][(Json::UInt) x];
// Create Point
Point p;