[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19341] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/stroke: Added getExactTypeName() method.
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Fri Mar 20 23:45:22 CET 2009
Revision: 19341
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19341
Author: kjym3
Date: 2009-03-20 23:45:22 +0100 (Fri, 20 Mar 2009)
Log Message:
-----------
Added getExactTypeName() method.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Chain.h
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Curve.h
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Chain.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Chain.h 2009-03-20 22:44:04 UTC (rev 19340)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Chain.h 2009-03-20 22:45:22 UTC (rev 19341)
@@ -57,6 +57,10 @@
delete _splittingId;
}
}
+ /*! Returns the string "Chain" */
+ virtual string getExactTypeName() const {
+ return "Chain";
+ }
/*! Adds a ViewEdge at the end of the chain
* \param iViewEdge
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Curve.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Curve.h 2009-03-20 22:44:04 UTC (rev 19340)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Curve.h 2009-03-20 22:45:22 UTC (rev 19341)
@@ -314,6 +314,10 @@
Curve(const Curve& iBrother) {_Length = iBrother._Length;_Vertices = iBrother._Vertices;_Id=iBrother._Id;_nSegments=0;}
/*! Destructor. */
virtual ~Curve() ;
+ /*! Returns the string "Curve" */
+ virtual string getExactTypeName() const {
+ return "Curve";
+ }
/*
fredo's curvature storage
More information about the Bf-blender-cvs
mailing list