Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

patch: make_int_to_SpiceInit

  • Loading branch information...
commit 6763f3974d1145ffcd3ebdb44241a1ca8b33ddd3 1 parent 93f6dcc
@oleg-alexandrov oleg-alexandrov authored
Showing with 37 additions and 0 deletions.
  1. +37 −0 patches/00005-make_int_to_SpiceInit.patch
View
37 patches/00005-make_int_to_SpiceInit.patch
@@ -0,0 +1,37 @@
+diff -crB ./src/Core/NaifDskPlateModel/NaifDskPlateModel.cpp ./src/Core/NaifDskPlateModel/NaifDskPlateModel.cpp
+*** ./src/Core/NaifDskPlateModel/NaifDskPlateModel.cpp 2015-03-15 17:31:53.000000000 -0700
+--- ./src/Core/NaifDskPlateModel/NaifDskPlateModel.cpp 2015-03-27 09:04:43.000000000 -0700
+***************
+*** 107,113 ****
+
+
+ /** Returns the number of plates in the model */
+! int NaifDskPlateModel::numberPlates() const {
+ if ( !isValid() ) return (0);
+ return ( m_dsk->m_plates );
+ }
+--- 107,113 ----
+
+
+ /** Returns the number of plates in the model */
+! SpiceInt NaifDskPlateModel::numberPlates() const {
+ if ( !isValid() ) return (0);
+ return ( m_dsk->m_plates );
+ }
+***************
+*** 115,121 ****
+
+
+ /** Returns the number of vertices in the plate model */
+! int NaifDskPlateModel::numberVertices() const {
+ if ( !isValid() ) return (0);
+ return ( m_dsk->m_vertices );
+ }
+--- 115,121 ----
+
+
+ /** Returns the number of vertices in the plate model */
+! SpiceInt NaifDskPlateModel::numberVertices() const {
+ if ( !isValid() ) return (0);
+ return ( m_dsk->m_vertices );
+ }
Please sign in to comment.
Something went wrong with that request. Please try again.