disable copilot in sketch mode (#2865)
* disable copilot in sketch mode Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -709,6 +709,7 @@ export const modelingMachine = createMachine(
|
||||
'remove sketch grid',
|
||||
'engineToClient cam sync direction',
|
||||
'Reset Segment Overlays',
|
||||
'enable copilot',
|
||||
],
|
||||
|
||||
entry: [
|
||||
@ -719,7 +720,11 @@ export const modelingMachine = createMachine(
|
||||
},
|
||||
|
||||
'Sketch no face': {
|
||||
entry: ['show default planes', 'set selection filter to faces only'],
|
||||
entry: [
|
||||
'disable copilot',
|
||||
'show default planes',
|
||||
'set selection filter to faces only',
|
||||
],
|
||||
|
||||
exit: ['hide default planes', 'set selection filter to defaults'],
|
||||
on: {
|
||||
@ -727,6 +732,9 @@ export const modelingMachine = createMachine(
|
||||
target: 'animating to plane',
|
||||
actions: ['reset sketch metadata'],
|
||||
},
|
||||
Cancel: {
|
||||
actions: ['enable copilot'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@ -748,7 +756,7 @@ export const modelingMachine = createMachine(
|
||||
id: 'animate-to-sketch',
|
||||
onDone: {
|
||||
target: 'Sketch',
|
||||
actions: 'set new sketch metadata',
|
||||
actions: ['disable copilot', 'set new sketch metadata'],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user