TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy

This commit is contained in:
marioalexis
2022-11-08 17:13:59 -03:00
committed by WandererFan
parent 91a254a0fc
commit e9782bfe38
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ Py::Dict CenterLinePy::getFormat() const
dict.setItem("style", Py::Long(format->m_style));
dict.setItem("weight", Py::Float(format->m_weight));
dict.setItem("color", Py::Tuple(DrawUtil::colorToPyTuple(format->m_color)));
dict.setItem("color", Py::Tuple(DrawUtil::colorToPyTuple(format->m_color), true));
dict.setItem("visible", Py::Boolean(format->m_visible));
return dict;