Commit 4994c746 authored by Hossain Mahmud's avatar Hossain Mahmud
Browse files

minor fix

parent 577091b3
......@@ -431,7 +431,9 @@ namespace campvis {
if (_selectedPipeline == nullptr)
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)
......@@ -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;
Supports Markdown
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