View Issue Details

IDProjectCategoryView StatusLast Update
0005634DarkRadiantMap Editingpublic16.06.2021 04:01
ReporterLDAsh Assigned Togreebo  
PrioritylowSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
Product Version2.12.0 
Target Version2.13.0Fixed in Version2.13.0 
Summary0005634: Paste material-header to surface from clipboard with hotkey.
DescriptionAbility for a hotkey to be assigned that will instantly take whatever is in the user's clipboard and paste/apply it to the selected surface as the "shader" in "texture properties", _without_ needing to use the "surface inspector". This will allow mappers to easily use other third-party texture browsers such as HTML galleries, which with modern huge textures in huge collections is much more efficient.
TagsNo tags attached.

Activities

greebo

greebo

11.06.2021 05:04

administrator   ~0014076

Last edited: 16.06.2021 04:01

View 2 revisions

Changed:

- When using the "Paste" command (Ctrl-V) and the system clipboard contains a valid material name, it will apply that material that to the current selection
- DarkRadiant will watch the system clipboard and will load it into the shader clipboard if it's a valid material name
- If the clipboard doesn't contain a valid material name, DR will try use the regular "Paste" algorithm for copy/pasting map geometry.

Related Changesets

DarkRadiant: master 37b5eef5

2021-06-10 17:18:48

greebo

Details Diff
0005634: Copy the picked material name to the system clipboard Affected Issues
0005634
mod - radiantcore/selection/shaderclipboard/ShaderClipboard.cpp Diff File

DarkRadiant: master fd77a0f9

2021-06-10 17:57:54

greebo

Details Diff
0005634: Listen to app-activated events to inspect the system clipboard when switching back to DarkRadiant Affected Issues
0005634
mod - include/iclipboard.h Diff File
mod - radiant/clipboard/ClipboardModule.cpp Diff File
mod - radiant/clipboard/ClipboardModule.h Diff File
mod - radiant/ui/mainframe/ScreenUpdateBlocker.cpp Diff File

DarkRadiant: master 04e988ed

2021-06-10 18:02:56

greebo

Details Diff
0005634: Fire the change event when the contents are different Affected Issues
0005634
mod - radiant/clipboard/ClipboardModule.cpp Diff File
mod - radiant/clipboard/ClipboardModule.h Diff File

DarkRadiant: master ca74f715

2021-06-10 18:15:55

greebo

Details Diff
0005634: Check the system clipboard to detect any material names that have been copied there Affected Issues
0005634
mod - radiantcore/selection/shaderclipboard/ShaderClipboard.cpp Diff File
mod - radiantcore/selection/shaderclipboard/ShaderClipboard.h Diff File

DarkRadiant: master b7587a42

2021-06-11 04:42:51

greebo

Details Diff
0005634: In case the system clipboard holds a valid material name, it can be pasted on the current selection using Ctrl-V. Affected Issues
0005634
mod - radiantcore/selection/clipboard/Clipboard.cpp Diff File
mod - radiantcore/selection/clipboard/Clipboard.h Diff File
mod - radiantcore/selection/shaderclipboard/ShaderClipboard.cpp Diff File

DarkRadiant: master 50c89933

2021-06-11 04:56:00

greebo

Details Diff
0005634: Usability fixes: don't overwrite the shader clipboard if the material is already matching,
otherwise we lose the texdef information of faces and patches.
Affected Issues
0005634
mod - radiant/clipboard/ClipboardModule.cpp Diff File
mod - radiantcore/selection/clipboard/Clipboard.cpp Diff File

DarkRadiant: master 29c5fb38

2021-06-11 06:12:09

greebo

Details Diff
0005634: Add missing header Affected Issues
0005634
mod - radiantcore/selection/clipboard/Clipboard.cpp Diff File

DarkRadiant: master 17ac50f5

2021-06-16 04:00:58

greebo

Details Diff
0005634: Revert the change that auto-fills the clipboard with the picked material name. It is very unhandy when trying to copy&paste elements between maps. Affected Issues
0005634
mod - radiantcore/selection/shaderclipboard/ShaderClipboard.cpp Diff File

Issue History

Date Modified Username Field Change
03.06.2021 05:28 LDAsh New Issue
03.06.2021 05:51 greebo Status new => acknowledged
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master 37b5eef5
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master fd77a0f9
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master 04e988ed
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master ca74f715
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master b7587a42
11.06.2021 04:58 greebo Changeset attached => DarkRadiant master 50c89933
11.06.2021 05:00 greebo Assigned To => greebo
11.06.2021 05:00 greebo Status acknowledged => assigned
11.06.2021 05:00 greebo Product Version => 2.12.0
11.06.2021 05:00 greebo Target Version => 2.13.0
11.06.2021 05:04 greebo Status assigned => resolved
11.06.2021 05:04 greebo Resolution open => fixed
11.06.2021 05:04 greebo Fixed in Version => 2.13.0
11.06.2021 05:04 greebo Note Added: 0014076
11.06.2021 06:12 greebo Changeset attached => DarkRadiant master 29c5fb38
16.06.2021 04:01 greebo Note Edited: 0014076 View Revisions
16.06.2021 04:01 greebo Changeset attached => DarkRadiant master 17ac50f5