itaComsolModelVisualizer

-now only builds mesh if mesh is visible
parent 9e6e1aba
......@@ -95,6 +95,10 @@ classdef itaComsolModelVisualizer < itaAbstract3DModelVisualizer
this.mShowMesh = bool;
if this.autoRefresh
if this.mShowMesh
this.plotMesh();
this.applyMeshColor();
end
this.applyMeshVisibility();
end
end
......@@ -139,7 +143,7 @@ classdef itaComsolModelVisualizer < itaAbstract3DModelVisualizer
if isempty(this.mBoundaryPlotHandles)
this.plotBoundaryGroups();
end
if isempty(this.mMeshPlotHandles)
if isempty(this.mMeshPlotHandles) && this.mShowMesh
this.plotMesh();
end
if isempty(this.mEdgePlotHandles)
......
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