| @@ -1,12 +1,12 @@ | |||
| { | |||
| "name": "@threepipe/plugin-tweakpane-editor", | |||
| "version": "0.3.3", | |||
| "version": "0.3.4", | |||
| "lockfileVersion": 3, | |||
| "requires": true, | |||
| "packages": { | |||
| "": { | |||
| "name": "@threepipe/plugin-tweakpane-editor", | |||
| "version": "0.3.3", | |||
| "version": "0.3.4", | |||
| "license": "Apache-2.0", | |||
| "dependencies": { | |||
| "@threepipe/plugin-tweakpane": "file:./../tweakpane/src/", | |||
| @@ -1,7 +1,7 @@ | |||
| { | |||
| "name": "@threepipe/plugin-tweakpane-editor", | |||
| "description": "Tweakpane Editor Plugin for ThreePipe", | |||
| "version": "0.3.3", | |||
| "version": "0.3.4", | |||
| "devDependencies": { | |||
| "tippy.js": "^6.3.7", | |||
| "treejs": "git://github.com/repalash/treejs.git#d303016bb74e75725d13e97291ac1d4727985918" | |||
| @@ -39,7 +39,7 @@ export class HierarchyUiPlugin extends AViewerPluginSync { | |||
| } | |||
| 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 | |||
| this._needsReset = true | |||
| } | |||