From 3bacbf312db770c24498d391860311708ee26844 Mon Sep 17 00:00:00 2001 From: adrianinsaval <36372335+adrianinsaval@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:34:54 -0400 Subject: [PATCH] Improve grid maxNumberOfLines warning message --- src/Mod/Part/Gui/ViewProvider2DObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/ViewProvider2DObject.cpp b/src/Mod/Part/Gui/ViewProvider2DObject.cpp index c5a2d980ab..533ed97f33 100644 --- a/src/Mod/Part/Gui/ViewProvider2DObject.cpp +++ b/src/Mod/Part/Gui/ViewProvider2DObject.cpp @@ -202,7 +202,7 @@ SoSeparator* ViewProvider2DObjectGrid::createGrid(void) if (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()); + "Either increase the 'GridSize' property to a more reasonable value (recommended) or increase the 'maxNumberOfLines' property.\n", lines, maxNumberOfLines.getValue()); parent->addChild(vts); parent->addChild(grid); return GridRoot;