From 885d2afaa3e70a55967004d8a5fc6684a0738e7d Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Fri, 25 Apr 2025 11:18:17 -0400 Subject: [PATCH] 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> --- src/lib/commandBarConfigs/modelingCommandConfig.ts | 5 +---- src/lib/toolbar.ts | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/lib/commandBarConfigs/modelingCommandConfig.ts b/src/lib/commandBarConfigs/modelingCommandConfig.ts index 6ef285da3..ad115fe09 100644 --- a/src/lib/commandBarConfigs/modelingCommandConfig.ts +++ b/src/lib/commandBarConfigs/modelingCommandConfig.ts @@ -554,7 +554,6 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig< }, }, 'Boolean Subtract': { - hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both', description: 'Subtract one solid from another.', icon: 'booleanSubtract', needsReview: true, @@ -581,7 +580,6 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig< }, }, 'Boolean Union': { - hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both', description: 'Union multiple solids into a single solid.', icon: 'booleanUnion', needsReview: true, @@ -598,8 +596,7 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig< }, }, 'Boolean Intersect': { - hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both', - description: 'Subtract one solid from another.', + description: 'Create a solid from the intersection of two solids.', icon: 'booleanIntersect', needsReview: true, args: { diff --git a/src/lib/toolbar.ts b/src/lib/toolbar.ts index f3909d0d7..b4a2a0186 100644 --- a/src/lib/toolbar.ts +++ b/src/lib/toolbar.ts @@ -236,7 +236,7 @@ export const toolbarConfig: Record = { data: { name: 'Boolean Union', groupId: 'modeling' }, }), icon: 'booleanUnion', - status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', + status: 'available', title: 'Union', hotkey: 'Shift + B U', description: 'Combine two or more solids into a single solid.', @@ -255,7 +255,7 @@ export const toolbarConfig: Record = { data: { name: 'Boolean Subtract', groupId: 'modeling' }, }), icon: 'booleanSubtract', - status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', + status: 'available', title: 'Subtract', hotkey: 'Shift + B S', description: 'Subtract one solid from another.', @@ -274,7 +274,7 @@ export const toolbarConfig: Record = { data: { name: 'Boolean Intersect', groupId: 'modeling' }, }), icon: 'booleanIntersect', - status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'unavailable', + status: 'available', title: 'Intersect', hotkey: 'Shift + B I', description: 'Create a solid from the intersection of two solids.',