mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 20:13:40 +02:00
adding modelScale initialization so that it does not fail the validScale check assert
This commit is contained in:
parent
29d5574d93
commit
29a308dcaa
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ ModelEntityItem::ModelEntityItem(const EntityItemID& entityItemID) : EntityItem(
|
||||||
_type = EntityTypes::Model;
|
_type = EntityTypes::Model;
|
||||||
_lastKnownCurrentFrame = -1;
|
_lastKnownCurrentFrame = -1;
|
||||||
_visuallyReady = false;
|
_visuallyReady = false;
|
||||||
|
_modelScale=glm::vec3(1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString ModelEntityItem::getTextures() const {
|
const QString ModelEntityItem::getTextures() const {
|
||||||
|
|
Loading…
Reference in a new issue