Merged
Conversation
…lect-multiple-copy-paste (fixing legacy loading and pillars etc)
…rendered and default to create wall tool to prevent strange behaviour when the current tool is "update wall"
…ther than updating meshes
… after moving a wall
…ons with enhanced, and extended heghts for walls in adanced mode
…aced/selecting tiny walls
…annel integer texture
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive copy-paste functionality and multi-object selection capabilities to the level editor, significantly improving the user workflow and efficiency.
- Implements multi-object selection with visual feedback and area selection tools
- Adds copy-paste functionality with CTRL+C/CTRL+V keyboard shortcuts and menu options
- Introduces 3D mouse picking for object selection in the 3D viewport
- Refactors GUI components to use a dedicated
ImGuiExtrasnamespace
Reviewed Changes
Copilot reviewed 42 out of 42 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
src/Util/Util.h |
Adds utility contains function for range checking |
src/Util/ImGuiExtras.h/cpp |
Moves ImGui helpers to dedicated namespace and adds enum selection widget |
src/Screens/ScreenEditGame.h/cpp |
Major refactor adding 3D picking, copy-paste handlers, and multi-object selection |
src/Graphics/OpenGL/Texture.h |
Adds R32I texture format for object picking |
src/Graphics/Mesh.h/cpp |
Adds level object mesh generation and color support |
src/Editor/Tool.h/cpp |
Implements area selection tool and refactors existing tools |
src/Editor/EditorState.h/cpp |
Introduces Selection struct for managing multiple selected objects |
src/Editor/EditorLevel.h/cpp |
Adds bulk operations and 3D picking support |
src/Editor/EditorEventHandlers.h/cpp |
New handlers for object movement and copy-paste operations |
src/Editor/Actions.h/cpp |
Adds bulk actions for multi-object operations |
| Various object files | Updates 2D rendering to support selection offset visualization |
Comments suppressed due to low confidence (1)
src/Editor/Tool.cpp:496
- Typo in comment: 'corrsponding' should be 'corresponding'
selection_cube_start_ = cube_start;
…on the same floor as the current view + fix various typos and comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.