Skip to content

Commit

Permalink
read mesh correctly BUT without using reset
Browse files Browse the repository at this point in the history
using zincwidget::reset() create a crash just after
  • Loading branch information
LafCorentin committed Aug 20, 2020
1 parent 77497cd commit 681a490
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -96,13 +96,13 @@ void CellMLZincMappingViewZincWidget::changeSource(const QString &pMainFileName)
mMainFileName = pMainFileName;
initAuxFile();

OpenCMISS::Zinc::Region region = mZincContext.createRegion();
mZincContext.setDefaultRegion(region);
//TODO the emit launched by reset make opencor crashing
//reset();

setup();

setupRegion();

//mSceneViewer.setScene(region.getScene());
//draw();
initializeGL();
draw();
}
Expand Down

0 comments on commit 681a490

Please sign in to comment.