mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 22:13:12 +02: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 <SharedUtil.h>
|
||||||
#include <shared/NsightHelpers.h>
|
#include <shared/NsightHelpers.h>
|
||||||
#include <DebugDraw.h>
|
#include <DebugDraw.h>
|
||||||
|
#include <QElapsedTimer>
|
||||||
#include "Rig.h"
|
#include "Rig.h"
|
||||||
|
|
||||||
#include "ElbowConstraint.h"
|
#include "ElbowConstraint.h"
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
static const int MAX_TARGET_MARKERS = 30;
|
static const int MAX_TARGET_MARKERS = 30;
|
||||||
static const float JOINT_CHAIN_INTERP_TIME = 0.5f;
|
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 const int JOINT_WARNING_DEBOUNCE_TIME = 30000; // 30 seconds
|
||||||
|
|
||||||
static void lookupJointInfo(const AnimInverseKinematics::JointChainInfo& jointChainInfo,
|
static void lookupJointInfo(const AnimInverseKinematics::JointChainInfo& jointChainInfo,
|
||||||
|
|
Loading…
Reference in a new issue