Merge pull request #24852 from tarman3/inspect_mhs

CAM: Inspect - decrease default Max Highlighter Size
This commit is contained in:
sliptonic
2025-11-14 12:23:27 -06:00
committed by GitHub

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"):