Bladeren bron

Fix reset in HierarchyUiPlugin.

master
Palash Bansal 1 jaar geleden
bovenliggende
commit
324a506621
No account linked to committer's email address

+ 2
- 2
plugins/tweakpane-editor/package-lock.json Bestand weergeven

@@ -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
- 1
plugins/tweakpane-editor/package.json Bestand weergeven

@@ -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"

+ 1
- 1
plugins/tweakpane-editor/src/HierarchyUiPlugin.ts Bestand weergeven

@@ -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
}

Laden…
Annuleren
Opslaan