From 044c2b1fc40e7915f6769ef4826d05972df37630 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Wed, 1 Apr 2009 01:21:11 +0000 Subject: [PATCH] Added getExactTypeName() method. --- source/blender/freestyle/intern/view_map/Silhouette.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/blender/freestyle/intern/view_map/Silhouette.h b/source/blender/freestyle/intern/view_map/Silhouette.h index b8e7d66efcc..a928eb87cc9 100755 --- a/source/blender/freestyle/intern/view_map/Silhouette.h +++ b/source/blender/freestyle/intern/view_map/Silhouette.h @@ -791,6 +791,10 @@ protected: unsigned _bFrsMaterialIndex; public: + /*! Returns the string "FEdgeSharp" . */ + virtual string getExactTypeName() const { + return "FEdgeSharp"; + } /*! Default constructor. */ inline FEdgeSharp() : FEdge(){ _aFrsMaterialIndex = _bFrsMaterialIndex = 0; @@ -867,6 +871,10 @@ protected: void * _Face; // In case of exact silhouette, Face is the WFace crossed by Fedge // NON GERE PAR LE COPY CONSTRUCTEUR public: + /*! Returns the string "FEdgeSmooth" . */ + virtual string getExactTypeName() const { + return "FEdgeSmooth"; + } /*! Default constructor. */ inline FEdgeSmooth() : FEdge(){ _Face=0;