Make boolean commands available for release (#6500)

* Make boolean commands available for release
Fixes #6499

* Update src/lib/commandBarConfigs/modelingCommandConfig.ts

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
This commit is contained in:
Pierre Jacquier
2025-04-25 11:18:17 -04:00
committed by GitHub
parent be4a32a59e
commit 885d2afaa3
2 changed files with 4 additions and 7 deletions

View File

@ -554,7 +554,6 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
}, },
}, },
'Boolean Subtract': { 'Boolean Subtract': {
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both',
description: 'Subtract one solid from another.', description: 'Subtract one solid from another.',
icon: 'booleanSubtract', icon: 'booleanSubtract',
needsReview: true, needsReview: true,
@ -581,7 +580,6 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
}, },
}, },
'Boolean Union': { 'Boolean Union': {
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both',
description: 'Union multiple solids into a single solid.', description: 'Union multiple solids into a single solid.',
icon: 'booleanUnion', icon: 'booleanUnion',
needsReview: true, needsReview: true,
@ -598,8 +596,7 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
}, },
}, },
'Boolean Intersect': { 'Boolean Intersect': {
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both', description: 'Create a solid from the intersection of two solids.',
description: 'Subtract one solid from another.',
icon: 'booleanIntersect', icon: 'booleanIntersect',
needsReview: true, needsReview: true,
args: { args: {

View File

@ -236,7 +236,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
data: { name: 'Boolean Union', groupId: 'modeling' }, data: { name: 'Boolean Union', groupId: 'modeling' },
}), }),
icon: 'booleanUnion', icon: 'booleanUnion',
status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', status: 'available',
title: 'Union', title: 'Union',
hotkey: 'Shift + B U', hotkey: 'Shift + B U',
description: 'Combine two or more solids into a single solid.', description: 'Combine two or more solids into a single solid.',
@ -255,7 +255,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
data: { name: 'Boolean Subtract', groupId: 'modeling' }, data: { name: 'Boolean Subtract', groupId: 'modeling' },
}), }),
icon: 'booleanSubtract', icon: 'booleanSubtract',
status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', status: 'available',
title: 'Subtract', title: 'Subtract',
hotkey: 'Shift + B S', hotkey: 'Shift + B S',
description: 'Subtract one solid from another.', description: 'Subtract one solid from another.',
@ -274,7 +274,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
data: { name: 'Boolean Intersect', groupId: 'modeling' }, data: { name: 'Boolean Intersect', groupId: 'modeling' },
}), }),
icon: 'booleanIntersect', icon: 'booleanIntersect',
status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', status: 'available',
title: 'Intersect', title: 'Intersect',
hotkey: 'Shift + B I', hotkey: 'Shift + B I',
description: 'Create a solid from the intersection of two solids.', description: 'Create a solid from the intersection of two solids.',