Fix position of definition

This commit is contained in:
Filip Sykala - NTB T15p 2023-06-05 14:20:11 +02:00
parent 4532a27f82
commit 09e9193d92

View File

@ -1420,6 +1420,10 @@ static inline void execute_job(std::shared_ptr<Job> 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