mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[ui] Viewer3D: remove media if no loader was found for a valid source
This commit is contained in:
parent
1f2baf43c3
commit
edfc34fbd1
1 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,10 @@ Entity {
|
|||
model[prop] = Qt.binding(function() { return object ? object[prop] : 0; });
|
||||
})
|
||||
}
|
||||
else if(finalSource) {
|
||||
// source was valid but no loader was created, remove element
|
||||
remove(index);
|
||||
}
|
||||
}
|
||||
|
||||
onStatusChanged: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue