Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement OS-level clipboard support to enable copy and paste between program instances #98

Open
mfaizsyahmi opened this issue Oct 4, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mfaizsyahmi
Copy link

Currently bspguy just seem to use its internal memory for copy and paste operations. If it can instead use the OS clipboard, it'd be possible to do such operations between instances of the program.

The case use being the ability to copy and paste point and brush entities between maps, making a prefab placement workflow possible where you copy prefabs from a prefab map then pasting them into maps. Obviously there would be lighting mismatch but that's outside the scope of this post.

this library looks like a good candidate: https://github.com/dacap/clip

@mfaizsyahmi
Copy link
Author

There has been a janky workaround in UnrealKaraulov's fork in which you export and import the bsp models. However the latter feature turned out to be misleading as it only references the bsp model files instead of properly embedding them, and that doesn't work on vanilla HL. Plus you wouldn't be able to duplicate the model and apply custom texlights that way.

@wootguy wootguy added the enhancement New feature or request label Oct 30, 2022
@UnrealKaraulov
Copy link
Contributor

imgui already has this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants