mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-03 00:02:14 +00:00
Highlight selected objects (#12115)
# Description The current bounding box selection display loses all usefulness once the furthest apart objects are selected. This is especially noticeable on grid patterns, where nested unselected elements become indistinguishable after selecting all. This PR implements a highlighting method that visually brightens individually selected objects. # Screenshots/Recordings/Graphs <img width="1845" height="829" alt="image" src="https://github.com/user-attachments/assets/a92a7176-182c-41e2-869e-badb220dfee2" /> Current 2.3.1: All but some objects are selected. Can you tell which ones? <img width="2169" height="1042" alt="image" src="https://github.com/user-attachments/assets/c6c721d5-4f03-4c23-beff-b0acc0601568" /> Proposed PR: Slight lightening of selected objects ## Tests Built on windows, tested with various colors and non-printable
This commit is contained in:
@@ -96,6 +96,7 @@ public:
|
||||
|
||||
static void update_render_colors();
|
||||
static void load_render_colors();
|
||||
static ColorRGBA brighten_color(const ColorRGBA& color, float multiplier = 1.25f);
|
||||
|
||||
static float explosion_ratio;
|
||||
static float last_explosion_ratio;
|
||||
|
||||
Reference in New Issue
Block a user