diff --git a/cocos2d/core/graphics/graphics.js b/cocos2d/core/graphics/graphics.js index ff6d5c0177..66920c60fc 100644 --- a/cocos2d/core/graphics/graphics.js +++ b/cocos2d/core/graphics/graphics.js @@ -320,7 +320,7 @@ var Graphics = cc.Class({ * @param {Boolean} [clean] Whether to clean the graphics inner cache. */ clear: function (clean) { - this._sgNode.clear(clean); + this._sgNode.clear(!!clean); }, /**