Skip to content

Commit

Permalink
fixed shadowed pipline_ bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoreilly committed Feb 4, 2025
1 parent fef3e5e commit 5623028
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt-guilib/TopoGridItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ QQuickVTKItem::vtkUserData TopoGridItem::initializeVTK(vtkRenderWindow *renderWi
renderWindow_ = renderWindow;

// Create pipeline elements
vtkNew<TopoGridItem::Pipeline> pipeline_;
pipeline_ = new TopoGridItem::Pipeline();

renderWindow->AddRenderer(pipeline_->renderer_);

Expand Down Expand Up @@ -450,3 +450,6 @@ void TopoGridItem::setPickedPoint(double *worldCoords) {
}


TopoGridReader *TopoGridItem::getGridReader() {
return pipeline_->gridReader_;
}

0 comments on commit 5623028

Please sign in to comment.