Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/gui/errorindicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ void ErrorIndicator::paint(QPainter *painter, const QStyleOptionGraphicsItem *op
font.setBold(true);
//font.setPointSize(font.pointSize() - 2);
QFontMetrics fm(font);
painter->setFont(font);
QRect textR = fm.boundingRect(text);
float left = (size() - textR.width() * 2.) / 2.;
painter->drawText(QPointF(left, (size() / 2. + textR.height()) / 2.), text);
Expand Down
2 changes: 1 addition & 1 deletion lib/vistle/vtkm/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Object::ptr vtkmGetGeometry(const viskores::cont::DataSet &dataset)
rg->d()->coords[i]->setHandle(x);
}
} else {
std::cerr << "Error while converting Viskores layered grid to Vistle: Unsupported point coordinate "
std::cerr << "Error while converting Viskores rectilinear grid to Vistle: Unsupported point coordinate "
"array type:\n"
<< "--> Array type name: " << unknown.GetArrayTypeName()
<< "\n--> Value type name: " << unknown.GetValueTypeName()
Expand Down
Loading