File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ export const app = (window.app = createApp({
113113 preview . clear ( ) ;
114114 preview . devMode = prevDevMode ;
115115
116- console . log ( 'processGcode:' , filename ) ;
117116 await preview . processGCode ( gcodeStream , { render : false } ) ; // rendering will be done reactively
118117 } ;
119118
@@ -176,11 +175,8 @@ export const app = (window.app = createApp({
176175 watch ( enableDevMode , applyDevMode ) ;
177176
178177 onMounted ( async ( ) => {
179- console . log ( 'App mounted' ) ;
180178 await selectPreset ( defaultPreset ) ;
181179
182- console . log ( 'preset selected. watcheffects' , preview ) ;
183-
184180 watchEffect ( ( ) => {
185181 preview . backgroundColor = settings . value . backgroundColor ;
186182 } ) ;
Original file line number Diff line number Diff line change @@ -8,15 +8,13 @@ export function tabs() {
88
99 document . querySelectorAll ( '.panel' ) . forEach ( ( panel ) => {
1010 if ( panel . dataset . panel == target . dataset . tab ) {
11- console . log ( 'show' , panel ) ;
1211 panel . classList . remove ( 'is-hidden' ) ;
1312 document . querySelectorAll ( '.bulma-is-active' ) . forEach ( ( el ) => {
1413 el . classList . remove ( 'bulma-is-active' ) ;
1514 } ) ;
1615 target . parentElement . classList . add ( 'bulma-is-active' ) ;
1716 return ;
1817 }
19- console . log ( 'hide' , panel ) ;
2018 panel . classList . add ( 'is-hidden' ) ;
2119 } ) ;
2220 } ) ;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export function createColorMaterial(
7171 if ( cachedMaterials [ color ] ) {
7272 return cachedMaterials [ color ] ;
7373 }
74- console . log ( 'createColorMaterial. not cached' ) ;
74+ console . debug ( 'createColorMaterial. not cached' , color ) ;
7575
7676 const material = new ShaderMaterial ( {
7777 vertexShader,
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ export class Job {
204204 } catch ( e ) {
205205 if ( e instanceof NonApplicableIndexer ) {
206206 if ( e instanceof NonPlanarPathError ) {
207- console . warn ( 'Non-planar path detected; clearing layers ' ) ;
207+ console . warn ( 'Non-planar path detected; clearing layer index ' ) ;
208208 this . _layers = [ ] ;
209209 }
210210 const i = this . indexers . indexOf ( indexer ) ;
Original file line number Diff line number Diff line change @@ -885,7 +885,6 @@ export class WebGLPreview {
885885 result = await reader . read ( ) ;
886886 const length = result . value ?. length ?? 0 ;
887887 if ( length === 0 ) {
888- console . debug ( 'stream ended' ) ;
889888 break ;
890889 }
891890 console . debug ( 'reading from stream' , Math . floor ( length / 1024 ) , 'kB' ) ;
You can’t perform that action at this time.
0 commit comments