[TD]fix Py2/Qt4 errors
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user