From 1e3275a06598942ae0c972f961418ac18f779be5 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 19 Jul 2022 11:50:56 +0200 Subject: [PATCH] Part: add instruction how to adjust the maximum number of grid lines --- src/Mod/Part/Gui/ViewProvider2DObject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/ViewProvider2DObject.cpp b/src/Mod/Part/Gui/ViewProvider2DObject.cpp index d5af5b35cf..c5a2d980ab 100644 --- a/src/Mod/Part/Gui/ViewProvider2DObject.cpp +++ b/src/Mod/Part/Gui/ViewProvider2DObject.cpp @@ -201,7 +201,8 @@ SoSeparator* ViewProvider2DObjectGrid::createGrid(void) int lines = vlines + hlines; if (lines > maxNumberOfLines.getValue()) { - Base::Console().Warning("Grid Disabled: Requested number of lines %d is larger than the maximum configured of %d\n.", lines, maxNumberOfLines.getValue()); + Base::Console().Warning("Grid Disabled: Requested number of lines %d is larger than the maximum configured of %d\n." + "In order to increase the maximum adjust the property 'maxNumberOfLines'\n", lines, maxNumberOfLines.getValue()); parent->addChild(vts); parent->addChild(grid); return GridRoot;