Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-24 17:44:53 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-24 18:13:55 +0400
commit252eaed483ca8c0d89708b3d0a2a82076f944229 (patch)
tree1e1ddd992a790e05a592d813c1537fe62e6ae73a /source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
parentc5ccbacdaac7c5b2db0bc18c1ed514fd01d7d76d (diff)
Freestyle: use bool instead of int.
Patch contribution by flokkievids (Folkert de Vries). Thanks!
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
index f36cbafa61a..69d5312f9e5 100644
--- a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
+++ b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
@@ -124,7 +124,7 @@ static int StrokeAttribute_init(BPy_StrokeAttribute *self, PyObject *args, PyObj
PyErr_SetString(PyExc_TypeError, "invalid argument(s)");
return -1;
}
- self->borrowed = 0;
+ self->borrowed = false;
return 0;
}