Fix #82936: Make Geometry Nodes modifier icon blue in outliner #104957

Merged
Member

In the outliner, the icons for modifiers are tinted blue. This didn't
work for the geometry nodes modifier icon.

Defining the icon with the macro DEF_ICON_MODIFIER also
defines the appropriate theme color so it's now also tinted blue
when drawn in the outliner like the other modifier icons.


Comparison
In the outliner the geometry nodes icon is now blue.

main patch
main-geo-nodes-icons.png patch-geo-nodes-icons.png
In the outliner, the icons for modifiers are tinted blue. This didn't work for the geometry nodes modifier icon. Defining the icon with the macro `DEF_ICON_MODIFIER` also defines the appropriate theme color so it's now also tinted blue when drawn in the outliner like the other modifier icons. ----- **Comparison** In the outliner the geometry nodes icon is now blue. | main | patch | | -------- | -------- | |![main-geo-nodes-icons.png](/attachments/9f703022-bdfa-4850-ba60-406131455ba5)|![patch-geo-nodes-icons.png](/attachments/bcfc7183-d702-4d21-b534-099b5684ca09)|
Leon Schittek added the
Interest
Geometry Nodes
label 2023-02-19 20:17:54 +01:00
Leon Schittek added this to the Nodes & Physics project 2023-02-19 20:18:51 +01:00
Leon Schittek added the
Interest
User Interface
label 2023-02-19 20:19:15 +01:00
Hans Goudey added the
Module
User Interface
label 2023-02-20 19:15:13 +01:00
Hans Goudey approved these changes 2023-02-20 19:30:53 +01:00
Hans Goudey left a comment
Member

Last time I looked at this I remember this changed caused the icon to turn blue in other areas of the UI. But I don't see that happening now, and that was a long time ago so my memory is iffy. The change makes sense anyway, just something to watch out for in the future I guess.

Last time I looked at this I remember this changed caused the icon to turn blue in other areas of the UI. But I don't see that happening now, and that was a long time ago so my memory is iffy. The change makes sense anyway, just something to watch out for in the future I guess.
Leon Schittek force-pushed fix-82936-node-modifier-outliner-icon from ccf78b4c73 to 3bcb735a43 2023-02-20 21:13:53 +01:00 Compare
Leon Schittek merged commit 5a86193b1c into blender-v3.5-release 2023-02-20 21:22:22 +01:00
Leon Schittek deleted branch fix-82936-node-modifier-outliner-icon 2023-02-20 21:22:24 +01:00
Sign in to join this conversation.
No reviewers
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 Assignees
2 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#104957
No description provided.