+ fixes #0001380: Allow to set user-defined names for constraints
This commit is contained in:
@@ -361,6 +361,16 @@ void ConstraintPy::setSecond(Py::Int arg)
|
||||
this->getConstraintPtr()->Second = arg;
|
||||
}
|
||||
|
||||
Py::String ConstraintPy::getName(void) const
|
||||
{
|
||||
return Py::String(this->getConstraintPtr()->Name);
|
||||
}
|
||||
|
||||
void ConstraintPy::setName(Py::String arg)
|
||||
{
|
||||
this->getConstraintPtr()->Name = arg;
|
||||
}
|
||||
|
||||
PyObject *ConstraintPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user