Fixed a random crash happening when switching between hexa & vertex models.
Fixed a random crash happening when switching between hexa & vertex models.

tjhakkin/MorphoMaker,tjhakkin/MorphoMaker,tjhakkin/MorphoMaker,tjhakkin/MorphoMaker