Revision 15736

View differences:

trunk/libraries/lib3DMap/src/com/iver/ai2/gvsig3d/gui/Hud.java
10 10
import com.iver.andami.PluginServices;
11 11

  
12 12
import es.upv.ai2.libjosg.Group;
13
import es.upv.ai2.libjosg.Node;
13 14
import es.upv.ai2.libjosg.Vec4;
14 15
import es.upv.ai2.libjosg.features.Text;
15 16
import es.upv.ai2.libjosg.planets.Planet;
......
91 92

  
92 93
		// Adding text to group
93 94
		this.addChild(textoHud);
95
		
96
		//Setting up the lighting mode to disable (rgaitan)
97
		this.setLightingMode(Node.LightingMode.OFF | Node.LightingMode.PROTECTED);	
94 98

  
95 99
		// Seting up text
96 100
		textoHud.setCharacterSize(14);
......
101 105
			textoHud.setFont(ResourcesFactory.getResourcePath("arial.ttf"));
102 106
		else {
103 107
			// TODO: This freeze the execution.. disable when working. 
104
			//textoHud.setFont("arial.ttf");
108
			textoHud.setFont("arial.ttf");
105 109
		}
106 110

  
107 111
		textoHud.setPosition(10, 10, 0);
......
124 128
			// Getting longitud and latitud informacion from planet
125 129
			lon = Hud.getSexagesinal(m_planet.getLongitude(), true);
126 130
			lat = Hud.getSexagesinal(m_planet.getLatitude(), false);
131
			
127 132

  
128 133
			// Updating text information
129 134
			textoHud.setText(lonText + " " + lon + " " + latText + " " + lat);
......
186 191

  
187 192
		String result = "";
188 193
		String ori = "";
194
		
189 195
		// Setting up North or South and East or West
190 196
		if (num < 0) {
191 197
			num = num * (-1);

Also available in: Unified diff