Skip to content
Snippets Groups Projects
Commit 7eaaa198 authored by Campbell, Stuart's avatar Campbell, Stuart
Browse files

Refs #6098 - revert to fix build.

parent 6212633d
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ namespace MantidQt
*/
MantidQt::SliceViewer::CrossPeakPrimitives PhysicalCrossPeak::draw(const double& windowHeight, const double& windowWidth) const
{
CrossPeakPrimitives drawingObjects;
CrossPeakPrimitives drawingObjects = {};
if(isViewable())
{
const int halfCrossHeight = int(windowHeight * m_crossViewFraction);
......
......@@ -84,7 +84,7 @@ namespace MantidQt
*/
MantidQt::SliceViewer::SphericalPeakPrimitives PhysicalSphericalPeak::draw(const double& windowHeight, const double& windowWidth, const double& viewWidth, const double& viewHeight) const
{
SphericalPeakPrimitives drawingObjects;
SphericalPeakPrimitives drawingObjects = {};
if(this->isViewable())
{
// Scale factor for going from viewX to windowX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment