mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 04:53:35 +02:00
Fix Developer->Avatar->Draw Mesh
MyAvatar::setEnableMeshVisible -> Model::setVisibleInScene sets a flag that no one was looking at any more.
This commit is contained in:
parent
170725418b
commit
8c395209e8
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ void MeshPartPayload::bindTransform(gpu::Batch& batch, const ModelRender::Locati
|
|||
|
||||
void MeshPartPayload::render(RenderArgs* args) const {
|
||||
PerformanceTimer perfTimer("MeshPartPayload::render");
|
||||
if (!model->_readyWhenAdded) {
|
||||
if (!model->_readyWhenAdded || !model->_isVisible) {
|
||||
return; // bail asap
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue