<p><b>dwj07@fsu.edu</b> 2012-08-06 11:38:25 -0600 (Mon, 06 Aug 2012)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Some small tweaks to improve use.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/tools/mpas_draw/Makefile
===================================================================
--- branches/tools/mpas_draw/Makefile        2012-08-06 17:04:50 UTC (rev 2088)
+++ branches/tools/mpas_draw/Makefile        2012-08-06 17:38:25 UTC (rev 2089)
@@ -1,5 +1,7 @@
 CXX=g++
+#CXXFLAGS= -O3
 CXXFLAGS= -O3 -m64
+#NETCDF=/opt/netcdf/3.6.3/64
 
 DBGFLAGS= -g -m64
 
@@ -9,11 +11,11 @@
 PLATFORM=_LINUX
 
 ifeq ($(PLATFORM),_LINUX)
-    CXXLIBS = -I$(NETCDF)/include -I${GLUT}/include -L${GLUT}/lib -L$(NETCDF)/lib -lGL -lglut -lnetcdf_c++ -lnetcdf -lGLU -lstdc++
+        CXXLIBS = -I$(NETCDF)/include -L$(NETCDF)/lib -lGL -lglut -lnetcdf_c++ -lnetcdf -lGLU -lstdc++
 endif
 
 ifeq ($(PLATFORM),_MACOS)
-    CXXLIBS = -L$(NETCDF)/lib -lnetcdf -lnetcdf_c++ -I$(NETCDF)/include -lstdc++ -framework OpenGL -framework GLUT
+        CXXLIBS = -L$(NETCDF)/lib -lnetcdf -lnetcdf_c++ -I$(NETCDF)/include -lstdc++ -framework OpenGL -framework GLUT
 endif
 
 all:

Modified: branches/tools/mpas_draw/mpas_draw.cpp
===================================================================
--- branches/tools/mpas_draw/mpas_draw.cpp        2012-08-06 17:04:50 UTC (rev 2088)
+++ branches/tools/mpas_draw/mpas_draw.cpp        2012-08-06 17:38:25 UTC (rev 2089)
@@ -1267,6 +1267,9 @@
 
         if(on_sphere){
                 xyz_scale = sphere_radius;
+                xyz_center[0] = 0.0;
+                xyz_center[1] = 0.0;
+                xyz_center[2] = 0.0;
         }
         //
         //  A sphere doesn't need this rescaling.
@@ -1861,19 +1864,19 @@
 
         switch( a_keys ) {
                 case GLUT_KEY_UP:
-                        projElevation = (double)( ( (int)projElevation + 6 ) % 360 );
+                        projElevation = (double)( ( (int)projElevation + 3 ) % 360 );
                         break;
 
                 case GLUT_KEY_DOWN:
-                        projElevation = (double) ( ( (int)projElevation - 6 ) % 360 );
+                        projElevation = (double) ( ( (int)projElevation - 3 ) % 360 );
                         break;
 
                 case GLUT_KEY_RIGHT:
-                        projAzimuth = (double) ( ( (int)projAzimuth + 6 ) % 360 );
+                        projAzimuth = (double) ( ( (int)projAzimuth + 3 ) % 360 );
                         break;
 
                 case GLUT_KEY_LEFT:
-                        projAzimuth = (double) ( ( (int)projAzimuth - 6 ) % 360 );
+                        projAzimuth = (double) ( ( (int)projAzimuth - 3 ) % 360 );
                         break;
 
                 case GLUT_KEY_F1:

Modified: branches/tools/mpas_draw/netcdf_utils.cpp
===================================================================
--- branches/tools/mpas_draw/netcdf_utils.cpp        2012-08-06 17:04:50 UTC (rev 2088)
+++ branches/tools/mpas_draw/netcdf_utils.cpp        2012-08-06 17:38:25 UTC (rev 2089)
@@ -74,8 +74,7 @@
 
                 for(int i = 0; i &lt; vals -&gt; num(); i++){
                         tmp_name = vals -&gt; as_string(i);
-//                        if(tmp_name == sph_name){
-                        if(tmp_name.find(sph_name) == string::npos){
+                        if(tmp_name.find(sph_name) != string::npos){
                                 return true;
                         }
                 }

</font>
</pre>