mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +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
|
||||
from: 0
|
||||
to: 1
|
||||
first.value: root.featuresViewer.featureMinScaleFilter
|
||||
first.onMoved: { root.featuresViewer.featureMinScaleFilter = first.value; }
|
||||
second.value: root.featuresViewer.featureMaxScaleFilter
|
||||
second.onMoved: { root.featuresViewer.featureMaxScaleFilter = second.value; }
|
||||
first.value: 0
|
||||
first.onMoved: { root.featuresViewer.featureMinScaleFilter = Math.pow(first.value,4); }
|
||||
second.value: 1
|
||||
second.onMoved: { root.featuresViewer.featureMaxScaleFilter = Math.pow(second.value,4); }
|
||||
stepSize: 0.01
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue