Skip to content

Commit

Permalink
Update Object3D.js
Browse files Browse the repository at this point in the history
lint worship
  • Loading branch information
srmcgann authored Jan 17, 2025
1 parent 16986ef commit 1f62779
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/core/Object3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,11 +1002,16 @@ class Object3D extends EventDispatcher {

if ( recursive === true ) {

if(typeof source.geometry.clone != 'undefined'){
if( typeof source.geometry.clone != 'undefined' ){

Check failure on line 1005 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Expected space(s) after "if"

Check failure on line 1005 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Missing space before opening brace

Check failure on line 1006 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Trailing spaces not allowed
this.geometry = source.geometry.clone( true );

Check failure on line 1008 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Trailing spaces not allowed
}
if(typeof source.material.clone != 'undefined'){

Check failure on line 1010 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Trailing spaces not allowed
if( typeof source.material.clone != 'undefined' ){

Check failure on line 1011 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Expected space(s) after "if"

Check failure on line 1011 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Missing space before opening brace

Check failure on line 1012 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Trailing spaces not allowed
this.material = source.material.clone( true );

Check failure on line 1014 in src/core/Object3D.js

View workflow job for this annotation

GitHub Actions / Lint testing

Trailing spaces not allowed
}

for ( let i = 0; i < source.children.length; i ++ ) {
Expand Down

0 comments on commit 1f62779

Please sign in to comment.