[GRASS-SVN] r31747 - grass/branches/develbranch_6/display/d.paint.labels

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 19 01:58:19 EDT 2008


Author: hamish
Date: 2008-06-19 01:58:19 -0400 (Thu, 19 Jun 2008)
New Revision: 31747

Modified:
   grass/branches/develbranch_6/display/d.paint.labels/do_labels.c
Log:
reset rotation after each label so it isn't sticky

Modified: grass/branches/develbranch_6/display/d.paint.labels/do_labels.c
===================================================================
--- grass/branches/develbranch_6/display/d.paint.labels/do_labels.c	2008-06-19 00:00:55 UTC (rev 31746)
+++ grass/branches/develbranch_6/display/d.paint.labels/do_labels.c	2008-06-19 05:58:19 UTC (rev 31747)
@@ -142,10 +142,11 @@
 	else if (! strncmp(text, "hwi", 3))
 	    sscanf(text,"%*s %d", &highlight_width) ;
 
-	else if (! strncmp(text, "tex", 3))
+	else if (! strncmp(text, "tex", 3)) {
 		show_it() ;
+		rotation = 0.0; /* reset */
+	}
 
-
 	else
 	{
 		if (sscanf (text, "%1s", buff) == 1)



More information about the grass-commit mailing list