We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c54ad8 commit 43eac38Copy full SHA for 43eac38
src/anim/binder/default-anim-binder.js
@@ -1,6 +1,6 @@
1
import { AnimBinder } from './anim-binder.js';
2
import { AnimTarget } from '../evaluator/anim-target.js';
3
-
+import { Entity } from '../../framework/entity.js';
4
/**
5
* @private
6
* @class
@@ -34,7 +34,7 @@ class DefaultAnimBinder {
34
35
// walk up to the first parent node of entity type (skips internal nodes of Model)
36
var object = node;
37
- while (object && object.prototype.name !== 'Entity') {
+ while (object && !(object instanceof Entity)) {
38
object = object.parent;
39
}
40
0 commit comments