Outline color for selected objects #91310

Closed
opened 2021-09-10 11:33:22 +02:00 by Jacques Lucke · 12 comments
Member

Instances in an object currently have a different outline color. This can be confusing now, because sometimes an object only consists of instances in its evaluated state. That makes it hard to see which object is active.

Instances in an object currently have a different outline color. This can be confusing now, because sometimes an object only consists of instances in its evaluated state. That makes it hard to see which object is active.
Author
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke

Added subscriber: @Jarrett-Johnson

Added subscriber: @Jarrett-Johnson

Hi Jacques, I was considering working on this too (unless you wanted to), but I was wondering if it'd cause confusion having the instances also share the same color as the original. How would people tell them apart?

Hi Jacques, I was considering working on this too (unless you wanted to), but I was wondering if it'd cause confusion having the instances also share the same color as the original. How would people tell them apart?
Author
Member

Guess that's more of a design task for now.
Personally, I'm not convinced that people have to tell instances apart in the viewport. For me they are just part of the final object. Whether the output is a mesh or a single instance that contains a mesh seems irrelevant in the viewport.

Guess that's more of a design task for now. Personally, I'm not convinced that people have to tell instances apart in the viewport. For me they are just part of the final object. Whether the output is a mesh or a single instance that contains a mesh seems irrelevant in the viewport.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

+1 for what Jacques said.

+1 for what Jacques said.
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Here is a start to this solution. It doesn't make make geometry components quite as bright as the base component type though.

diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c
index 62d715460bb..a4d98cf352d 100644
--- a/source/blender/draw/intern/draw_common.c
+++ b/source/blender/draw/intern/draw_common.c
@@ -101,10 +101,10 @@ void DRW_globals_update(void)
       gb->colorEditMeshMiddle,
       dot_v3v3(gb->colorEditMeshMiddle, (float[3]){0.3333f, 0.3333f, 0.3333f})); /* Desaturate */
 
-  interp_v4_v4v4(gb->colorDupliSelect, gb->colorBackground, gb->colorSelect, 0.5f);
+  copy_v4_v4(gb->colorDupliSelect, gb->colorSelect);
   /* Was 50% in 2.7x since the background was lighter making it easier to tell the color from
    * black, with a darker background we need a more faded color. */
-  interp_v4_v4v4(gb->colorDupli, gb->colorBackground, gb->colorWire, 0.3f);
+  copy_v4_v4(gb->colorDupli, gb->colorWire);
 
 #ifdef WITH_FREESTYLE
   UI_GetThemeColor4fv(TH_FREESTYLE_EDGE_MARK, gb->colorEdgeFreestyle);
Here is a start to this solution. It doesn't make make geometry components quite as bright as the base component type though. ``` diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c index 62d715460bb..a4d98cf352d 100644 --- a/source/blender/draw/intern/draw_common.c +++ b/source/blender/draw/intern/draw_common.c @@ -101,10 +101,10 @@ void DRW_globals_update(void) gb->colorEditMeshMiddle, dot_v3v3(gb->colorEditMeshMiddle, (float[3]){0.3333f, 0.3333f, 0.3333f})); /* Desaturate */ - interp_v4_v4v4(gb->colorDupliSelect, gb->colorBackground, gb->colorSelect, 0.5f); + copy_v4_v4(gb->colorDupliSelect, gb->colorSelect); /* Was 50% in 2.7x since the background was lighter making it easier to tell the color from * black, with a darker background we need a more faded color. */ - interp_v4_v4v4(gb->colorDupli, gb->colorBackground, gb->colorWire, 0.3f); + copy_v4_v4(gb->colorDupli, gb->colorWire); #ifdef WITH_FREESTYLE UI_GetThemeColor4fv(TH_FREESTYLE_EDGE_MARK, gb->colorEdgeFreestyle); ```
Hans Goudey self-assigned this 2021-11-05 20:50:08 +01:00

This issue was referenced by aa13c4b386

This issue was referenced by aa13c4b386b1311162e74378ad864a51b2f1b7af

Added subscriber: @Aeraglyx

Added subscriber: @Aeraglyx
Author
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'

Added subscriber: @GeorgiaPacific

Added subscriber: @GeorgiaPacific
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#91310
No description provided.