[Import] Dxf Fix regression from https://github.com/FreeCAD/FreeCAD/commit/1cd9feb
See discussion https://forum.freecad.org/viewtopic.php?t=80040&sid=9937b585c8681fe5a2d27f37dcd3f163
This commit is contained in:
@@ -2431,7 +2431,9 @@ bool CDxfRead::ReadText()
|
||||
{
|
||||
const char* utfStr = (this->*stringToUTF8)(textPrefix.c_str());
|
||||
OnReadText(c, height * 25.4 / 72.0, utfStr);
|
||||
delete utfStr;
|
||||
if (utfStr == m_str) {
|
||||
delete utfStr;
|
||||
}
|
||||
}
|
||||
return(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user