three-base 2.0.15 → 2.0.16
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/ThreeBase.js +1 -2
- package/ThreeBase.ts +1 -2
- package/package.json +1 -1
package/ThreeBase.js
CHANGED
|
@@ -295,8 +295,7 @@ export default class ThreeBase extends EventDispatcher {
|
|
|
295
295
|
this.renderer.render(this.scene, this.camera);
|
|
296
296
|
this.renderer.setRenderTarget(null);
|
|
297
297
|
this.renderer.clear();
|
|
298
|
-
this.
|
|
299
|
-
// this.renderer.render(this.scene, this.camera);
|
|
298
|
+
this.renderer.render(this.scene, this.camera);
|
|
300
299
|
// 查找需要绘制描边的对象,并且绘制描边
|
|
301
300
|
this.scene.traverse(obj => {
|
|
302
301
|
stroke_pass(this.renderer, this.camera, obj, this.baseDepthTexture);
|
package/ThreeBase.ts
CHANGED
|
@@ -354,8 +354,7 @@ export default class ThreeBase extends EventDispatcher {
|
|
|
354
354
|
|
|
355
355
|
this.renderer.setRenderTarget(null);
|
|
356
356
|
this.renderer.clear();
|
|
357
|
-
this.
|
|
358
|
-
// this.renderer.render(this.scene, this.camera);
|
|
357
|
+
this.renderer.render(this.scene, this.camera);
|
|
359
358
|
|
|
360
359
|
// 查找需要绘制描边的对象,并且绘制描边
|
|
361
360
|
this.scene.traverse(obj => {
|