mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] filter with viewIds only when displaying view ids
This commit is contained in:
parent
ac427d378c
commit
0429accd79
1 changed files with 6 additions and 1 deletions
|
@ -204,7 +204,12 @@ Panel {
|
||||||
id: sortedModel
|
id: sortedModel
|
||||||
model: m.viewpoints
|
model: m.viewpoints
|
||||||
sortRole: "path.basename"
|
sortRole: "path.basename"
|
||||||
filters: [
|
filters: displayViewIdsAction.checked ? filtersWithViewIds : filtersBasic
|
||||||
|
property var filtersBasic: [
|
||||||
|
{role: "path", value: searchBar.text},
|
||||||
|
{role: "viewId.isReconstructed", value: reconstructionFilter}
|
||||||
|
]
|
||||||
|
property var filtersWithViewIds: [
|
||||||
[
|
[
|
||||||
{role: "path", value: searchBar.text},
|
{role: "path", value: searchBar.text},
|
||||||
{role: "viewId.asString", value: searchBar.text}
|
{role: "viewId.asString", value: searchBar.text}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue