[cig-commits] commit: Fixed couple of bugs relating to the number of

Mercurial hg at geodynamics.org
Mon Nov 24 11:28:53 PST 2008


changeset:   15:94ae20a232c5
user:        LukeHodkinson
date:        Wed Jul 11 05:39:26 2007 +0000
files:       DrawingObjects/src/ScalarField.c
description:
Fixed couple of bugs relating to the number of
dimensions and how to handle cross-sections.
***
  That bug where the images in 2D weren't
  showing up should be fixed.
***


diff -r 75df473a4d08 -r 94ae20a232c5 DrawingObjects/src/ScalarField.c
--- a/DrawingObjects/src/ScalarField.c	Fri Jun 29 06:28:56 2007 +0000
+++ b/DrawingObjects/src/ScalarField.c	Wed Jul 11 05:39:26 2007 +0000
@@ -39,7 +39,7 @@
 *+		Patrick Sunter
 *+		Greg Watson
 *+
-** $Id: ScalarField.c 628 2006-10-12 08:23:07Z SteveQuenette $
+** $Id: ScalarField.c 710 2007-07-11 05:39:26Z LukeHodkinson $
 ** 
 **~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
 
@@ -226,7 +226,7 @@ void _lucScalarField_BuildDisplayList( v
 
 	
 	if (context->dim == 2) {
-		lucScalarFieldCrossSection_DrawCrossSection( self, min[ K_AXIS ], K_AXIS );
+		lucScalarFieldCrossSection_DrawCrossSection( self, 0.0, K_AXIS );
 	}
 	else {
 		if ( self->cullFace ) 



More information about the CIG-COMMITS mailing list