提交 8ff7a4ba 编写于 作者: A Anthony BRIAND 提交者: Mr.doob

Refs #9057 : Fix test for property existence in property binding in the case...

Refs #9057 : Fix test for property existence in property binding in the case if property is a false boolean or a numeric equal to zero (#9064)
上级 ef57b34b
......@@ -163,7 +163,7 @@ THREE.PropertyBinding.prototype = {
// resolve property
var nodeProperty = targetObject[ propertyName ];
if ( ! nodeProperty ) {
if ( nodeProperty === undefined ) {
var nodeName = parsedPath.nodeName;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册