Skip to content

Commit 8e8bc71

Browse files
committed
3D View: Z axis fix
1 parent 4f5b15e commit 8e8bc71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MAVGCL/src/main/java/com/comino/flight/ui/widgets/view3D/objects/VehicleModel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void updateState(AnalysisDataModel model, double z_offset) {
9494
// z_pos = model.getValue("ALTRE") * 100 ;
9595

9696

97-
this.setTranslateY(z_pos < 0 ? 0 : z_pos*2);
97+
this.setTranslateY(z_pos < 0 ? 0 : z_pos);
9898
this.setTranslateZ(model.getValue("LPOSX")*100);
9999

100100

0 commit comments

Comments
 (0)