mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-24 12:07:19 +02:00
[Panorama Viewer] add grid display button function
This commit is contained in:
parent
fcdc6cc873
commit
2a1e6811fc
3 changed files with 6 additions and 1 deletions
|
@ -37,6 +37,8 @@ AliceVision.PanoramaViewer {
|
|||
property bool isEditable: true
|
||||
property bool isHighlightable: true
|
||||
|
||||
property bool displayGridPano: true
|
||||
|
||||
onIsHighlightableChanged:{
|
||||
for (var i = 0; i < repeater.model; i++) {
|
||||
repeater.itemAt(i).item.onChangedHighlightState(isHighlightable);
|
||||
|
@ -114,6 +116,7 @@ AliceVision.PanoramaViewer {
|
|||
// Grid Panorama Viewer
|
||||
Canvas {
|
||||
id: gridPano
|
||||
visible: displayGridPano
|
||||
anchors.fill : parent
|
||||
property int wgrid: 40
|
||||
onPaint: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue