Skip to content

Commit

Permalink
chore: Hide reference scene elements in Visualizer (#1052)
Browse files Browse the repository at this point in the history
Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
  • Loading branch information
msarcev and begonaalvarezd authored Feb 4, 2024
1 parent 40380c1 commit 230d641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/features/visualizer-threejs/Emitter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ const Emitter: React.FC<EmitterProps> = ({ setRunListeners, emitterRef }: Emitte
{/* TangleWrapper Mesh */}
<mesh name={CanvasElement.TangleWrapperMesh} position={[-(xTangleDistance / 2), 0, 0]}>
<boxGeometry args={[xTangleDistance, yTangleDistance, 0]} attach="geometry" />
<meshPhongMaterial opacity={1} wireframe={true} transparent attach="material" />
<meshPhongMaterial transparent opacity={0} wireframe={true} attach="material" />
</mesh>

{/* Emitter Mesh */}
<mesh ref={emitterRef} name={CanvasElement.EmitterMesh} position={[0, 0, 0]}>
<boxGeometry args={[EMITTER_WIDTH, EMITTER_HEIGHT, EMITTER_DEPTH]} />
<meshPhongMaterial transparent={true} opacity={0.6} />
<meshPhongMaterial transparent opacity={0} />
</mesh>
</group>
);
Expand Down

0 comments on commit 230d641

Please sign in to comment.