mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 21:05:04 +02:00
Fix RatesScriptingInterface ctor
This commit is contained in:
parent
477d6f40e4
commit
ad225b3aed
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class RatesScriptingInterface : public QObject {
|
||||||
Q_PROPERTY(float avatar READ getAvatarRate)
|
Q_PROPERTY(float avatar READ getAvatarRate)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Rates(QObject* parent) : QObject(parent) {}
|
RatesScriptingInterface(QObject* parent) : QObject(parent) {}
|
||||||
float getRenderRate() { return qApp->getFps(); }
|
float getRenderRate() { return qApp->getFps(); }
|
||||||
float getPresentRate() { return qApp->getActiveDisplayPlugin()->presentRate(); }
|
float getPresentRate() { return qApp->getActiveDisplayPlugin()->presentRate(); }
|
||||||
float getNewFrameRate() { return qApp->getActiveDisplayPlugin()->newFramePresentRate(); }
|
float getNewFrameRate() { return qApp->getActiveDisplayPlugin()->newFramePresentRate(); }
|
||||||
|
|
Loading…
Reference in a new issue