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>2009-03-21 01:45:22 +0300
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-03-21 01:45:22 +0300
commitac0918a1beb4c40dab17a914ca58042642a266d0 (patch)
tree85855eebff6717e76fab488656cdc31c4645073d /source/blender/freestyle/intern/stroke
parentc5fe802ec8a739f947e94d519f1a1f14b09c5889 (diff)
Added getExactTypeName() method.
Diffstat (limited to 'source/blender/freestyle/intern/stroke')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/Chain.h4
-rwxr-xr-xsource/blender/freestyle/intern/stroke/Curve.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/Chain.h b/source/blender/freestyle/intern/stroke/Chain.h
index 042437a4154..711ae16a1a0 100755
--- a/source/blender/freestyle/intern/stroke/Chain.h
+++ b/source/blender/freestyle/intern/stroke/Chain.h
@@ -57,6 +57,10 @@ public:
delete _splittingId;
}
}
+ /*! Returns the string "Chain" */
+ virtual string getExactTypeName() const {
+ return "Chain";
+ }
/*! Adds a ViewEdge at the end of the chain
* \param iViewEdge
diff --git a/source/blender/freestyle/intern/stroke/Curve.h b/source/blender/freestyle/intern/stroke/Curve.h
index ee27e92fa37..52a0dda1f17 100755
--- a/source/blender/freestyle/intern/stroke/Curve.h
+++ b/source/blender/freestyle/intern/stroke/Curve.h
@@ -314,6 +314,10 @@ public:
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