Optimized keyframe JSON serialization, speeding up loading and saving large projects and complex keyframe scenarios.

This commit is contained in:
Jonathan Thomas
2015-03-13 17:08:03 -05:00
parent 5a9ca1909a
commit e084f638a9
2 changed files with 27 additions and 4 deletions

View File

@@ -81,10 +81,6 @@ void Keyframe::AddPoint(Point p) {
// Set Handles (used for smooth curves).
SetHandles(p);
// Check if it needs to be processed
if (needs_update)
Process();
}
// Add a new point on the key-frame, with some defaults set (BEZIER, AUTO Handles, etc...)