From 05e30d2e3667a1bfe32b43c94f3872f693d24c3f Mon Sep 17 00:00:00 2001 From: V Aretakis Date: Tue, 15 Dec 2020 08:14:38 +0100 Subject: [PATCH] feat(ui): export node json for debug reasons (#76) --- src/components/ControlPanel.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/ControlPanel.vue b/src/components/ControlPanel.vue index fae68f21114..a2be460e326 100644 --- a/src/components/ControlPanel.vue +++ b/src/components/ControlPanel.vue @@ -153,6 +153,10 @@ }} + + Export + file_download + @@ -971,6 +975,13 @@ export default { console.log(error) }) }, + exportNode () { + this.$listeners.export( + this.selectedNode, + 'node_' + this.selectedNode.id, + 'json' + ) + }, async importScenes () { if ( await this.$listeners.showConfirm(