<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/box2dflash/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/box2dflash/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Apr 2011 19:33:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/box2dflash/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>bodies not able to sleep in rev 156</title><link>https://sourceforge.net/p/box2dflash/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;b2World::Solve(b2TimeStep) ensures bodies are awake when processing them by calling b2Body::SetAwake(true).&lt;br /&gt;
regardless of the passed flag, b2Body::SetAwake(Boolean) sets the m_sleepTime to 0.0 in any case. this prevents b2Island::Solve(b2TimeStep, b2Vec2, Boolean) from putting bodies to sleep, since the accumulated sleep time is never bigger than the required b2Settings.b2_timeToSleep. since world step basically resets the bodies sleep time each step, they stay awake forever.&lt;/p&gt;
&lt;p&gt;the appended patch reverts the changes in b2World back to a stable state, when b2World::Solve(b2TimeStep) checked for the bodies sleep state before changing it. (pre rev 152.)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bugger king</dc:creator><pubDate>Wed, 13 Apr 2011 19:33:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net83a1950d632d0ca5d43d36563416c59558777de8</guid></item><item><title>DestroyBody leak fixed</title><link>https://sourceforge.net/p/box2dflash/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;b2World.DestroyBody method has a leak because it doesn't null the body's m_world.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Roguin</dc:creator><pubDate>Thu, 12 Aug 2010 15:08:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete1fcbc7e92277bcdfbe3ce5eb999f0c68064c243</guid></item></channel></rss>