fixed reset UPlot on rehearsal after small movement detected. GUI: modified color for pose correction (DarkCyan) and small movement (Gray)

This commit is contained in:
matlabbe
2015-09-14 11:31:26 -04:00
parent af32830969
commit 53fa85e38a
5 changed files with 12 additions and 4 deletions

View File

@@ -435,7 +435,7 @@ void UPlotCurve::addValue(float x, float y)
{
UWARN("New value (%f) added to curve \"%s\" is smaller "
"than the last added (%f). Clearing the curve.",
x, this->name().toStdString().c_str(), _items.back()->pos().x());
x, this->name().toStdString().c_str(), ((UPlotItem*)_items.back())->data().x());
this->clear();
}