Commit 70b19881 authored by Patrick José Pereira's avatar Patrick José Pereira

Remove lost code and update z position of pie

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 05b3b92a
...@@ -564,7 +564,7 @@ Rectangle { ...@@ -564,7 +564,7 @@ Rectangle {
} }
x: windRosePie.x + Math.sin(- windRosePie.angle*Math.PI/180 - Math.PI/2)*(windRosePie.width/2 - windRoseArrow.width/2) + windRosePie.width / 2 - windRoseArrow.width / 2 x: windRosePie.x + Math.sin(- windRosePie.angle*Math.PI/180 - Math.PI/2)*(windRosePie.width/2 - windRoseArrow.width/2) + windRosePie.width / 2 - windRoseArrow.width / 2
y: windRosePie.y + Math.cos(- windRosePie.angle*Math.PI/180 - Math.PI/2)*(windRosePie.width/2 - windRoseArrow.width/2) + windRosePie.height / 2 - windRoseArrow.height / 2 y: windRosePie.y + Math.cos(- windRosePie.angle*Math.PI/180 - Math.PI/2)*(windRosePie.width/2 - windRoseArrow.width/2) + windRosePie.height / 2 - windRoseArrow.height / 2
z: windRosePie.z z: windRosePie.z + 1
} }
QGCColoredImage { QGCColoredImage {
...@@ -580,9 +580,9 @@ Rectangle { ...@@ -580,9 +580,9 @@ Rectangle {
origin.y: windGuru.height / 2 origin.y: windGuru.height / 2
axis { x: 0; y: 0; z: 1 } angle: windRosePie.angle + 180 axis { x: 0; y: 0; z: 1 } angle: windRosePie.angle + 180
} }
x: windRosePie.x + Math.sin(- windRosePie.angle*Math.PI/180 - 3*Math.PI/2)*(windRosePie.width/2/* - windGuru.height/2*/) + windRosePie.width / 2 - windGuru.width / 2 x: windRosePie.x + Math.sin(- windRosePie.angle*Math.PI/180 - 3*Math.PI/2)*(windRosePie.width/2) + windRosePie.width / 2 - windGuru.width / 2
y: windRosePie.y + Math.cos(- windRosePie.angle*Math.PI/180 - 3*Math.PI/2)*(windRosePie.height/2/* - windGuru.height/2*/) + windRosePie.height / 2 - windGuru.height / 2 y: windRosePie.y + Math.cos(- windRosePie.angle*Math.PI/180 - 3*Math.PI/2)*(windRosePie.height/2) + windRosePie.height / 2 - windGuru.height / 2
z: windRosePie.z z: windRosePie.z + 1
} }
Item { Item {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment