Sketcher: Python SketchObject support

This commit is contained in:
Abdullah Tahiri
2018-06-15 16:17:17 +02:00
committed by wmayer
parent 103260872c
commit f41c1a9696

View File

@@ -690,6 +690,7 @@ PyObject* SketchObjectPy::getDatum(PyObject *args)
type != DistanceX &&
type != DistanceY &&
type != Radius &&
type != Diameter &&
type != Angle) {
PyErr_SetString(PyExc_TypeError, "Constraint is not a datum");
return 0;