File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3627,12 +3627,20 @@ IfcProfile IfcGeometryLoader::GetProfile(uint32_t expressID) const
3627
3627
if (t == parsing::IfcTokenType::LABEL)
3628
3628
{
3629
3629
_loader.StepBack ();
3630
- if (_loader.GetStringArgument () == " IFCNONNEGATIVELENGTHMEASURE" )
3630
+ std::string_view LengthMeasureLabel = _loader.GetStringArgument ();
3631
+ if (LengthMeasureLabel == " IFCNONNEGATIVELENGTHMEASURE" )
3631
3632
{
3632
3633
_loader.GetTokenType ();
3633
3634
return _loader.GetDoubleArgument ();
3634
3635
}
3636
+ if (LengthMeasureLabel == " IFCLENGTHMEASURE" )
3637
+ {
3638
+ _loader.GetTokenType ();
3639
+ return _loader.GetDoubleArgument ();
3640
+ }
3641
+ spdlog::warn (" [ReadLenghtMeasure()] Unrecognised type {}" , LengthMeasureLabel);
3635
3642
}
3643
+ return 0.0 ;
3636
3644
}
3637
3645
3638
3646
std::vector<IfcSegmentIndexSelect> IfcGeometryLoader::ReadCurveIndices () const
You can’t perform that action at this time.
0 commit comments