@tscircuit/3d-viewer 0.0.515 → 0.0.516
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28483,7 +28483,7 @@ import * as THREE16 from "three";
|
|
|
28483
28483
|
// package.json
|
|
28484
28484
|
var package_default = {
|
|
28485
28485
|
name: "@tscircuit/3d-viewer",
|
|
28486
|
-
version: "0.0.
|
|
28486
|
+
version: "0.0.515",
|
|
28487
28487
|
main: "./dist/index.js",
|
|
28488
28488
|
module: "./dist/index.js",
|
|
28489
28489
|
type: "module",
|
|
@@ -33645,9 +33645,10 @@ function createCombinedBoardTextures({
|
|
|
33645
33645
|
traceTextureResolution
|
|
33646
33646
|
});
|
|
33647
33647
|
};
|
|
33648
|
+
const numLayers = boardData.num_layers ?? 2;
|
|
33648
33649
|
return {
|
|
33649
33650
|
topBoard: buildForLayer("top"),
|
|
33650
|
-
bottomBoard: buildForLayer("bottom")
|
|
33651
|
+
bottomBoard: numLayers < 2 ? null : buildForLayer("bottom")
|
|
33651
33652
|
};
|
|
33652
33653
|
}
|
|
33653
33654
|
|