Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
a15fc331
Commit
a15fc331
authored
Jan 16, 2017
by
Jakob Weiss
Browse files
Changed processor tooltip of the pipeline tree
parent
663cca79
Changes
2
Hide whitespace changes
Inline
Side-by-side
application/gui/pipelinetreewidget.cpp
View file @
a15fc331
...
...
@@ -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
();
}
...
...
modules/advancedusvis/processors/scanlineconverter.cpp
View file @
a15fc331
...
...
@@ -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
::
s
vec3
(
p_targetSize
.
getValue
().
x
,
p_targetSize
.
getValue
().
y
,
1
),
numChannels
);
auto
wtp
=
input
->
getWeaklyTypedPointer
();
wtp
.
_pointer
=
nullptr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment