CR comments.

This commit is contained in:
NissimHadar 2018-07-25 15:58:46 -07:00
parent 630df7c233
commit ce53b44b02
2 changed files with 1 additions and 4 deletions

View file

@ -139,9 +139,6 @@ void ModelOverlay::update(float deltatime) {
if (!_texturesLoaded && _model->getGeometry() && _model->getGeometry()->areTexturesLoaded()) {
_texturesLoaded = true;
if (!_modelTextures.isEmpty()) {
_model->setTextures(_modelTextures);
}
_model->setVisibleInScene(getVisible(), scene);
_model->updateRenderItems();

View file

@ -94,7 +94,7 @@ private:
ModelPointer _model;
QVariantMap _modelTextures;
bool _texturesLoaded { false };
bool _texturesDirty{ false };
bool _texturesDirty { false };
render::ItemIDs _subRenderItemIDs;