mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-08 01:13:27 +01:00
some useful debug actions
This commit is contained in:
parent
ccea7762e8
commit
9eb2400a01
1 changed files with 12 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ const DebugMenuConfig = {
|
|||
cssIcons: ['bug'],
|
||||
info: 'set of debug actions',
|
||||
actions: ['DebugPrintAllSolids', 'DebugPrintFace', 'DebugFaceId', 'DebugFaceSketch',
|
||||
'DebugSetSketcherIntegerPrecision', 'DebugGenerateTest', 'DebugOpenBrepDebugger']
|
||||
'DebugSetSketcherIntegerPrecision', 'DebugOpenLastTest', 'DebugGenerateTest', 'DebugOpenBrepDebugger']
|
||||
};
|
||||
|
||||
const DebugActions = [
|
||||
|
|
@ -322,6 +322,17 @@ const DebugActions = [
|
|||
window.location.href = url;
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DebugOpenLastTest',
|
||||
appearance: {
|
||||
cssIcons: ['gear'],
|
||||
label: 'open last test',
|
||||
info: 'open test project with the data generated by the latest executed unit test',
|
||||
},
|
||||
invoke: ({bus, services: {project, storage, sketcher, cadRegistry}}) => {
|
||||
window.location.href = '/index.html?$$$__test__$$$';
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DebugGenerateTest',
|
||||
appearance: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue