diff --git a/package.json b/package.json index 106faf1..220a37f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@three.ez/main", - "version": "0.1.2", + "version": "0.1.3", "description": "Simplify three.js development, including events, drag & drop, binding, focus management, smart rendering, tweening and more.", "author": "agargaro", "license": "MIT", diff --git a/src/patch/Scene.ts b/src/patch/Scene.ts index f4edf5d..25eadf7 100644 --- a/src/patch/Scene.ts +++ b/src/patch/Scene.ts @@ -114,6 +114,7 @@ Object.defineProperty(Scene.prototype, "userData", { // needed to inject code in this.intersections = []; this.intersectionsDropTarget = []; this.__boundObjects = new DistinctTargetArray(); + this.__boundCallbacks = []; this.__eventsDispatcher = new EventsDispatcher(this); this.scene = this; Object.defineProperty(this, "userData", {