]> OCCT Git - occt.git/commit
0032813: Units: ToSI and FromSI return cached dimension from previous request when... IR-2022-02-04
authoroan <oan@opencascade.com>
Thu, 3 Feb 2022 10:20:59 +0000 (13:20 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 4 Feb 2022 16:25:58 +0000 (19:25 +0300)
commitae38730d3520fc8d0fbe4a3b9a97afd0cebe6df8
tree4f0bfad6a03db4e0bae6d544c79c5a13c4890daa
parente1f5ac2c9b9e3d4e4a804871d09083f7a9a11955
0032813: Units: ToSI and FromSI return cached dimension from previous request when parsing of unit sentence is failed

Cache value only if all necessary preparation steps are done.
src/Units/Units.cxx