summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/tool/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/tool/parser.cpp b/slicer/tool/parser.cpp
index 302ea63..d61c8a6 100644
--- a/slicer/tool/parser.cpp
+++ b/slicer/tool/parser.cpp
@@ -583,7 +583,7 @@ namespace Slicer {
Slicer::defineMODELPART(const std::string & type, const Slice::TypePtr & stype, const Slice::StringList & metadata) const
{
if (auto cmp = metaDataValue("slicer:custommodelpart:", metadata)) {
- fprintbf(cpp, "CUSTOMMODELPARTFOR(%s, %s< %s >, ::%s);\n\n",
+ fprintbf(cpp, "CUSTOMMODELPARTFOR(%s, %s< %s >, %s);\n\n",
type, getBasicModelPart(stype), type, boost::algorithm::replace_all_copy(*cmp, ".", "::"));
}
else {