Compare commits

...

1 Commits

Author SHA1 Message Date
f32448016f Let default planes be selectable 2025-01-16 16:05:44 -05:00
2 changed files with 9 additions and 9 deletions

View File

@ -259,14 +259,14 @@ export const Stream = () => {
// If we're in sketch mode, don't send a engine-side select event
if (state.matches('Sketch')) return
// Only respect default plane selection if we're on a selection command argument
if (
state.matches({ idle: 'showPlanes' }) &&
!(
commandBarState.matches('Gathering arguments') &&
commandBarState.context.currentArgument?.inputType === 'selection'
)
)
return
// if (
// state.matches({ idle: 'showPlanes' }) &&
// !(
// commandBarState.matches('Gathering arguments') &&
// commandBarState.context.currentArgument?.inputType === 'selection'
// )
// )
// return
// If we're mousing up from a camera drag, don't send a select event
if (sceneInfra.camControls.wasDragging === true) return

View File

@ -1913,7 +1913,7 @@ export const modelingMachine = setup({
entry: [
'show default planes',
'reset camera position',
'set selection filter to curves only',
//'set selection filter to curves only',
],
description: `We want to disable selections and hover highlights here, because users can't do anything with that information until they actually add something to the scene. The planes are just for orientation here.`,
exit: 'set selection filter to defaults',