From 6134a41270ab7629bb6e09de5462ba386861ede3 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 31 Jul 2009 21:44:59 +0000 Subject: Fixed typoes in error messages. --- source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp | 2 +- source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp | 2 +- source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp | 2 +- source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/freestyle/intern/python') diff --git a/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp b/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp index 7721bc1ba0d..f614e8af8ec 100644 --- a/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp +++ b/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp @@ -162,7 +162,7 @@ PyObject * BinaryPredicate0D___call__( BPy_BinaryPredicate0D *self, PyObject *ar return NULL; if( typeid(*(self->bp0D)) == typeid(BinaryPredicate0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->bp0D->operator()( *(obj1->if0D) , *(obj2->if0D) ) < 0) { diff --git a/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp b/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp index 80195ed0a20..6b285b71f80 100644 --- a/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp +++ b/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp @@ -191,7 +191,7 @@ PyObject *BinaryPredicate1D___call__( BPy_BinaryPredicate1D *self, PyObject *arg return NULL; if( typeid(*(self->bp1D)) == typeid(BinaryPredicate1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->bp1D->operator()( *(obj1->if1D) , *(obj2->if1D) ) < 0) { diff --git a/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp b/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp index 8dc3b12a915..c914d45e56f 100644 --- a/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp +++ b/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp @@ -180,7 +180,7 @@ PyObject * UnaryPredicate0D___call__( BPy_UnaryPredicate0D *self, PyObject *args return NULL; } if( typeid(*(self->up0D)) == typeid(UnaryPredicate0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->up0D->operator()(*if0D_it) < 0) { diff --git a/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp b/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp index 18714095ef1..6b929929c6a 100644 --- a/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp +++ b/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp @@ -222,7 +222,7 @@ static PyObject * UnaryPredicate1D___call__( BPy_UnaryPredicate1D *self, PyObjec return NULL; } if( typeid(*(self->up1D)) == typeid(UnaryPredicate1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if( self->up1D->operator()(*if1D) < 0 ) { -- cgit v1.2.3