[TD] Refactor DrawViewDimension getFormatedValue() into two functions.

This commit is contained in:
Aapo
2020-11-27 16:33:10 +02:00
committed by wwmayer
parent 292a711922
commit e7b4d9ed99
5 changed files with 25 additions and 17 deletions

View File

@@ -61,7 +61,7 @@ PyObject* DrawViewDimensionPy::getText(PyObject* args)
// return 0;
// }
DrawViewDimension* dvd = getDrawViewDimensionPtr();
std::string textString = dvd->getFormatedValue();
std::string textString = dvd->getFormattedDimensionValue();
//TODO: check multiversion code!
#if PY_MAJOR_VERSION >= 3
PyObject* pyText = Base::PyAsUnicodeObject(textString);