Changeset 3506
- Timestamp:
- 11/09/10 21:39:45 (3 years ago)
- File:
-
- 1 edited
-
trunk/engine/core/view/camera.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/engine/core/view/camera.cpp
r3505 r3506 456 456 void Camera::getMatchingInstances(ScreenPoint screen_coords, Layer& layer, std::list<Instance*>& instances) { 457 457 instances.clear(); 458 m_layer_to_instances.clear();459 458 const RenderList& layer_instances = m_layer_to_instances[&layer]; 460 459 RenderList::const_iterator instance_it = layer_instances.end(); … … 489 488 void Camera::getMatchingInstances(Rect screen_rect, Layer& layer, std::list<Instance*>& instances) { 490 489 instances.clear(); 491 m_layer_to_instances.clear();492 490 const RenderList& layer_instances = m_layer_to_instances[&layer]; 493 491 RenderList::const_iterator instance_it = layer_instances.end(); … … 530 528 void Camera::getMatchingInstances(Location& loc, std::list<Instance*>& instances, bool use_exactcoordinates) { 531 529 instances.clear(); 532 m_layer_to_instances.clear();533 530 const RenderList& layer_instances = m_layer_to_instances[loc.getLayer()]; 534 531 RenderList::const_iterator instance_it = layer_instances.end();
Note: See TracChangeset
for help on using the changeset viewer.
