mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +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)
|
||||
|
||||
public:
|
||||
Rates(QObject* parent) : QObject(parent) {}
|
||||
RatesScriptingInterface(QObject* parent) : QObject(parent) {}
|
||||
float getRenderRate() { return qApp->getFps(); }
|
||||
float getPresentRate() { return qApp->getActiveDisplayPlugin()->presentRate(); }
|
||||
float getNewFrameRate() { return qApp->getActiveDisplayPlugin()->newFramePresentRate(); }
|
||||
|
|
Loading…
Reference in a new issue