Revision: 64340
          http://sourceforge.net/p/brlcad/code/64340
Author:   brlcad
Date:     2015-03-05 22:30:47 +0000 (Thu, 05 Mar 2015)
Log Message:
-----------
accept sf patch #326 from Shivoam Malhotra (shiv05) which fixes a return type 
error.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/shape_recognition.h
    brlcad/trunk/src/libbrep/shape_recognition_planar.cpp

Modified: brlcad/trunk/src/libbrep/shape_recognition.h
===================================================================
--- brlcad/trunk/src/libbrep/shape_recognition.h        2015-03-04 21:12:18 UTC 
(rev 64339)
+++ brlcad/trunk/src/libbrep/shape_recognition.h        2015-03-05 22:30:47 UTC 
(rev 64340)
@@ -132,7 +132,7 @@
 // Functions for defining a simplified planar subvolume
 void subbrep_planar_init(struct subbrep_object_data *data);
 void subbrep_planar_close_obj(struct subbrep_object_data *data);
-int subbrep_add_planar_face(struct subbrep_object_data *data, ON_Plane *pcyl, 
ON_SimpleArray<const ON_BrepVertex *> *vert_loop, int neg_surf);
+void subbrep_add_planar_face(struct subbrep_object_data *data, ON_Plane *pcyl, 
ON_SimpleArray<const ON_BrepVertex *> *vert_loop, int neg_surf);
 
 struct bu_ptbl *find_subbreps(const ON_Brep *brep);
 void print_subbrep_object(struct subbrep_object_data *data, const char 
*offset);

Modified: brlcad/trunk/src/libbrep/shape_recognition_planar.cpp
===================================================================
--- brlcad/trunk/src/libbrep/shape_recognition_planar.cpp       2015-03-04 
21:12:18 UTC (rev 64339)
+++ brlcad/trunk/src/libbrep/shape_recognition_planar.cpp       2015-03-05 
22:30:47 UTC (rev 64340)
@@ -268,8 +268,9 @@
 
 }
 
-int subbrep_add_planar_face(struct subbrep_object_data *data, ON_Plane *pcyl,
-       ON_SimpleArray<const ON_BrepVertex *> *vert_loop, int neg_surf)
+void
+subbrep_add_planar_face(struct subbrep_object_data *data, ON_Plane *pcyl,
+                       ON_SimpleArray<const ON_BrepVertex *> *vert_loop, int 
neg_surf)
 {
     // We use the planar_obj's local_brep to store new faces.  The planar local
     // brep contains the relevant linear and planar components from its parent

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to