@itwin/core-geometry 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @itwin/core-geometry
2
2
 
3
- This log was last generated on Tue, 17 Oct 2023 15:14:32 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 24 Oct 2023 15:09:13 GMT and should not be manually modified.
4
+
5
+ ## 4.2.1
6
+ Tue, 24 Oct 2023 15:09:13 GMT
7
+
8
+ ### Updates
9
+
10
+ - restore open bcurve json import
4
11
 
5
12
  ## 4.2.0
6
13
  Tue, 17 Oct 2023 15:14:32 GMT
@@ -326,7 +326,7 @@ var IModelJson;
326
326
  static parseBcurve(data) {
327
327
  if (data === undefined)
328
328
  return undefined;
329
- if (Array.isArray(data.points) && Array.isArray(data.knots) && Number.isFinite(data.order) && data.closed !== undefined) {
329
+ if (Array.isArray(data.points) && Array.isArray(data.knots) && Number.isFinite(data.order)) {
330
330
  if (data.points[0].length === 4) {
331
331
  const hPoles = [];
332
332
  for (const p of data.points)