Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
4994c746
Commit
4994c746
authored
Mar 19, 2015
by
Hossain Mahmud
Browse files
minor fix
parent
577091b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
application/gui/mainwindow.cpp
View file @
4994c746
...
...
@@ -431,7 +431,9 @@ namespace campvis {
if
(
_selectedPipeline
==
nullptr
)
return
;
AbstractProcessor
*
p
=
ProcessorFactory
::
getRef
().
createProcessor
(
name
,
&
_selectedPipeline
->
getCanvasSize
());
IVec2Property
temp
=
_selectedPipeline
->
getCanvasSize
();
IVec2Property
*
viewPort
=
new
IVec2Property
(
temp
.
getName
(),
temp
.
getTitle
(),
temp
.
getValue
(),
temp
.
getMinValue
(),
temp
.
getMaxValue
(),
temp
.
getStepValue
());
AbstractProcessor
*
p
=
ProcessorFactory
::
getRef
().
createProcessor
(
name
,
viewPort
);
if
(
p
==
nullptr
)
return
;
...
...
core/pipeline/abstractpipeline.h
View file @
4994c746
...
...
@@ -199,7 +199,7 @@ namespace campvis {
* Returns the canvas size
* \return The IVec2Property with current canvas size on it
*/
IVec2Property
getCanvasSize
()
{
return
_canvasSize
;}
IVec2Property
&
getCanvasSize
()
{
return
_canvasSize
;}
/// Signal emitted at the end of AbstractPipeline::init()
sigslot
::
signal0
s_init
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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