mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 05:22:06 +00:00
Fix issue in CurveSegment
This commit is contained in:
@@ -67,7 +67,7 @@ double translate_if_param_value(const IfcSchema::IfcCurve* crv, IfcSchema::IfcCu
|
|||||||
// We don't care whether length- or positive length measure.
|
// We don't care whether length- or positive length measure.
|
||||||
return translate_to_length_measure(crv, *param);
|
return translate_to_length_measure(crv, *param);
|
||||||
} else {
|
} else {
|
||||||
return val->data().get_attribute_value(0);
|
return val->as<IfcUtil::IfcBaseClass>()->get_attribute_value(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user