From 252eaed483ca8c0d89708b3d0a2a82076f944229 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Tue, 24 Jun 2014 22:44:53 +0900 Subject: Freestyle: use bool instead of int. Patch contribution by flokkievids (Folkert de Vries). Thanks! --- source/blender/freestyle/intern/python/BPy_SShape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/python/BPy_SShape.cpp') diff --git a/source/blender/freestyle/intern/python/BPy_SShape.cpp b/source/blender/freestyle/intern/python/BPy_SShape.cpp index ffa9dc47e67..e5a38171ecd 100644 --- a/source/blender/freestyle/intern/python/BPy_SShape.cpp +++ b/source/blender/freestyle/intern/python/BPy_SShape.cpp @@ -78,7 +78,7 @@ static int SShape_init(BPy_SShape *self, PyObject *args, PyObject *kwds) self->ss = new SShape(); else self->ss = new SShape(*(((BPy_SShape *)brother)->ss)); - self->borrowed = 0; + self->borrowed = false; return 0; } -- cgit v1.2.3