Fix improperly formatted floats

This commit is contained in:
Ryan Huffman 2016-08-08 10:31:00 -07:00
parent d367583426
commit 2a071c4329
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -409,7 +409,7 @@ protected:
bool _collisionGeometryRequestFailed { false };
private:
float _loadingPriority { 0 };
float _loadingPriority { 0.0f };
};