rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
This commit is contained in:
@@ -369,7 +369,7 @@ static PyObject *pyop_dir(PyObject *UNUSED(self))
|
||||
GHashIterator *iter = WM_operatortype_iter();
|
||||
PyObject *list = PyList_New(0), *name;
|
||||
|
||||
for ( ; BLI_ghashIterator_notDone(iter); BLI_ghashIterator_step(iter)) {
|
||||
for ( ; !BLI_ghashIterator_done(iter); BLI_ghashIterator_step(iter)) {
|
||||
wmOperatorType *ot = BLI_ghashIterator_getValue(iter);
|
||||
|
||||
name = PyUnicode_FromString(ot->idname);
|
||||
|
||||
Reference in New Issue
Block a user