Compare commits

...

1 Commits

Author SHA1 Message Date
8210663923 replicate bad error 2023-11-10 05:55:57 +11:00
2 changed files with 3 additions and 2 deletions

View File

@ -289,6 +289,7 @@ export class EngineConnection {
) )
} else { } else {
console.error(`Error from server:\n${errorsString}`) console.error(`Error from server:\n${errorsString}`)
console.log(message)
} }
return return
} }

View File

@ -120,7 +120,7 @@ export async function getEventForSelectWithPoint(
}, },
} }
} }
if (!sketchEnginePathId) return null // if (!sketchEnginePathId) return null
// selected a vertex // selected a vertex
const res = await engineCommandManager.sendSceneCommand({ const res = await engineCommandManager.sendSceneCommand({
type: 'modeling_cmd_req', type: 'modeling_cmd_req',
@ -128,7 +128,7 @@ export async function getEventForSelectWithPoint(
cmd: { cmd: {
type: 'path_get_curve_uuids_for_vertices', type: 'path_get_curve_uuids_for_vertices',
vertex_ids: [data.entity_id], vertex_ids: [data.entity_id],
path_id: sketchEnginePathId, path_id: sketchEnginePathId || '',
}, },
}) })
const curveIds = res?.data?.data?.curve_ids const curveIds = res?.data?.data?.curve_ids