From 34ada7866c89392c4465c5e8a9565c9f9bef362a Mon Sep 17 00:00:00 2001 From: hobbes6-2 Date: Mon, 29 Jun 2026 16:56:27 +0530 Subject: [PATCH 1/4] add wickobj export function in inspector --- src/Editor/Panels/Inspector/Inspector.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Editor/Panels/Inspector/Inspector.jsx b/src/Editor/Panels/Inspector/Inspector.jsx index 9bc61e12c..17444f2b7 100644 --- a/src/Editor/Panels/Inspector/Inspector.jsx +++ b/src/Editor/Panels/Inspector/Inspector.jsx @@ -89,6 +89,7 @@ class Inspector extends Component { 'breakApart': ["clip", "button",], 'convertSelectionToButton': ["path", "text", "image", "multipath", "multiclip", "multicanvas"], 'convertSelectionToClip': ["path", "text", "image", "multipath", "multiclip", "multicanvas"], + 'exportSelectionAsWickobj': ["clip", "multiclip", "button"], //no such thing as a multibutton 'editTimeline': ["clip", "button"], 'addAssetToCanvas': ["imageasset", "clipasset"], // 'alignX': [ "multipath"] // H.A. From b654527fc8a2ba1a1a53bfd815d8ae4e933c220e Mon Sep 17 00:00:00 2001 From: hobbes6-2 Date: Tue, 30 Jun 2026 16:06:25 +0530 Subject: [PATCH 2/4] added export button, added action in actionmap.js --- src/Editor/Panels/Inspector/Inspector.jsx | 2 +- src/Editor/actionMap.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Editor/Panels/Inspector/Inspector.jsx b/src/Editor/Panels/Inspector/Inspector.jsx index 17444f2b7..d778a1351 100644 --- a/src/Editor/Panels/Inspector/Inspector.jsx +++ b/src/Editor/Panels/Inspector/Inspector.jsx @@ -89,7 +89,7 @@ class Inspector extends Component { 'breakApart': ["clip", "button",], 'convertSelectionToButton': ["path", "text", "image", "multipath", "multiclip", "multicanvas"], 'convertSelectionToClip': ["path", "text", "image", "multipath", "multiclip", "multicanvas"], - 'exportSelectionAsWickobj': ["clip", "multiclip", "button"], //no such thing as a multibutton + 'exportSelectionAsWickobj': ["clip", "button"], 'editTimeline': ["clip", "button"], 'addAssetToCanvas': ["imageasset", "clipasset"], // 'alignX': [ "multipath"] // H.A. diff --git a/src/Editor/actionMap.js b/src/Editor/actionMap.js index 05f08adc6..28ccfee78 100644 --- a/src/Editor/actionMap.js +++ b/src/Editor/actionMap.js @@ -131,6 +131,12 @@ class ActionMapInterface extends Object { action: this.editor.breakApartSelection, id: 'action-break-apart', }, + exportSelectionAsWickobj: { + //icon: 'export-dark', + tooltip: 'Export as .wickobj file', + action: this.editor.exportSelectedClip, + id: 'action-export-selection-as-wickobj', + }, addTweenToSelection: { icon: 'addTween', tooltip: 'Add Tween to Frame(NYI)', From b5cab7bab15b594028f993aa4dd4a91026ee91c3 Mon Sep 17 00:00:00 2001 From: hobbes6-2 Date: Tue, 30 Jun 2026 17:12:06 +0530 Subject: [PATCH 3/4] changed button colour to teal --- src/Editor/actionMap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Editor/actionMap.js b/src/Editor/actionMap.js index 28ccfee78..bc3c487b4 100644 --- a/src/Editor/actionMap.js +++ b/src/Editor/actionMap.js @@ -136,6 +136,7 @@ class ActionMapInterface extends Object { tooltip: 'Export as .wickobj file', action: this.editor.exportSelectedClip, id: 'action-export-selection-as-wickobj', + color: '#00ffea' }, addTweenToSelection: { icon: 'addTween', From f8aa4ba4bc91ffca5bed35643b4aeca7dbd294a4 Mon Sep 17 00:00:00 2001 From: hobbes6-2 Date: Tue, 30 Jun 2026 17:20:47 +0530 Subject: [PATCH 4/4] undid button colour change --- src/Editor/actionMap.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Editor/actionMap.js b/src/Editor/actionMap.js index bc3c487b4..28ccfee78 100644 --- a/src/Editor/actionMap.js +++ b/src/Editor/actionMap.js @@ -136,7 +136,6 @@ class ActionMapInterface extends Object { tooltip: 'Export as .wickobj file', action: this.editor.exportSelectedClip, id: 'action-export-selection-as-wickobj', - color: '#00ffea' }, addTweenToSelection: { icon: 'addTween',