Commit 999c2767 authored by pixhawk's avatar pixhawk

fixed a bug where z-value of a waypoint was unintentionally changed to old y-value

parent 43918649
......@@ -283,9 +283,9 @@ void Waypoint::setParam5(double param5)
void Waypoint::setParam6(double param6)
{
if (this->z != param6)
if (this->y != param6)
{
this->z = param6;
this->y = param6;
emit changed(this);
}
}
......
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