Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit a15fc331 authored by Jakob Weiss's avatar Jakob Weiss

Changed processor tooltip of the pipeline tree

parent 663cca79
......@@ -146,7 +146,7 @@ namespace campvis {
case Qt::UserRole:
return qVariantFromValue(static_cast<void*>(_processor));
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:
return QVariant();
}
......
......@@ -85,7 +85,7 @@ namespace campvis {
if (input != 0 && input->getDimensionality() == 2) {
// resample image
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();
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