Author Topic: World Machine Shouldn't Sleep  (Read 1243 times)

0 Members and 1 Guest are viewing this topic.

onemanmmo

  • Community Member
  • **
  • Posts: 8
    • View Profile
World Machine Shouldn't Sleep
« on: November 07, 2012, 12:17:20 AM »
You might want to consider adding periodic calls to

SetThreadExecutionState( ES_SYSTEM_REQUIRED | ES_CONTINUOUS );

To prevent World Machine from sleeping while it is calculating terrain data.  I noticed my first run at a tiled build it went to sleep in the middle and I ended up with 20 or so 0 length files out of 256.