Merge pull request #2182 from 2youyou2/v1.7

fixed rigidbody allowSleep
This commit is contained in:
pandamicro
2017-12-14 17:23:02 +08:00
committed by GitHub
+1 -1
View File
@@ -213,7 +213,7 @@ var RigidBody = cc.Class({
this._allowSleep = value;
if (this._b2Body) {
this._b2Body.SetAllowSleeping(value);
this._b2Body.SetSleepingAllowed(value);
}
}
},