refactor: document windows handling + scene tree features - #155
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
51fe844 to
08e0c00
Compare
|
|
||
| // Get the bounding box and draw centered text | ||
| auto [p_min, p_max] = utils::getItemRect(); | ||
| ImVec2 textPos = utils::calculateCenteredTextPosition(headerText.data(), p_min, p_max); |
Check warning
Code scanning / SonarCloud
std::string_view::data() should not be passed to API expecting C-style strings
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
…n amount of logs, they get flushed in the file to better handle memory usage
… level + fix windows compilation
…ctor into multiple source file
…does not process inputs anymore
…unction of the engine for different scene props
…nt size via a beginRender function that also handles the docking update and visibility update
…d on the size of the image drawn
…erly handle the mouse projection
…orld for grid hightlight
395de30 to
f184c4d
Compare
OverviewThis PR delivers a comprehensive overhaul of the editor’s Document Windows subsystem along with enhancements to the Scene Tree view. It modularizes windows into standalone components, centralizes rendering logic, and enriches user interactions through robust undo/redo, shortcut handling, and improved camera/viewport synchronization. Code Organization
State Management (Memento & Undo/Redo)
Input & Shortcut Handling
Shader & Edge Detection
Camera & Viewport Improvements
Viewport Sync & Projection:
Scene Tree Enhancements
Miscellaneous Fixes & Chores
|
No description provided.