| { | { | ||||
| "name": "@threepipe/plugin-tweakpane-editor", | "name": "@threepipe/plugin-tweakpane-editor", | ||||
| "version": "0.3.3", | |||||
| "version": "0.3.4", | |||||
| "lockfileVersion": 3, | "lockfileVersion": 3, | ||||
| "requires": true, | "requires": true, | ||||
| "packages": { | "packages": { | ||||
| "": { | "": { | ||||
| "name": "@threepipe/plugin-tweakpane-editor", | "name": "@threepipe/plugin-tweakpane-editor", | ||||
| "version": "0.3.3", | |||||
| "version": "0.3.4", | |||||
| "license": "Apache-2.0", | "license": "Apache-2.0", | ||||
| "dependencies": { | "dependencies": { | ||||
| "@threepipe/plugin-tweakpane": "file:./../tweakpane/src/", | "@threepipe/plugin-tweakpane": "file:./../tweakpane/src/", |
| { | { | ||||
| "name": "@threepipe/plugin-tweakpane-editor", | "name": "@threepipe/plugin-tweakpane-editor", | ||||
| "description": "Tweakpane Editor Plugin for ThreePipe", | "description": "Tweakpane Editor Plugin for ThreePipe", | ||||
| "version": "0.3.3", | |||||
| "version": "0.3.4", | |||||
| "devDependencies": { | "devDependencies": { | ||||
| "tippy.js": "^6.3.7", | "tippy.js": "^6.3.7", | ||||
| "treejs": "git://github.com/repalash/treejs.git#d303016bb74e75725d13e97291ac1d4727985918" | "treejs": "git://github.com/repalash/treejs.git#d303016bb74e75725d13e97291ac1d4727985918" |
| } | } | ||||
| reset(e?: any) { | reset(e?: any) { | ||||
| if (e?.source !== HierarchyUiPlugin.PluginType) return // for infinite loop | |||||
| if (e?.source === HierarchyUiPlugin.PluginType) return // for infinite loop | |||||
| if (!e?.hierarchyChanged) return | if (!e?.hierarchyChanged) return | ||||
| this._needsReset = true | this._needsReset = true | ||||
| } | } |