mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 20:01:58 +02:00
[ui] improve Alembic files loading
New version of AlembicEntity always clears itself when setting an url (even if it's invalid/empty). Don't need to re-create the AlembicEntity each time we load a file.
This commit is contained in:
parent
1f223ccc54
commit
a582a2f5c1
2 changed files with 3 additions and 6 deletions
|
@ -42,13 +42,12 @@ Item {
|
|||
|
||||
Connections {
|
||||
target: reconstruction
|
||||
onSfmChanged: loadSfmAbc()
|
||||
onSfmReportChanged: loadSfmAbc()
|
||||
}
|
||||
|
||||
function loadSfmAbc()
|
||||
{
|
||||
workspaceView.load3DMedia(reconstruction.sfm.attribute('output').value)
|
||||
load3DMedia(reconstruction.sfm.attribute('output').value)
|
||||
}
|
||||
|
||||
SystemPalette { id: palette }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue