mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 19:02:29 +02:00
Merge pull request #348 from alicevision/dev_3D_alembicVisibility
Viewer3D: let QmlAlembic manage entities visibility
This commit is contained in:
commit
c31b7f8e43
1 changed files with 0 additions and 4 deletions
|
@ -93,12 +93,8 @@ import Utils 1.0
|
|||
if(obj.status === SceneLoader.Ready) {
|
||||
for(var i = 0; i < obj.pointClouds.length; ++i) {
|
||||
vertexCount += Scene3DHelper.vertexCount(obj.pointClouds[i]);
|
||||
obj.pointClouds[i].enabled = Qt.binding(function() { return Viewer3DSettings.pointSize > 0; });
|
||||
}
|
||||
cameraCount = obj.spawnCameraSelectors();
|
||||
for(var i = 0; i < obj.cameras.length; ++i) {
|
||||
obj.cameras[i].enabled = Qt.binding(function() { return Viewer3DSettings.cameraScale > 0; });
|
||||
}
|
||||
}
|
||||
root.status = obj.status;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue