Skip to content

Commit

Permalink
Fixed issue with new FEPlotIdealGasPressure plot variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Apr 24, 2024
1 parent 93672d6 commit f2ffdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FEBioMech/FEBioMechPlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4684,7 +4684,7 @@ bool FEPlotIdealGasPressure::Save(FESurface& surf, FEDataStream& a)
}
if (m_load == nullptr) return false;

if (&m_load->GetSurface() == &surf)
if (m_load->GetSurface().GetFacetSet() == surf.GetFacetSet())
{
a << m_load->GetCurrentPressure();
return true;
Expand Down

0 comments on commit f2ffdd3

Please sign in to comment.