App: Fix exported object dynamic property type identifier (#21415)

Fixes: 9d6f1ad37c ("App: Align Document to best practices")

Co-authored-by: jffmichi <>
This commit is contained in:
jffmichi
2025-05-18 01:38:04 +02:00
committed by GitHub
parent 0e9c1451c7
commit 8331a41902

View File

@@ -1184,7 +1184,7 @@ void Document::exportObjects(const std::vector<DocumentObject*>& obj, std::ostre
FC_LOG("exporting " << o->getFullName());
if (!o->getPropertyByName("_ObjectUUID")) {
auto prop = static_cast<PropertyUUID*>(
o->addDynamicProperty("PropertyUUID",
o->addDynamicProperty("App::PropertyUUID",
"_ObjectUUID",
nullptr,
nullptr,