Fixes bug #4834. The function was supposed to return a list of vertex
indices that are within the passed group. If one of the indices was not in the group, it returned an exception, as opposed to just removing it from the group as the documentation states.
This commit is contained in:
@@ -6143,9 +6143,6 @@ static PyObject *Mesh_getVertsFromGroup( BPy_Mesh* self, PyObject * args )
|
||||
count++;
|
||||
}
|
||||
}
|
||||
if( !attr )
|
||||
return EXPP_ReturnPyObjError( PyExc_ValueError,
|
||||
"specified index not in vertex group" );
|
||||
}
|
||||
}
|
||||
/* only return what we need */
|
||||
|
||||
Reference in New Issue
Block a user