fix: Rename removeGrainline to removeGrain
This commit is contained in:
parent
bc2a82c8d9
commit
4689f56626
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ export const cutonfoldDefs = [
|
|||
* The rmcutonfold macro
|
||||
*/
|
||||
const rmcutonfold = (id = macroDefaults.id, { store, part }) => {
|
||||
if (store.cutlist.getGrainOrigin() === 'cutonfold') store.cutlist.removeGrainline()
|
||||
if (store.cutlist.getGrainOrigin() === 'cutonfold') store.cutlist.removeGrain()
|
||||
store.cutlist.removeCutOnFold()
|
||||
|
||||
return store.removeMacroNodes(id, 'cutonfold', part)
|
||||
|
|
|
@ -33,7 +33,7 @@ export const grainlineDefs = [
|
|||
* The rmgrainline macro
|
||||
*/
|
||||
const rmgrainline = (id = macroDefaults.id, { store, part }) => {
|
||||
if (store.cutlist.getGrainOrigin() === 'grainline') store.cutlist.removeGrainline()
|
||||
if (store.cutlist.getGrainOrigin() === 'grainline') store.cutlist.removeGrain()
|
||||
|
||||
return store.removeMacroNodes(id, 'grainline', part)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue