10.12., 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

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

minor fix

parent 577091b3
......@@ -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;
......
......@@ -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;
......
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