Skip to content

Commit

Permalink
Merge pull request #443 from pmndrs/dev
Browse files Browse the repository at this point in the history
Version 6.29.3
  • Loading branch information
vanruesc authored Jan 1, 2023
2 parents 509db64 + 617d088 commit 3165a87
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 229 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postprocessing",
"version": "6.29.2",
"version": "6.29.3",
"description": "A post processing library that provides the means to implement image filter effects for three.js.",
"homepage": "https://github.com/pmndrs/postprocessing",
"main": "build/postprocessing.js",
Expand Down
66 changes: 33 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/core/EffectComposer.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ export class EffectComposer {

if(deltaTime === undefined) {

deltaTime = this.timer.update().getDelta();
this.timer.update();
deltaTime = this.timer.delta;

}

Expand Down Expand Up @@ -685,10 +686,10 @@ export class EffectComposer {

reset() {

const autoReset = this.timer.isAutoResetEnabled();
const autoReset = this.timer.autoReset;
this.dispose();
this.autoRenderToScreen = true;
this.timer.setAutoResetEnabled(autoReset);
this.timer.autoReset = autoReset;

}

Expand Down
Loading

0 comments on commit 3165a87

Please sign in to comment.