Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions editor/js/Sidebar.Project.Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as THREE from 'three';

import { UIBreak, UIButton, UIInteger, UIPanel, UIRow, UISelect, UIText } from './libs/ui.js';

import { ViewportPathtracer } from './Viewport.Pathtracer.js';
// import { ViewportPathtracer } from './Viewport.Pathtracer.js';

function SidebarProjectImage( editor ) {

Expand Down Expand Up @@ -66,7 +66,7 @@ function SidebarProjectImage( editor ) {

const scene = loader.parse( json.scene );

const renderer = new THREE.WebGLRenderer( { antialias: true } );
const renderer = new THREE.WebGLRenderer( { antialias: true } );
renderer.setSize( imageWidth.getValue(), imageHeight.getValue() );

if ( project.shadows !== undefined ) renderer.shadowMap.enabled = project.shadows;
Expand Down Expand Up @@ -129,7 +129,7 @@ function SidebarProjectImage( editor ) {
if ( output.closed === true ) return;

requestAnimationFrame( animate );

pathtracer.update();

// status.textContent = Math.floor( samples );
Expand Down
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UIPanel, UIBreak, UIText, UIButton, UIRow, UIInput } from './libs/ui.js';
import { UIPanel, UIBreak, UIButton, UIRow, UIInput } from './libs/ui.js';

import { AddScriptCommand } from './commands/AddScriptCommand.js';
import { SetScriptValueCommand } from './commands/SetScriptValueCommand.js';
Expand Down