Skip to content

Commit 525f213

Browse files
authored
Assemblies: Make Clone available in releases (KittyCAD#6538)
* Assemblies: Make Clone available in releases Fixes KittyCAD#6537 * Lint
1 parent 58a81da commit 525f213

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/lib/commandBarConfigs/modelingCommandConfig.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Models } from '@kittycad/lib'
22

33
import { angleLengthInfo } from '@src/components/Toolbar/angleLengthInfo'
4-
import { DEV } from '@src/env'
54
import { findUniqueName } from '@src/lang/create'
65
import { getNodeFromPath } from '@src/lang/queryAst'
76
import { getVariableDeclaration } from '@src/lang/queryAst/getVariableDeclaration'
@@ -34,7 +33,6 @@ import type { Selections } from '@src/lib/selections'
3433
import { codeManager, kclManager } from '@src/lib/singletons'
3534
import { err } from '@src/lib/trap'
3635
import type { SketchTool, modelingMachine } from '@src/machines/modelingMachine'
37-
import { IS_NIGHTLY_OR_DEBUG } from '@src/routes/utils'
3836

3937
type OutputFormat = Models['OutputFormat3d_type']
4038
type OutputTypeKey = OutputFormat['type']
@@ -1115,7 +1113,6 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
11151113
description: 'Clone a solid or sketch.',
11161114
icon: 'clone',
11171115
needsReview: true,
1118-
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both',
11191116
args: {
11201117
nodeToEdit: {
11211118
description:

src/lib/toolbar.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { DEV } from '@src/env'
21
import type { EventFrom, StateFrom } from 'xstate'
32
import { settingsActor } from '@src/lib/singletons'
43

@@ -11,7 +10,6 @@ import {
1110
isEditingExistingSketch,
1211
pipeHasCircle,
1312
} from '@src/machines/modelingMachine'
14-
import { IS_NIGHTLY_OR_DEBUG } from '@src/routes/utils'
1513

1614
export type ToolbarModeName = 'modeling' | 'sketching'
1715

@@ -405,7 +403,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
405403
type: 'Find and select command',
406404
data: { name: 'Clone', groupId: 'modeling' },
407405
}),
408-
status: DEV || IS_NIGHTLY_OR_DEBUG ? 'available' : 'kcl-only',
406+
status: 'available',
409407
title: 'Clone',
410408
icon: 'clone',
411409
description: 'Clone a solid or sketch.',

0 commit comments

Comments
 (0)