File tree Expand file tree Collapse file tree
ReaderWriter/3rdPartyFormatAdapters/GCODE/GCodeReaderWriter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,14 +291,16 @@ void UpdateLineSequence(LinearInterpolationCmd linearCmd)
291291 // Update speed first to check if marking params changed and new vector block is needed
292292 UpdateSpeed ( linearCmd . isOperation , linearCmd . feedRate ) ;
293293
294- if ( _currentVB . LineSequence == null )
294+ if ( _currentVB . LineSequenceParaAdapt == null )
295295 {
296- _currentVB . LineSequence = new VectorBlock . Types . LineSequence ( ) ;
296+ _currentVB . LineSequenceParaAdapt = new VectorBlock . Types . LineSequenceParaAdapt
297+ {
298+ } ;
297299 }
298- _currentVB . LineSequence . Points . Add ( absolutePositioning
300+ _currentVB . LineSequenceParaAdapt . PointsWithParas . Add ( absolutePositioning
299301 ? ( linearCmd . xPosition ?? position . X ) // Use absolute x-positioning
300302 : ( position . X + ( linearCmd . xPosition ?? 0 ) ) ) ; // Use relative xpositioning
301- _currentVB . LineSequence . Points . Add ( absolutePositioning
303+ _currentVB . LineSequenceParaAdapt . PointsWithParas . Add ( absolutePositioning
302304 ? ( linearCmd . yPosition ?? position . Y ) // Use absolute y-positioning
303305 : ( position . Y + ( linearCmd . yPosition ?? 0 ) ) ) ; // Use relative y-positioning
304306 }
You can’t perform that action at this time.
0 commit comments