mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 19:59:20 +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;
|
||||
_lastKnownCurrentFrame = -1;
|
||||
_visuallyReady = false;
|
||||
_modelScale=glm::vec3(1.0f);
|
||||
}
|
||||
|
||||
const QString ModelEntityItem::getTextures() const {
|
||||
|
|
Loading…
Reference in a new issue