changeset 581:1e69fd582c94

- small fix due to latest changes on Floatingtextrenderer (renderer has to be enabled) NOTE: - floatingtextrenderer now can change colors of the font via setColor(uint r, uint b, uint g) - however, this doesn't affect bitmap fonts
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 02 Aug 2010 10:26:21 +0000
parents aa813b967806
children 5e04f6349894
files demos/rio_de_hola/scripts/world.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/demos/rio_de_hola/scripts/world.py	Sat Jul 31 17:51:25 2010 +0000
+++ b/demos/rio_de_hola/scripts/world.py	Mon Aug 02 10:26:21 2010 +0000
@@ -233,6 +233,7 @@
 		textfont = self.engine.getGuiManager().createFont('fonts/rpgfont.png', 0, str(TDS.get("FIFE", "FontGlyphs")));
 		renderer.changeDefaultFont(textfont)
 		renderer.activateAllLayers(self.map)
+		renderer.setEnabled(True)
 		
 		# Activate the grid renderer on all layers
 		renderer = self.cameras['main'].getRenderer('GridRenderer')