mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
[Panorama Viewer] add subdivisions slider
This commit is contained in:
parent
b1bac3db3e
commit
3d4579b13d
3 changed files with 59 additions and 4 deletions
|
@ -32,12 +32,20 @@ AliceVision.PanoramaViewer {
|
|||
|
||||
property int downscaleValue: 2
|
||||
|
||||
property int subdivisionsPano: 12
|
||||
|
||||
property bool isEditable: true
|
||||
property bool isHighlightable: true
|
||||
|
||||
onIsHighlightableChanged:{
|
||||
for (var i = 0; i < repeater.model; i++) {
|
||||
var highlight = repeater.itemAt(i).item.onChangedHighlightState(isHighlightable);
|
||||
repeater.itemAt(i).item.onChangedHighlightState(isHighlightable);
|
||||
}
|
||||
}
|
||||
|
||||
onSubdivisionsPanoChanged:{
|
||||
for (var i = 0; i < repeater.model; i++) {
|
||||
repeater.itemAt(i).item.subdivisions=subdivisionsPano;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue