Replace QTime with QElapsedTimer (deprecated)

This commit is contained in:
Dale Glass 2022-06-05 13:11:43 +02:00
parent 35d588494a
commit 7d34a9233b

View file

@ -15,6 +15,7 @@
#include <SharedUtil.h>
#include <shared/NsightHelpers.h>
#include <DebugDraw.h>
#include <QElapsedTimer>
#include "Rig.h"
#include "ElbowConstraint.h"
@ -27,7 +28,7 @@
static const int MAX_TARGET_MARKERS = 30;
static const float JOINT_CHAIN_INTERP_TIME = 0.5f;
static QTime debounceJointWarningsClock;
static QElapsedTimer debounceJointWarningsClock;
static const int JOINT_WARNING_DEBOUNCE_TIME = 30000; // 30 seconds
static void lookupJointInfo(const AnimInverseKinematics::JointChainInfo& jointChainInfo,