[TD]fix Py2/Qt4 errors

This commit is contained in:
wandererfan
2019-12-25 08:02:48 -05:00
committed by WandererFan
parent d9d440bb6c
commit 4a736b7731
2 changed files with 15 additions and 20 deletions

View File

@@ -153,12 +153,7 @@ void CosmeticVertexPy::setPoint(Py::Object arg)
Py::Boolean CosmeticVertexPy::getShow(void) const
{
bool show = getCosmeticVertexPtr()->visible;
if (show) {
Py_RETURN_TRUE;
} else {
Py_RETURN_FALSE;
}
// return Py::asObject();
return Py::Boolean(show);
}
void CosmeticVertexPy::setShow(Py::Boolean arg)