<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/box2dflash/patches/" rel="alternate"/><link href="https://sourceforge.net/p/box2dflash/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/box2dflash/patches/</id><updated>2011-04-13T19:33:34Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>bodies not able to sleep in rev 156</title><link href="https://sourceforge.net/p/box2dflash/patches/2/" rel="alternate"/><published>2011-04-13T19:33:34Z</published><updated>2011-04-13T19:33:34Z</updated><author><name>bugger king</name><uri>https://sourceforge.net/u/buggerking/</uri></author><id>https://sourceforge.net83a1950d632d0ca5d43d36563416c59558777de8</id><summary type="html">&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;</summary></entry><entry><title>DestroyBody leak fixed</title><link href="https://sourceforge.net/p/box2dflash/patches/1/" rel="alternate"/><published>2010-08-12T15:08:34Z</published><updated>2010-08-12T15:08:34Z</updated><author><name>David Roguin</name><uri>https://sourceforge.net/u/nesdavid/</uri></author><id>https://sourceforge.nete1fcbc7e92277bcdfbe3ce5eb999f0c68064c243</id><summary type="html">&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;</summary></entry></feed>