mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
CR comments.
This commit is contained in:
parent
630df7c233
commit
ce53b44b02
2 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -94,7 +94,7 @@ private:
|
|||
ModelPointer _model;
|
||||
QVariantMap _modelTextures;
|
||||
bool _texturesLoaded { false };
|
||||
bool _texturesDirty{ false };
|
||||
bool _texturesDirty { false };
|
||||
|
||||
render::ItemIDs _subRenderItemIDs;
|
||||
|
||||
|
|
Loading…
Reference in a new issue