mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[FeaturesInfoOverlay] Use Non-linear fonction for feature scale filter slider
This commit is contained in:
parent
f86202f1d8
commit
168c7b8cf9
1 changed files with 4 additions and 4 deletions
|
@ -50,10 +50,10 @@ FloatingPane {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
from: 0
|
from: 0
|
||||||
to: 1
|
to: 1
|
||||||
first.value: root.featuresViewer.featureMinScaleFilter
|
first.value: 0
|
||||||
first.onMoved: { root.featuresViewer.featureMinScaleFilter = first.value; }
|
first.onMoved: { root.featuresViewer.featureMinScaleFilter = Math.pow(first.value,4); }
|
||||||
second.value: root.featuresViewer.featureMaxScaleFilter
|
second.value: 1
|
||||||
second.onMoved: { root.featuresViewer.featureMaxScaleFilter = second.value; }
|
second.onMoved: { root.featuresViewer.featureMaxScaleFilter = Math.pow(second.value,4); }
|
||||||
stepSize: 0.01
|
stepSize: 0.01
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue