adding modelScale initialization so that it does not fail the validScale check assert

This commit is contained in:
amer cerkic 2019-03-05 10:07:33 -08:00
parent 29d5574d93
commit 29a308dcaa

View file

@ -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 {