[TD]fix welding tile file included setup

This commit is contained in:
WandererFan
2020-03-16 21:05:09 -04:00
committed by WandererFan
parent 636d50f8e1
commit 1cd05192cd
4 changed files with 240 additions and 25 deletions

View File

@@ -526,7 +526,8 @@ void TaskWeldingSymbol::updateTiles(void)
Command::doCommand(Command::Doc,"App.activeDocument().%s.CenterText = '%s'",
tileName.c_str(), centerText.c_str());
if (!m_arrowOut.symbolPath.empty()) {
m_arrowFeat->replaceSymbol(m_arrowOut.symbolPath);
// m_arrowFeat->replaceSymbol(m_arrowOut.symbolPath);
m_arrowFeat->SymbolFile.setValue(m_arrowOut.symbolPath);
}
}
}
@@ -549,7 +550,8 @@ void TaskWeldingSymbol::updateTiles(void)
tileName.c_str(), rightText.c_str());
Command::doCommand(Command::Doc,"App.activeDocument().%s.CenterText = '%s'",
tileName.c_str(), centerText.c_str());
m_otherFeat->replaceSymbol(m_otherOut.symbolPath);
// m_otherFeat->replaceSymbol(m_otherOut.symbolPath);
m_otherFeat->SymbolFile.setValue(m_otherOut.symbolPath);
}
}
}