Freestyle: use bool instead of int.

Patch contribution by flokkievids (Folkert de Vries).  Thanks!
This commit is contained in:
2014-06-24 22:44:53 +09:00
parent c5ccbacdaa
commit 252eaed483
25 changed files with 49 additions and 49 deletions

View File

@@ -67,7 +67,7 @@ static int NonTVertex_init(BPy_NonTVertex *self, PyObject *args, PyObject *kwds)
self->ntv = new NonTVertex(((BPy_SVertex *)obj)->sv);
self->py_vv.vv = self->ntv;
self->py_vv.py_if0D.if0D = self->ntv;
self->py_vv.py_if0D.borrowed = 0;
self->py_vv.py_if0D.borrowed = false;
return 0;
}

View File

@@ -62,7 +62,7 @@ static int TVertex_init(BPy_TVertex *self, PyObject *args, PyObject *kwds)
self->tv = new TVertex();
self->py_vv.vv = self->tv;
self->py_vv.py_if0D.if0D = self->tv;
self->py_vv.py_if0D.borrowed = 0;
self->py_vv.py_if0D.borrowed = false;
return 0;
}