From 09e9193d929b4ddf067c2f8e7ad7a6d89515504f Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Mon, 5 Jun 2023 14:20:11 +0200 Subject: [PATCH] Fix position of definition --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index acd62e54df..af98e57bc4 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -1420,6 +1420,10 @@ static inline void execute_job(std::shared_ptr j) } // namespace priv #endif +namespace priv { +static bool is_text_empty(const std::string &text) { return text.empty() || text.find_first_not_of(" \n\t\r") == std::string::npos; } +} // namespace priv + bool GLGizmoEmboss::process() { // no volume is selected -> selection from right panel @@ -1488,10 +1492,6 @@ bool GLGizmoEmboss::process() return true; } -namespace priv { -static bool is_text_empty(const std::string &text) { return text.empty() || text.find_first_not_of(" \n\t\r") == std::string::npos; } -} - void GLGizmoEmboss::close() { // remove volume when text is empty