+ raise exception instead of crashing when trying to access curvature info via Python
This commit is contained in:
@@ -553,6 +553,16 @@ void PropertyCurvatureList::removeIndices( const std::vector<unsigned long>& uIn
|
||||
setValues(remainValue);
|
||||
}
|
||||
|
||||
PyObject *PropertyCurvatureList::getPyObject(void)
|
||||
{
|
||||
throw Py::NotImplementedError("Not yet implemented");
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::setPyObject(PyObject *)
|
||||
{
|
||||
throw Py::NotImplementedError("Not yet implemented");
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::Save (Base::Writer &writer) const
|
||||
{
|
||||
if (!writer.isForceXML()) {
|
||||
|
||||
@@ -205,6 +205,9 @@ public:
|
||||
return _lValueList;
|
||||
}
|
||||
|
||||
virtual PyObject *getPyObject(void);
|
||||
virtual void setPyObject(PyObject *);
|
||||
|
||||
/** @name Save/restore */
|
||||
//@{
|
||||
void Save (Base::Writer &writer) const;
|
||||
|
||||
Reference in New Issue
Block a user