Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Fixed eslint problems #28261

Merged
merged 1 commit into from
May 3, 2024
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
4 changes: 2 additions & 2 deletions editor/js/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function Loader( editor ) {

}, function ( error ) {

console.error( error )
console.error( error );

} );

Expand Down Expand Up @@ -941,7 +941,7 @@ function Loader( editor ) {
{

const loader = await createGLTFLoader( manager );

loader.parse( strFromU8( file ), '', function ( result ) {

const scene = result.scene;
Expand Down
2 changes: 1 addition & 1 deletion editor/js/Menubar.View.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function MenubarView( editor ) {

}

} );
} );

}

Expand Down
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function SidebarScene( editor ) {
const backgroundIntensity = new UINumber( 1 ).setWidth( '40px' ).setRange( 0, Infinity ).onChange( onBackgroundChanged );
backgroundEquirectRow.add( backgroundIntensity );

const backgroundRotation = new UINumber( 0 ).setWidth( '40px' ).setRange( -180, 180 ).setStep( 10 ).setNudge( 0.1 ).setUnit( '°' ).onChange( onBackgroundChanged );
const backgroundRotation = new UINumber( 0 ).setWidth( '40px' ).setRange( - 180, 180 ).setStep( 10 ).setNudge( 0.1 ).setUnit( '°' ).onChange( onBackgroundChanged );
backgroundEquirectRow.add( backgroundRotation );

container.add( backgroundEquirectRow );
Expand Down
6 changes: 3 additions & 3 deletions editor/js/Viewport.Pathtracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function ViewportPathtracer( renderer ) {

}

function setSize( width, height ) {
function setSize( /* width, height */ ) {

if ( pathTracer === null ) return;

Expand All @@ -26,7 +26,7 @@ function ViewportPathtracer( renderer ) {

}

function setBackground( background, blurriness ) {
function setBackground( /* background, blurriness */ ) {

if ( pathTracer === null ) return;

Expand All @@ -43,7 +43,7 @@ function ViewportPathtracer( renderer ) {

}

function setEnvironment( environment ) {
function setEnvironment( /* environment */ ) {

if ( pathTracer === null ) return;

Expand Down
Loading