mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
[Panorama Viewer] Setting subdivisions for panorama viewer
This commit is contained in:
parent
7b2278755f
commit
0587cc7462
2 changed files with 12 additions and 4 deletions
|
@ -27,7 +27,13 @@ AliceVision.FloatImageViewer {
|
|||
return Image.Null;
|
||||
|
||||
if(!isDistoViewer){
|
||||
root.updateSubdivisions(1)
|
||||
if(isPanoViewer){
|
||||
console.warn('Set pano subdiv image to 6')
|
||||
root.updateSubdivisions(6)
|
||||
}
|
||||
else{
|
||||
root.updateSubdivisions(1)
|
||||
}
|
||||
}
|
||||
|
||||
root.defaultControlPoints();
|
||||
|
@ -40,17 +46,18 @@ AliceVision.FloatImageViewer {
|
|||
property string channelModeString : "rgba"
|
||||
|
||||
property bool isDistoViewer: false;
|
||||
property bool isPanoViewer: false;
|
||||
|
||||
property bool isGridDisplayed : false;
|
||||
property int gridOpacity : 100;
|
||||
property color gridColor : "#FF0000";
|
||||
|
||||
property bool isCtrlPointsDisplayed : true;
|
||||
property int subdivisions: 5;
|
||||
property int subdivisions: 4;
|
||||
property int pointsNumber: (subdivisions + 1) * (subdivisions + 1);
|
||||
|
||||
property int index: 0;
|
||||
property int idView: 0;
|
||||
property var idView: 0;
|
||||
|
||||
property string sfmPath: ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue