From d62f844b124b75976abf62f12306ecf14befef3f Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 31 Jul 2009 21:44:02 +0000 Subject: Fixed typoes in error messages. --- .../blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp | 4 ++-- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp | 2 +- .../freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp | 2 +- .../python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp | 2 +- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp | 2 +- .../python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp | 2 +- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) (limited to 'source/blender/freestyle/intern/python') diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp index e6093236901..40a984c2cab 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp @@ -154,7 +154,7 @@ int ChainingIterator___init__(BPy_ChainingIterator *self, PyObject *args ) PyObject *ChainingIterator_init( BPy_ChainingIterator *self ) { if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) { - PyErr_SetString(PyExc_TypeError, "init() method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "init() method not properly overridden"); return NULL; } self->c_it->init(); @@ -169,7 +169,7 @@ PyObject *ChainingIterator_traverse( BPy_ChainingIterator *self, PyObject *args return NULL; if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) { - PyErr_SetString(PyExc_TypeError, "traverse() method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "traverse() method not properly overridden"); return NULL; } if( ((BPy_AdjacencyIterator *) py_a_it)->a_it ) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp index 3d0eadfa9a3..20455f8332c 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp @@ -225,7 +225,7 @@ PyObject * UnaryFunction0DDouble___call__( BPy_UnaryFunction0DDouble *self, PyOb return NULL; if( typeid(*(self->uf0D_double)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_double->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it)) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp index 543d6dc57a7..87891af6a07 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DEdgeNature___call__( BPy_UnaryFunction0DEdgeNature *se return NULL; if( typeid(*(self->uf0D_edgenature)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_edgenature->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp index 949a88a49af..74999d70d28 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp @@ -197,7 +197,7 @@ PyObject * UnaryFunction0DFloat___call__( BPy_UnaryFunction0DFloat *self, PyObje return NULL; if( typeid(*(self->uf0D_float)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_float->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp index 1041f1053de..9f319bd09dd 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DId___call__( BPy_UnaryFunction0DId *self, PyObject *ar return NULL; if( typeid(*(self->uf0D_id)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_id->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp index 64b4d53fe2e..a86580b5d42 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DMaterial___call__( BPy_UnaryFunction0DMaterial *self, return NULL; if( typeid(*(self->uf0D_material)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_material->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp index b0ecbc79cd2..08d10d2be39 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DUnsigned___call__( BPy_UnaryFunction0DUnsigned *self, return NULL; if( typeid(*(self->uf0D_unsigned)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_unsigned->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp index 946210ee381..6dc2aa52a78 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp @@ -174,7 +174,7 @@ PyObject * UnaryFunction0DVec2f___call__( BPy_UnaryFunction0DVec2f *self, PyObje return NULL; if( typeid(*(self->uf0D_vec2f)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_vec2f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp index d3d0a6593ca..7f2c78f8d00 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DVec3f___call__( BPy_UnaryFunction0DVec3f *self, PyObje return NULL; if( typeid(*(self->uf0D_vec3f)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_vec3f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp index 24715a4cbfa..dd1854b86d8 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DVectorViewShape___call__( BPy_UnaryFunction0DVectorVie return NULL; if( typeid(*(self->uf0D_vectorviewshape)) == typeid(UnaryFunction0D< std::vector >) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_vectorviewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp index 2fe1e61dcf3..7a1aeed0e72 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp @@ -174,7 +174,7 @@ PyObject * UnaryFunction0DViewShape___call__( BPy_UnaryFunction0DViewShape *self return NULL; if( typeid(*(self->uf0D_viewshape)) == typeid(UnaryFunction0D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf0D_viewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp index 17949073949..23a30d3b541 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp @@ -265,7 +265,7 @@ PyObject * UnaryFunction1DDouble___call__( BPy_UnaryFunction1DDouble *self, PyOb return NULL; if( typeid(*(self->uf1D_double)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_double->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp index e704eebc8be..4ff195ff2f0 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp @@ -185,7 +185,7 @@ PyObject * UnaryFunction1DEdgeNature___call__( BPy_UnaryFunction1DEdgeNature *se return NULL; if( typeid(*(self->uf1D_edgenature)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_edgenature->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp index 36296554213..1521258543d 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp @@ -178,7 +178,7 @@ PyObject * UnaryFunction1DFloat___call__( BPy_UnaryFunction1DFloat *self, PyObje return NULL; if( typeid(*(self->uf1D_float)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_float->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp index 18da07c5bfb..e00b259a7f9 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp @@ -185,7 +185,7 @@ PyObject * UnaryFunction1DUnsigned___call__( BPy_UnaryFunction1DUnsigned *self, return NULL; if( typeid(*(self->uf1D_unsigned)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_unsigned->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp index 06c17d0f635..4d234113da8 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp @@ -191,7 +191,7 @@ PyObject * UnaryFunction1DVec2f___call__( BPy_UnaryFunction1DVec2f *self, PyObje return NULL; if( typeid(*(self->uf1D_vec2f)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_vec2f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp index 2fe32c1c311..4765d631e86 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp @@ -185,7 +185,7 @@ PyObject * UnaryFunction1DVec3f___call__( BPy_UnaryFunction1DVec3f *self, PyObje return NULL; if( typeid(*(self->uf1D_vec3f)) == typeid(UnaryFunction1D) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_vec3f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp index e227f9159c4..003082ba26e 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp @@ -199,7 +199,7 @@ PyObject * UnaryFunction1DVectorViewShape___call__( BPy_UnaryFunction1DVectorVie return NULL; if( typeid(*(self->uf1D_vectorviewshape)) == typeid(UnaryFunction1D< std::vector >) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_vectorviewshape->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp index ff588a9f3b8..989fdf53d5a 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp @@ -200,7 +200,7 @@ PyObject * UnaryFunction1DVoid___call__( BPy_UnaryFunction1DVoid *self, PyObject return NULL; if( typeid(*(self->uf1D_void)) == typeid(UnaryFunction1D_void) ) { - PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded"); + PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden"); return NULL; } if (self->uf1D_void->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) { -- cgit v1.2.3