File tree Expand file tree Collapse file tree
solid_node/viewers/web/app/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ const App = () => {
7373 return (
7474 < Router >
7575 < div className = "app" >
76- < div className = "top" >
77- </ div >
7876 < div className = "body" >
7977 < Resizable
8078 className = "pane left"
81- defaultSize = { { width : '80 %' , height : '100%' } }
79+ defaultSize = { { width : '100 %' , height : '100%' } }
8280 enable = { { right : true } }
8381 >
8482 { ! error &&
@@ -103,13 +101,6 @@ const App = () => {
103101 */ }
104102 </ div >
105103 </ Resizable >
106- < Resizable
107- defaultSize = { { width : '20%' , height : '100%' } }
108- className = "pane right"
109- enable = { { right : true } }
110- >
111- < NavigationTree />
112- </ Resizable >
113104 </ div >
114105 </ div >
115106 </ Router >
Original file line number Diff line number Diff line change @@ -106,18 +106,8 @@ export abstract class Node {
106106 const tstamp = new Date ( ) . getTime ( ) ; // avoid cache
107107
108108 stlLoader . load ( `/node${ this . path } ${ this . model } ?t=${ tstamp } ` , ( geometry ) => {
109- let material ;
110- if ( this . color ) {
111- const color = new THREE . Color ( this . color ) ;
112- material = new THREE . MeshBasicMaterial ( {
113- color : color ,
114- //metalness: 0.2,
115- //roughness: 0.5,
116- //emissive: color,
117- } ) ;
118- } else {
119- material = new THREE . MeshNormalMaterial ( ) ;
120- }
109+ // TODO use this.color to colorize node
110+ const material = new THREE . MeshNormalMaterial ( ) ;
121111 const mesh = new THREE . Mesh ( geometry , material ) ;
122112 if ( this . context . scene ) {
123113 if ( this . mesh ) {
You can’t perform that action at this time.
0 commit comments