mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] Viewer3D: reset polycount on source change
This commit is contained in:
parent
adf59e56fa
commit
11121039dc
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,6 @@ FocusScope {
|
|||
{
|
||||
source = 'no_file' // only way to force unloading of valid scene
|
||||
source = ''
|
||||
modelLoader.polyCount = 0
|
||||
}
|
||||
|
||||
function clearAbc()
|
||||
|
@ -250,6 +249,7 @@ FocusScope {
|
|||
// SceneLoader status is not reliable when loading a 3D file
|
||||
property bool loading: false
|
||||
onSourceChanged: {
|
||||
polyCount = 0
|
||||
meshHasTexture = false
|
||||
loading = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue