Commit a15fc331 authored by Jakob Weiss's avatar Jakob Weiss
Browse files

Changed processor tooltip of the pipeline tree

parent 663cca79
...@@ -146,7 +146,7 @@ namespace campvis { ...@@ -146,7 +146,7 @@ namespace campvis {
case Qt::UserRole: case Qt::UserRole:
return qVariantFromValue(static_cast<void*>(_processor)); return qVariantFromValue(static_cast<void*>(_processor));
case Qt::ToolTipRole: case Qt::ToolTipRole:
return QVariant(QString::fromStdString(_processor->getDescription())); return QVariant(QString("<b><u>%1</u></b><br/>\n%2").arg(QString::fromStdString(_processor->getName())).arg(QString::fromStdString(_processor->getDescription())));
default: default:
return QVariant(); return QVariant();
} }
......
...@@ -85,7 +85,7 @@ namespace campvis { ...@@ -85,7 +85,7 @@ namespace campvis {
if (input != 0 && input->getDimensionality() == 2) { if (input != 0 && input->getDimensionality() == 2) {
// resample image // resample image
size_t numChannels = input->getParent()->getNumChannels(); size_t numChannels = input->getParent()->getNumChannels();
auto outputImage = new ImageData(2, cgt::vec3(p_targetSize.getValue().x, p_targetSize.getValue().y, 1), numChannels); auto outputImage = new ImageData(2, cgt::svec3(p_targetSize.getValue().x, p_targetSize.getValue().y, 1), numChannels);
auto wtp = input->getWeaklyTypedPointer(); auto wtp = input->getWeaklyTypedPointer();
wtp._pointer = nullptr; wtp._pointer = nullptr;
......
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