Merge pull request #24852 from tarman3/inspect_mhs
CAM: Inspect - decrease default Max Highlighter Size
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user