Skip to content

Commit

Permalink
Editor: Only display video renderer when SharedArrayBuffer is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 8, 2021
1 parent 0b608ec commit 71ffae3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion editor/js/Sidebar.Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ function SidebarProject( editor ) {

/* container.add( new SidebarProjectMaterials( editor ) ); */
container.add( new SidebarProjectRenderer( editor ) );
container.add( new SidebarProjectVideo( editor ) );

if ( 'SharedArrayBuffer' in window ) {

container.add( new SidebarProjectVideo( editor ) );

}

return container;

Expand Down

0 comments on commit 71ffae3

Please sign in to comment.