copper3d 4.1.1 → 4.1.2

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.
@@ -415,6 +415,16 @@ const callbackId = scene.addPreRenderCallbackFunction(nrrdTools.start);
415
415
  scene.removePreRenderCallbackFunction(callbackId);
416
416
  ```
417
417
 
418
+ ::: tip On-demand scenes, and registering early <Badge type="tip" text="4.1.2" />
419
+ This works on `copperSceneOnDemond` too. While anything is registered, an on-demand scene runs
420
+ a `requestAnimationFrame` loop that calls the callbacks and nothing else; the 3D scene still
421
+ renders only on demand. Before 4.1.2 it accepted the registration and never called it.
422
+
423
+ `nrrdTools.start` is one function for the life of the instance, so it may be registered before
424
+ `draw()`. It does nothing until `draw()` has run and the first slice has sized the canvases.
425
+ Before 4.1.2, registering before `draw()` registered an empty function that stayed empty.
426
+ :::
427
+
418
428
  #### Manual render loop
419
429
 
420
430
  ```typescript
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "copper3dVersion": "4.1.1",
4
- "generatedAt": "2026-10-20T07:56:20.942Z",
3
+ "copper3dVersion": "4.1.2",
4
+ "generatedAt": "2026-10-20T08:42:30.496Z",
5
5
  "symbolCount": 1204,
6
6
  "guides": [
7
7
  {
@@ -90,7 +90,7 @@
90
90
  "title": "NrrdTools Usage Guide",
91
91
  "summary": "Copper3D `NrrdTools` — Medical Image Segmentation Annotation Engine",
92
92
  "lang": "en",
93
- "bytes": 81653
93
+ "bytes": 82294
94
94
  },
95
95
  {
96
96
  "id": "on-demand-controls",