diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-18 06:55:23 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-18 06:55:23 +0400 |
commit | d3973dac717da1557a9a8d50f5c13e25ae75eaa8 (patch) | |
tree | de60800b4b5d74989680f746dbfcb99934c7f825 /source/blender/freestyle/intern/view_map/Silhouette.h | |
parent | e4748940c0a61171d5c4e45d8d5a9637d05ac429 (diff) |
soc-2008-mxcurioni: FEdge class added. Modifed converting functions to passing-by-reference format. Improved the type checking for FEdge and CurvePoint. Modified FEdge C++ class to test for null vertices. Updated previous classes to support FEdge.
So far, whenever a Python object is created from its corresponding C++ object, the input object reference is copied into a new object. Due to Freestyle's functions (especially regarding the way it is iterated), it is currently impossible to deal with a pointer-based Python object. It is not a real drawback, just an aspect to keep in mind.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Silhouette.h')
-rwxr-xr-x | source/blender/freestyle/intern/view_map/Silhouette.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.h b/source/blender/freestyle/intern/view_map/Silhouette.h index c6a1763eec6..15947fe3ba4 100755 --- a/source/blender/freestyle/intern/view_map/Silhouette.h +++ b/source/blender/freestyle/intern/view_map/Silhouette.h @@ -412,6 +412,8 @@ public: /*! Default constructor */ inline FEdge() { userdata = NULL; + _VertexA = NULL; + _VertexB = NULL; _Nature = Nature::NO_FEATURE; _NextEdge = NULL; _PreviousEdge = NULL; |