mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +02:00
Fix improperly formatted floats
This commit is contained in:
parent
d367583426
commit
2a071c4329
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ public:
|
|||
void reloadEntityScripts();
|
||||
|
||||
/// if a renderable entity item needs a model, we will allocate it for them
|
||||
Q_INVOKABLE ModelPointer allocateModel(const QString& url, const QString& collisionUrl, float loadingPriority = 0);
|
||||
Q_INVOKABLE ModelPointer allocateModel(const QString& url, const QString& collisionUrl, float loadingPriority = 0.0f);
|
||||
|
||||
/// if a renderable entity item needs to update the URL of a model, we will handle that for the entity
|
||||
Q_INVOKABLE ModelPointer updateModel(ModelPointer original, const QString& newUrl, const QString& collisionUrl);
|
||||
|
|
|
@ -409,7 +409,7 @@ protected:
|
|||
bool _collisionGeometryRequestFailed { false };
|
||||
|
||||
private:
|
||||
float _loadingPriority { 0 };
|
||||
float _loadingPriority { 0.0f };
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue