[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22095] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python: Fixed typoes in error messages.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Fri Jul 31 23:45:00 CEST 2009


Revision: 22095
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22095
Author:   kjym3
Date:     2009-07-31 23:44:59 +0200 (Fri, 31 Jul 2009)

Log Message:
-----------
Fixed typoes in error messages.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp	2009-07-31 21:44:02 UTC (rev 22094)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp	2009-07-31 21:44:59 UTC (rev 22095)
@@ -162,7 +162,7 @@
 		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) {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp	2009-07-31 21:44:02 UTC (rev 22094)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp	2009-07-31 21:44:59 UTC (rev 22095)
@@ -191,7 +191,7 @@
 		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) {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp	2009-07-31 21:44:02 UTC (rev 22094)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp	2009-07-31 21:44:59 UTC (rev 22095)
@@ -180,7 +180,7 @@
 		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) {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp	2009-07-31 21:44:02 UTC (rev 22094)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp	2009-07-31 21:44:59 UTC (rev 22095)
@@ -222,7 +222,7 @@
 		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 ) {





More information about the Bf-blender-cvs mailing list