Browse Source

Playground: Fix usage of `timerLocal`. (#31889)

Michael Herzog 5 months ago
parent
commit
3ecd1c3872
1 changed files with 2 additions and 2 deletions
  1. 2 2
      playground/editors/TimerEditor.js

+ 2 - 2
playground/editors/TimerEditor.js

@@ -1,12 +1,12 @@
 import { NumberInput, LabelElement, Element, ButtonInput } from 'flow';
 import { BaseNodeEditor } from '../BaseNodeEditor.js';
-import { timerLocal } from 'three/tsl';
+import { time } from 'three/tsl';
 
 export class TimerEditor extends BaseNodeEditor {
 
 	constructor() {
 
-		const node = timerLocal();
+		const node = time;
 
 		super( 'Timer', node, 200 );
 

粤ICP备19079148号