[TD]handle new identifier for Draft objects

This commit is contained in:
wandererfan
2020-05-19 13:59:51 -04:00
committed by WandererFan
parent e0de107817
commit 992d584b20
2 changed files with 5 additions and 0 deletions

View File

@@ -167,6 +167,8 @@ bool DrawGuiUtil::isDraftObject(App::DocumentObject* obj)
ss << (std::string)mod;
if (ss.str().find("Draft") != std::string::npos) {
result = true;
} else if (ss.str().find("draft") != std::string::npos) {
result = true;
}
}
}