mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Replace QTime with QElapsedTimer (deprecated)
This commit is contained in:
parent
35d588494a
commit
7d34a9233b
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue