File tree Expand file tree Collapse file tree
packages/front/src/fragments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -425,11 +425,15 @@ export class Highlighter
425425 for ( const fragID in this . selection [ name ] ) {
426426 const fragment = fragments . list . get ( fragID ) ;
427427
428- if ( ! fragment ) continue ;
428+ if ( ! fragment ) {
429+ continue ;
430+ }
429431 const ids = selected [ fragID ] ;
430- if ( ! ids ) continue ;
432+ if ( ! ids ) {
433+ continue ;
434+ }
431435 if ( this . backupColor ) {
432- fragment . setColor ( this . backupColor ) ;
436+ fragment . setColor ( this . backupColor , ids ) ;
433437 } else {
434438 fragment . resetColor ( ids ) ;
435439 }
Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ world.scene = new OBC.SimpleScene(components);
4848world . renderer = new OBCF . PostproductionRenderer ( components , container ) ;
4949world . camera = new OBC . OrthoPerspectiveCamera ( components ) ;
5050
51- // @ts -ignore
52- world . camera . _aaaaa = "heyyyy" ;
53-
5451world . renderer . postproduction . enabled = true ;
5552world . renderer . postproduction . customEffects . outlineEnabled = true ;
5653
You can’t perform that action at this time.
0 commit comments