roavatar-renderer 1.5.13 → 1.5.15
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
|
@@ -45777,6 +45777,7 @@ class ObjectDesc extends RenderDesc {
|
|
|
45777
45777
|
threeMesh.material = threeMaterial;
|
|
45778
45778
|
threeMesh.receiveShadow = true;
|
|
45779
45779
|
threeMaterial.needsUpdate = true;
|
|
45780
|
+
threeMesh.visible = threeMaterial.visible;
|
|
45780
45781
|
this.results = [threeMesh];
|
|
45781
45782
|
this.originalScale = threeMesh.scale.clone();
|
|
45782
45783
|
if (!this.meshDesc.scaleIsRelative) {
|
|
@@ -50311,10 +50312,10 @@ class EmitterGroupDesc extends RenderDesc {
|
|
|
50311
50312
|
}
|
|
50312
50313
|
if (FLAGS.PARTICLES_START_FULL) {
|
|
50313
50314
|
for (const emitterDesc of this.emitterDescs) {
|
|
50314
|
-
for (let i = 0; i < Math.min(emitterDesc.lifetime.Max * FLAGS.PARTICLES_START_FULL_FRAMERATE, FLAGS.PARTICLES_START_FULL * FLAGS.PARTICLES_START_FULL_FRAMERATE); i++) {
|
|
50315
|
+
for (let i = 0; i < Math.min(emitterDesc.lifetime.Max * 2 * FLAGS.PARTICLES_START_FULL_FRAMERATE, FLAGS.PARTICLES_START_FULL * FLAGS.PARTICLES_START_FULL_FRAMERATE); i++) {
|
|
50315
50316
|
emitterDesc.tick(1 / FLAGS.PARTICLES_START_FULL_FRAMERATE, this);
|
|
50316
|
-
emitterDesc.updateResult(this.renderScene);
|
|
50317
50317
|
}
|
|
50318
|
+
emitterDesc.updateResult(this.renderScene);
|
|
50318
50319
|
}
|
|
50319
50320
|
}
|
|
50320
50321
|
return this.results;
|