From bb64368517356455eabbce082d5431f049031722 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 29 Sep 2023 18:25:50 +0100 Subject: [PATCH] Disabled the playing model when the path is 1 or less in size --- src/vsg/utils/AnimationPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vsg/utils/AnimationPath.cpp b/src/vsg/utils/AnimationPath.cpp index 12ddd6895..e23acca89 100644 --- a/src/vsg/utils/AnimationPath.cpp +++ b/src/vsg/utils/AnimationPath.cpp @@ -238,7 +238,7 @@ void RecordAnimationPathHandler::apply(KeyPressEvent& keyPress) { if (keyPress.keyModified == togglePlaybackKey) { - if (!playing) + if (!playing && path->locations.size() > 1) { info("Starting playback.");