~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_RayEventManager.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * Manager for ray events
3
3
 *
4
 
 * $Id: KX_RayEventManager.cpp 15884 2008-07-30 17:41:47Z ben2610 $
 
4
 * $Id: KX_RayEventManager.cpp 20130 2009-05-10 20:53:58Z ben2610 $
5
5
 *
6
6
 * ***** BEGIN GPL LICENSE BLOCK *****
7
7
 *
44
44
 
45
45
void KX_RayEventManager::NextFrame()
46
46
{
47
 
        for (set<class SCA_ISensor*>::const_iterator i= m_sensors.begin();!(i==m_sensors.end());i++)
 
47
        SG_DList::iterator<SCA_ISensor> it(m_sensors);
 
48
        for (it.begin();!it.end();++it)
48
49
        {
49
 
                (*i)->Activate(m_logicmgr, NULL);
 
50
                (*it)->Activate(m_logicmgr);
50
51
        }
51
52
}
52
53