[studio] fix: Fix the pattern templates
- "inherited: true" is wrong as it doesn't hide the "from" path - the brian template had incorrect part inheritance, back was inheriting the front part instead of the base brian back part - bent had a similar issue as brian
This commit is contained in:
parent
5cfa9df287
commit
cd2b005be7
5 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
import { front } from './front.mjs'
|
||||
import { back as brianBack } from '@freesewing/brian'
|
||||
|
||||
export const back = {
|
||||
from: front,
|
||||
from: brianBack,
|
||||
name: '{{ name }}.back',
|
||||
hide: { from: true },
|
||||
options: {},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { base } from '@freesewing/brian'
|
||||
import { front as brianFront } from '@freesewing/brian'
|
||||
|
||||
export const front = {
|
||||
from: base,
|
||||
from: brianFront,
|
||||
name: '{{ name }}.front',
|
||||
hide: { from: true },
|
||||
measurements: [],
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { front } from './front.mjs'
|
||||
import { back as brianBack } from '@freesewing/brian'
|
||||
|
||||
export const back = {
|
||||
from: front,
|
||||
from: brianBack,
|
||||
name: '{{ name }}.back',
|
||||
hide: { inherited: true },
|
||||
hide: { from: true },
|
||||
options: {},
|
||||
draft: ({ part }) => {
|
||||
return part
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { base } from '@freesewing/brian'
|
||||
import { front as brianFront } from '@freesewing/brian'
|
||||
|
||||
export const front = {
|
||||
from: base,
|
||||
from: brianFront,
|
||||
name: '{{ name }}.front',
|
||||
hide: { inherited: true },
|
||||
hide: { from: true },
|
||||
measurements: [],
|
||||
options: {},
|
||||
draft: ({ part }) => {
|
||||
|
|
|
@ -3,7 +3,7 @@ import { front as titanFront } from '@freesewing/titan'
|
|||
export const front = {
|
||||
from: titanFront,
|
||||
name: '{{ name }}.front',
|
||||
hide: { inherited: true },
|
||||
hide: { from: true },
|
||||
measurements: [],
|
||||
options: {},
|
||||
draft: ({ part }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue