@2112-lab/central-plant 0.2.2 → 0.2.3

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.
@@ -37214,7 +37214,7 @@ var CentralPlant = /*#__PURE__*/function (_BaseDisposable) {
37214
37214
  * Initialize the CentralPlant manager
37215
37215
  *
37216
37216
  * @constructor
37217
- * @version 0.2.2
37217
+ * @version 0.2.3
37218
37218
  * @updated 2025-10-22
37219
37219
  *
37220
37220
  * @description Creates a new CentralPlant instance and initializes internal managers and utilities.
@@ -40261,8 +40261,10 @@ var sceneViewer = /*#__PURE__*/function (_BaseDisposable) {
40261
40261
  // Update renderer size (updateStyle=true to sync canvas CSS)
40262
40262
  this.renderer.setSize(width, height, true);
40263
40263
 
40264
- // Force renderer to clear and re-render to prevent blank screen
40265
- this.renderer.clear();
40264
+ // Immediately re-render so the canvas is never composited blank
40265
+ if (this.scene) {
40266
+ this.renderer.render(this.scene, this.camera);
40267
+ }
40266
40268
 
40267
40269
  // Update tooltips manager if available
40268
40270
  if (this.tooltipsManager) {
@@ -19,7 +19,7 @@ var CentralPlant = /*#__PURE__*/function (_BaseDisposable) {
19
19
  * Initialize the CentralPlant manager
20
20
  *
21
21
  * @constructor
22
- * @version 0.2.2
22
+ * @version 0.2.3
23
23
  * @updated 2025-10-22
24
24
  *
25
25
  * @description Creates a new CentralPlant instance and initializes internal managers and utilities.
@@ -296,8 +296,10 @@ var sceneViewer = /*#__PURE__*/function (_BaseDisposable) {
296
296
  // Update renderer size (updateStyle=true to sync canvas CSS)
297
297
  this.renderer.setSize(width, height, true);
298
298
 
299
- // Force renderer to clear and re-render to prevent blank screen
300
- this.renderer.clear();
299
+ // Immediately re-render so the canvas is never composited blank
300
+ if (this.scene) {
301
+ this.renderer.render(this.scene, this.camera);
302
+ }
301
303
 
302
304
  // Update tooltips manager if available
303
305
  if (this.tooltipsManager) {
@@ -15,7 +15,7 @@ var CentralPlant = /*#__PURE__*/function (_BaseDisposable) {
15
15
  * Initialize the CentralPlant manager
16
16
  *
17
17
  * @constructor
18
- * @version 0.2.2
18
+ * @version 0.2.3
19
19
  * @updated 2025-10-22
20
20
  *
21
21
  * @description Creates a new CentralPlant instance and initializes internal managers and utilities.
@@ -292,8 +292,10 @@ var sceneViewer = /*#__PURE__*/function (_BaseDisposable) {
292
292
  // Update renderer size (updateStyle=true to sync canvas CSS)
293
293
  this.renderer.setSize(width, height, true);
294
294
 
295
- // Force renderer to clear and re-render to prevent blank screen
296
- this.renderer.clear();
295
+ // Immediately re-render so the canvas is never composited blank
296
+ if (this.scene) {
297
+ this.renderer.render(this.scene, this.camera);
298
+ }
297
299
 
298
300
  // Update tooltips manager if available
299
301
  if (this.tooltipsManager) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2112-lab/central-plant",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Utility modules for the Central Plant Application",
5
5
  "main": "dist/bundle/index.js",
6
6
  "module": "dist/esm/src/index.js",