CAM: Inspect - decrease default Max Highlighter Size

This commit is contained in:
tarman3
2025-10-26 09:08:27 +02:00
parent c5fe8d5b4d
commit 268d4a310f

View File

@@ -214,8 +214,8 @@ def show(obj):
"show(obj): shows the G-code data of the given Path object in a dialog"
prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
# default Max Highlighter Size = 512 Ko
defaultMHS = 512 * 1024
# default Max Highlighter Size = 256 Ko
defaultMHS = 256 * 1024
mhs = prefs.GetUnsigned("inspecteditorMaxHighlighterSize", defaultMHS)
if hasattr(obj, "Path"):