mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[ui] MediaLibrary: fix SfMTransform loading issue
This commit is contained in:
parent
424f7e5b0e
commit
bd5f515f98
1 changed files with 3 additions and 2 deletions
|
@ -317,9 +317,10 @@ Entity {
|
|||
model[prop] = Qt.binding(function() { return object ? object[prop] : 0; });
|
||||
})
|
||||
}
|
||||
else if(finalSource) {
|
||||
else if(finalSource && status === Component.Ready) {
|
||||
// source was valid but no loader was created, remove element
|
||||
remove(index);
|
||||
// check if component is ready to avoid removing element from the model before adding instance to the node
|
||||
remove(index)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue