From 4b2dfaa5bdb95a25a65e379d95f2af8883c3ae18 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 8 Sep 2024 19:52:31 +0100 Subject: [PATCH] Add texture path copy button functionality --- project/code/TMV/UI/TextureBrowser.cs | 8 ++++++++ project/scenes/asset_browser/asset_browser.tscn | 1 + 2 files changed, 9 insertions(+) diff --git a/project/code/TMV/UI/TextureBrowser.cs b/project/code/TMV/UI/TextureBrowser.cs index 93f5e0b..2b22992 100644 --- a/project/code/TMV/UI/TextureBrowser.cs +++ b/project/code/TMV/UI/TextureBrowser.cs @@ -25,6 +25,7 @@ public partial class TextureBrowser : Node private HFlowContainer _textureList; private TextureRect _previewTexture; private LineEdit _texturePath; + private Button _texturePathCopyButton; private OptionButton _filterOptions; private LineEdit _fileType; private LineEdit _resolutionBox; @@ -46,6 +47,7 @@ public partial class TextureBrowser : Node _textureList = GetNode("%TextureList"); _previewTexture = GetNode("%PreviewTexture"); _texturePath = GetNode("%PathBox"); + _texturePathCopyButton = GetNode