!2481 开发: 在命令面板中添加渲染器类别,并包含效果图等命令

pull/2485/head
张子涵 10 months ago committed by ChenX
parent 8c4beb9eea
commit ca798cbfc6

@ -45,6 +45,7 @@ export class CommandPanel extends React.Component<{}, CommandPanelState>
["视口编辑", "viewport", 0],
["二维编辑", "i2dbj", 0],
["工具", "util", 0],
["渲染器", "renderer", 0],
["酷家乐", "kjl", 0],
["配置", "config", 0],
["文件", "file", 0],

@ -2373,56 +2373,66 @@ export const CommandList: ICommand[] = [
chDes: "解冻冻结的实体",
},
{
icon: IconEnum.VisibleInRender,
icon: IconEnum.Group,
typeId: "util",
link: `#`,
defaultCustom: "Group",
command: CommandNames.Group,
type: "工具",
chName: "编组",
chDes: "编组",
},
{
icon: IconEnum.UnGroup,
typeId: "util",
link: `#`,
defaultCustom: "UG",
command: CommandNames.UnGroup,
type: "工具",
chName: "解除编组",
chDes: "解除编组",
},
// 渲染器命令
{
icon: IconEnum.ExportData,
typeId: "renderer",
link: `#`,
defaultCustom: "EXPORTDATA",
command: CommandNames.ExportData,
type: "渲染器",
chName: "发送到渲染器",
chDes: "将图形发送到渲染器(如果未启动会自动尝试启动)",
},
{
icon: IconEnum.VisibleInRender,
typeId: "renderer",
link: `#`,
defaultCustom: CommandNames.VisibleInRender,
command: CommandNames.VisibleInRender,
type: "工具",
type: "渲染器",
chName: "渲染器中显示实体",
chDes: "在渲染器中显示选中的实体",
},
{
icon: IconEnum.UnVisibleInRender,
typeId: "util",
typeId: "renderer",
link: `#`,
defaultCustom: CommandNames.UnVisibleInRender,
command: CommandNames.UnVisibleInRender,
type: "工具",
type: "渲染器",
chName: "渲染器中隐藏实体",
chDes: "渲染器中隐藏选中的实体",
},
{
icon: IconEnum.ToggleSyncData,
typeId: "util",
typeId: "renderer",
link: `#`,
defaultCustom: CommandNames.EnableSyncData,
command: CommandNames.EnableSyncData,
type: "工具",
type: "渲染器",
chName: "启用效果图同步模式",
chDes: "启用效果图同步模式",
},
{
icon: IconEnum.Group,
typeId: "util",
link: `#`,
defaultCustom: "Group",
command: CommandNames.Group,
type: "工具",
chName: "编组",
chDes: "编组",
},
{
icon: IconEnum.UnGroup,
typeId: "util",
link: `#`,
defaultCustom: "UG",
command: CommandNames.UnGroup,
type: "工具",
chName: "解除编组",
chDes: "解除编组",
},
// 酷家乐命令
{
typeId: "kjl",

Loading…
Cancel
Save