[MOAB-dev] commit/MOAB: janehu: Changed calling function for get_graphics for cubit13.1 and above. Cubit12.2 and below remains the same.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Dec 3 13:36:07 CST 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/c612ffd192de/
Changeset:   c612ffd192de
Branch:      master
User:        janehu
Date:        2013-12-03 20:34:37
Summary:     Changed calling function for get_graphics for cubit13.1 and above. Cubit12.2 and below remains the same.

Affected #:  1 file

diff --git a/src/io/ReadCGM.cpp b/src/io/ReadCGM.cpp
index 9b6ba09..2986a6d 100644
--- a/src/io/ReadCGM.cpp
+++ b/src/io/ReadCGM.cpp
@@ -474,7 +474,11 @@ ErrorCode ReadCGM::load_file(const char *cgm_file_name,
     RefEdge* edge = dynamic_cast<RefEdge*>(ci->first);
     Curve* curve = edge->get_curve_ptr();
     data.clean_out();
+#if  CGM_MAJOR_VERSION>12
+    edge->get_graphics( data, norm_tol, faceting_tol);
+#else
     edge->get_graphics( data, norm_tol);
+#endif
     if (CUBIT_SUCCESS != s)
       return MB_FAILURE;

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list