File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ export function addSweep({
238238 }
239239
240240 // Find the path declaration for the labeled argument
241+ // TODO: see if we can replace this with `getVariableExprsFromSelection`
241242 const pathDeclaration = getNodeFromPath < VariableDeclaration > (
242243 ast ,
243244 path . graphSelections [ 0 ] . codeRef . pathToNode ,
Original file line number Diff line number Diff line change @@ -645,7 +645,8 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
645645 } ,
646646 path : {
647647 inputType : 'selection' ,
648- selectionTypes : [ 'segment' , 'helix' ] ,
648+ selectionTypes : [ 'path' , 'helix' ] ,
649+ selectionFilter : [ 'object' ] ,
649650 required : true ,
650651 multiple : false ,
651652 hidden : ( context ) => Boolean ( context . argumentsToSubmit . nodeToEdit ) ,
You can’t perform that action at this time.
0 commit comments