提交 e0e52e9f 编写于 作者: G gero3

Make it possible to remove animationData.

For the moment, It is use at own risk.
上级 8413a860
......@@ -52,6 +52,17 @@ THREE.AnimationHandler = (function() {
initData( data );
};
//--- remove ---
that.remove = function( name ) {
if ( library[ name ] === undefined )
console.log( "THREE.AnimationHandler.add: Warning! " + name + " doesn't exists in library. Doing nothing." );
library[ name ] = undefined;
};
//--- get ---
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册