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

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.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
 
 * $Id: KX_NetworkEventManager.cpp 15884 2008-07-30 17:41:47Z ben2610 $
 
2
 * $Id: KX_NetworkEventManager.cpp 20130 2009-05-10 20:53:58Z ben2610 $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
61
61
        // each frame, the logicmanager will call the network
62
62
        // eventmanager to look for network events, and process it's
63
63
        // 'network' sensors
64
 
        set<class SCA_ISensor*>::iterator it;
65
 
 
66
 
        for (it = m_sensors.begin(); !(it==m_sensors.end()); it++) {
 
64
        SG_DList::iterator<SCA_ISensor> it(m_sensors);
 
65
        for (it.begin();!it.end();++it)
 
66
        {
67
67
//          printf("KX_NetworkEventManager::proceed sensor %.2f\n", curtime);
68
68
            // process queue
69
 
            (*it)->Activate(m_logicmgr, NULL);
 
69
            (*it)->Activate(m_logicmgr);
70
70
        }
71
71
 
72
72
        // now a list of triggerer sensors has been built