CAM: fix: CAM tests use files from user asset dir

This commit is contained in:
Samuel Abels
2025-07-08 16:41:05 +02:00
parent ff9cbf2052
commit 8430fd5615
2 changed files with 4 additions and 1 deletions

View File

@@ -108,6 +108,10 @@ class CAMWorkbench(Workbench):
from Path.Tool.toolbit.ui import cmd as PathToolBitCmd
from Path.Tool.library.ui import cmd as PathToolBitLibraryCmd
from Path.Tool.camassets import cam_assets
cam_assets.setup()
from PySide.QtCore import QT_TRANSLATE_NOOP
import PathCommands

View File

@@ -18,7 +18,6 @@ cam_assets.register_asset(ToolBitShape, DummyAssetSerializer)
cam_assets.register_asset(ToolBitShapePngIcon, DummyAssetSerializer)
cam_assets.register_asset(ToolBitShapeSvgIcon, DummyAssetSerializer)
cam_assets.register_asset(Machine, DummyAssetSerializer)
cam_assets.setup()
# For backward compatibility with files saved before the toolbit rename
# This makes the Path.Tool.toolbit.base module available as Path.Tool.Bit.