diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-04 12:01:10 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-04 18:47:31 +0400 |
commit | 62bf22e27b47fd929e54c4e127a1bba02faf5f34 (patch) | |
tree | 4214ca2c050a8f281140e49fda9b2590b42d98e5 /source/blender/freestyle/intern/view_map/Silhouette.h | |
parent | 685d785c98c9b1ee3e7da6e1a148ae2b911e8998 (diff) |
Freestyle: Removed SVertex _curvatureFredo and _directionFredo and their getter/setter methods..
These data elements are undocumented and of little use. For now they are commented out
in the implementation in favor of less memory consumption, and a very limited support for
these data components in the Python API was just removed (should be easy to recover).
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Silhouette.h')
-rw-r--r-- | source/blender/freestyle/intern/view_map/Silhouette.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.h b/source/blender/freestyle/intern/view_map/Silhouette.h index 02d3698c914..88a07127837 100644 --- a/source/blender/freestyle/intern/view_map/Silhouette.h +++ b/source/blender/freestyle/intern/view_map/Silhouette.h @@ -167,8 +167,10 @@ private: vector<FEdge*> _FEdges; // the edges containing this vertex SShape *_Shape; // the shape to which belongs the vertex ViewVertex *_pViewVertex; // The associated viewvertex, in case there is one. +#if 0 real _curvatureFredo; Vec2r _directionFredo; +#endif CurvatureInfo *_curvature_info; public: @@ -326,6 +328,7 @@ public: return _curvature_info; } +#if 0 /* Fredo's normal and curvature*/ void setCurvatureFredo(real c) { @@ -346,6 +349,7 @@ public: { return _directionFredo; } +#endif /*! Sets the Id */ inline void setId(const Id& id) |