diff engine/core/view/camera.cpp @ 432:4f2752d45458

This changes the behavior of Camera::resetRenderers(). It will no longer activate all layers for every renderer. This is now up to the clients to do. It also adds some code to the map loader that will automatically activate the layers in the InstanceRenderer. Clients that use the any of the renderers will now have to activate the layer they want to use. Also updated rio_de_hola and the editor to reflect changes. fixes[t:457]
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 24 Feb 2010 20:03:52 +0000
parents 9d94f4676d17
children 16c2b3ee59ce
line wrap: on
line diff
--- a/engine/core/view/camera.cpp	Tue Feb 23 19:44:36 2010 +0000
+++ b/engine/core/view/camera.cpp	Wed Feb 24 20:03:52 2010 +0000
@@ -468,7 +468,6 @@
 		for (; r_it != m_renderers.end(); ++r_it) {
 			Map* map = m_location.getMap();
 			r_it->second->reset();
-			r_it->second->activateAllLayers(map);
 		}
 	}