From 2d7d3949604162bc533b13852dd0416061267eec Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 5 Apr 2024 13:57:08 +0200 Subject: [PATCH] App: fix PropertyMaterial::Save to create valid XML output --- src/App/PropertyStandard.cpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/App/PropertyStandard.cpp b/src/App/PropertyStandard.cpp index 6319d289af..e7f335f882 100644 --- a/src/App/PropertyStandard.cpp +++ b/src/App/PropertyStandard.cpp @@ -2570,13 +2570,17 @@ void PropertyMaterial::setPyObject(PyObject* value) void PropertyMaterial::Save(Base::Writer& writer) const { - writer.Stream() << writer.ind() << "" - << "\" uuid=\"" << _cMat.uuid << "\"/>" << endl; + // clang-format off + writer.Stream() << writer.ind() + << "" << std::endl; + // clang-format on } void PropertyMaterial::Restore(Base::XMLReader& reader)