52 Commits

Author SHA1 Message Date
Pablo Vazquez
88c2c67ae4 UI: Color Interpolation Icons
Color the interpolation icons matching the new interpolation theme
settings added in 75eaecf350

This makes a clearer connection with the lines drawn in Dope Sheet.

See PR for details and screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/148215
2025-10-18 00:05:23 +02:00
Harley Acheson
f75658110a UI: Revert Changes to Restriction Icons
Partial revert of c03fdf5d9d, going back to previous versions of the
icons for hide_on (closed eye), restrict_select_on (unfilled mouse
cursor), and the combined versions (vis_sel_xx). These changes are a
bit too contentious to be added so late in the release. Note this
leaves in the changes to the lock icons.

Pull Request: https://projects.blender.org/blender/blender/pulls/147836
2025-10-13 18:25:34 +02:00
Harley Acheson
765e38677a Fix: Default Collection Color Always White
With #126307 the default collection color (not set to a specific one),
set in Icon Colors / Collection, is always white. This PR restores the
correct behavior of following the theme color (an error in the SVG
source). And does so immediately (change in property_update).

Pull Request: https://projects.blender.org/blender/blender/pulls/147651
2025-10-08 20:58:42 +02:00
Harley Acheson
0155ad92a4 UI: Decrease Edge Icons Color Saturation
The new colorful edge icons are considered a bit too bright and
distracting in the menus. This PR just tones them down a bit by
changing the layer opacities.

Pull Request: https://projects.blender.org/blender/blender/pulls/147567
2025-10-08 02:01:43 +02:00
Cartesian Caramel
8f41d46d74 Constraint: Geometry Attribute
Add a new constraint called "Geometry Attribute", which directly
samples vector, quaternion, or 4x4 matrix attributes from geometry and
applies these to an object's or bone's transform.

This can be used to transfer data generated by geometry nodes to the
object or bone level. By default the constraint will sample a vector
on the vertex domain. The default attribute is `position` for
simplicity, but the attribute value does not have to have anything to
do with neither the transform of the geometry object nor the geometry
itself.

Pull Request: https://projects.blender.org/blender/blender/pulls/136477
2025-10-07 15:14:22 +02:00
Harley Acheson
b11093306b UI: SVG Icons for Collection Colors
A test of using multi-color SVG icons in place of the current "vector"
(custom drawn) style we are using now. These use separate colors for
the box body versus outline, shadow, handhold. Colored by the theme
colors.

Pull Request: https://projects.blender.org/blender/blender/pulls/126307
2025-10-07 02:07:28 +02:00
Harley Acheson
c03fdf5d9d UI: Toggle Icon Changes
Some of our toggle icons have unclear "off" states, with visibility
looking like a dim curve when off. This PR makes some of these off
states a bit clearer. Visibility and Selectability when off get a slash
through them. Also "unlocked" becomes horizontally aligned with the
"locked"  version.

Pull Request: https://projects.blender.org/blender/blender/pulls/147326
2025-10-06 23:12:37 +02:00
Pablo Vazquez
84af3e8b47 UI: Icons: Flip direction of looking-glass icon
All looking-glass icons in Blender were left-handed.

Most OS, applications, websites, even a simple image search shows that
these icons are more often depicted right-handed.

Flip all icons that include a looking-glass.

See PR for details and descriptions.

Pull Request: https://projects.blender.org/blender/blender/pulls/147206
2025-10-02 16:52:35 +02:00
Pablo Vazquez
526f46d2c3 UI: Icons: Add icon for Sequencer Strip Modifier
Add a new icon for Sequencer strip modifiers.

See PR for details and screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/147208
2025-10-02 16:49:05 +02:00
Simon Thommes
43fbbc95bc Modifiers: Add icons to remaining modifier assets in Generate category
This adds new icons for the remaining two modifier Essentials assets
bundled with Blender in the `Generate` category.
(`Curve to Tube` and `Scatter on Surface`)

Pull Request: https://projects.blender.org/blender/blender/pulls/147115
2025-10-01 15:50:34 +02:00
Nika Kutsniashvili
28b97afda2 UI: Theme: Generalize geometry attribute properties
This PR generalizes properties for geometry (currently mesh only) attributes
found in 3D Viewport theme, namely:

- Combine "Edge Bevel" and "Vertex Bevel" into one "Bevel" property.
- Combine "Freestyle Edge Mark" and "Freestyle Face Mark" into one "Freestyle" property.
- Remove word "Edge" from Crease, Sharp, and Seam properties, to match others.
- Group all of the above together in the UI.

This is a breaking change (that will be handled with others in migration),
but doesn't introduce any visual changes in the default theme (and almost any theme).

Pull Request: https://projects.blender.org/blender/blender/pulls/146732
2025-09-25 14:02:46 +02:00
Dalai Felinto
c8468f5cfa UI: Flip RNA icon + remove RNA_ADD
The RNA icon was rotating on the wrong direction.

Technically this is mostly a DNA helix, but even RNA can be a
double-helix sometimes. And both cases (RNA and DNA) are supposed to
have a right-hand orientation.

This PR also removes the RNA_ADD icon which is not used anywhere.

Based on suggestion by Brady Johnston.

Ref: !146600
2025-09-23 12:22:55 +02:00
Pablo Vazquez
f4313c07b6 UI: VSE: Update White Balance modifier icon
The previous one could be confused with "exposure".

See PR for details and screenshots.

Design by Falk with small tweaks by me.

Pull Request: https://projects.blender.org/blender/blender/pulls/146083
2025-09-11 17:41:08 +02:00
Falk David
491a39b0c6 VSE: Strip Modifier Icons
Add missing icons to Video Sequencer modifiers:

- [x] Brightness/Contrast
- [x] Color Balance
- [x] Curves
- [x] Hue Correct
- [x] Mask (uses the existing `MOD_MASK`)
- [x] Tone Map
- [x] White Balance

Co-authored-by: Pablo Vazquez <pablo@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/145739
2025-09-10 19:27:43 +02:00
Harley Acheson
9a3f80b8f2 UI: Generalized Alert and Popup Block Error Indication
This PR adds an optional block alert level, defaulting to none. Then
for error-level alerts only it adds a red line and a color icon.
Dialogs with other alert types do not change at all. This also adds
a UI_alert function to create such dialogs.

Pull Request: https://projects.blender.org/blender/blender/pulls/134084
2025-08-16 02:45:36 +02:00
Pablo Vazquez
840310f607 UI: Add Icons for Edge/Vertex Crease and others
Edge and Vertex marks such as Crease, Bevel Weight, Seam, Sharp, have
specific use cases and colors assigned to them that users get familiar
with over time.

It can be hard to remember which color belong to what, this PR tries to
address this by introducing colored icons that follow the theme setting
for that edge mark/flag.

See PR for details and screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/144075
2025-08-07 11:09:56 +02:00
Christoph Lendenfeld
befe6062c0 UI: Icons for playhead snapping
The recently introduced feature of playhead snapping (#137278)
added a popover menu for snap targets.
This used text to indicate the contents of said popover.
In order to bring it in line with the other snapping menu, this PR adds
icons to indicate the enabled state of snapping.

Part of #135794

Pull Request: https://projects.blender.org/blender/blender/pulls/139271
2025-08-05 09:01:56 +02:00
Harley Acheson
48403607dd UI: Status Bar Event Icons for Trackpad Gestures
Adding three icons to represent panning, rotate, and zoom gestures
and using them for status bar event icons for
GHOST_kTrackpadEventScroll, GHOST_kTrackpadEventRotate, and
GHOST_kTrackpadEventMagnify.

Pull Request: https://projects.blender.org/blender/blender/pulls/138569
2025-05-07 23:57:03 +02:00
Aaron Carlisle
c92abb6af1 Icons: Match SVG height for Add/Remove icons
Adjust the height of the remove icon SVG to match the add icon, ensuring consistent sizing across UI elements.

This resolves alignment issues when pairing SVG icons with text or font-based elements. A height of 1100px was chosen to vertically center the icon cleanly in Blender's UI without introducing fractional pixel offsets.

No visual differences are expected in Blender.

Pull Request: https://projects.blender.org/blender/blender/pulls/137438
2025-05-03 17:21:06 -04:00
Harley Acheson
0ee642611c UI: Add Specific Icon to Represent Preview While Loading
Rather than continuing to use ICON_TEMP, meant to represent temporary
locations, this PR adds a specific one - ICON_PREVIEW_LOADING - for
this purpose. Just a copy of ICON_TEMP for now, but with all parts at
40% opacity, matching how we use it now. Not only gives us an icon we
can later change, but also removes our special handling of reducing
opacity for one icon id.

Pull Request: https://projects.blender.org/blender/blender/pulls/135463
2025-03-04 23:35:30 +01:00
Harley Acheson
a021176ff4 UI: Show "Not Found" Icon when Not Found
In the unlikely event that an icon is requested that is not found, show
a specific icon that is meant to indicate this state, in "Error" color.

Pull Request: https://projects.blender.org/blender/blender/pulls/134959
2025-03-03 22:25:42 +01:00
Harley Acheson
e850a09762 UI: Add Icons to Represent Error Conditions
This PR adds three SVG Icons. One to represent that an icon is not
found - ICON_NOT_FOUND - so represent when an out-of-range value was
used to specify an icon. The second - ICON_CHAR_NOTDEF - is to
represent that a text character is not found in the specified font or
font stack. The third - ICON_CHAR_REPLACEMENT - is to indicate the
portion of a text string that contains invalid bytes.

Pull Request: https://projects.blender.org/blender/blender/pulls/134008
2025-02-19 01:11:24 +01:00
Harley Acheson
0dce68333f UI: Vertically Aligned Grip Icon
Add a variation of the current Grip icon that is vertically-aligned.
the current ICON_GRIP works great when it has lots of horizontal space,
but ICON_GRIP_V might be needed for horizontally constrained uses.

Pull Request: https://projects.blender.org/blender/blender/pulls/134777
2025-02-19 00:19:08 +01:00
RedMser
aa1a1d586e Fix Unreported: Use correct icons for pose markers in Action editor
The pose markers were confusing, as the selection state also changed
the shape of the icon.

`PMARKER_ACT` and `PMARKER_SEL` (resp. active and selected) now look
the same. There is no concept any more of an "active" pose marker, but
the icon is still there to avoid breaking add-ons that happen to use
it.

`PMARKER` (unselected) now uses the icon that previously was used for
`PMARKER_SEL`.

This way the pose markers are always visually different from scene
markers.

Pull Request: https://projects.blender.org/blender/blender/pulls/132819
2025-02-13 16:23:42 +01:00
Harley Acheson
0381f18429 UI: New Presets Icons
Replacement for ICON_PRESET AND ICON_PRESET_NEW that looks like settings
on an audio mixing board.

Pull Request: https://projects.blender.org/blender/blender/pulls/134313
2025-02-13 02:44:47 +01:00
Gilberto.R
17c98a2c8c UI: Flip Material icon horizontally
Horizontally flip the 'Material' Icon to better differentiate it from
the 'World' icon. https://blender.community/c/rightclickselect/p9Zp/

Pull Request: https://projects.blender.org/blender/blender/pulls/131568
2025-01-28 00:05:07 +01:00
Pablo Vazquez
d6ec2f0539 UI: Update icon for Grease Pencil layer and group
The current icon for Grease Pencil layers is a pen, it doesn't really
communicate the "layer" aspect. Replace with a paper sheet-like icon.

The layer group gets its own icon. It's a stack of animation paper.

Inspired by Daniel Correa Flores's design on DevTalk:
https://devtalk.blender.org/t/ui-discussion-grease-pencil-layer-and-layer-group-icons/30693/25

Pull Request: https://projects.blender.org/blender/blender/pulls/128208
2024-09-27 17:24:40 +02:00
Harley Acheson
9ee86c589d UI: Add SVG Parent Group to Two More Icons
This PR just alters the source SVG files for file_alias and
geometry_set so that their subgroups are inside a parent group.

Pull Request: https://projects.blender.org/blender/blender/pulls/127428
2024-09-10 22:26:55 +02:00
Harley Acheson
5285d7b859 UI: Blender Logo Fitting in Bounds
Resizing of the Blender SVG logo to fit within an 1800 unit horizontal
maximum rather than being oversized.  Makes it slightly smaller overall
but not sure anyone will notice.

Pull Request: https://projects.blender.org/blender/blender/pulls/127370
2024-09-10 20:53:43 +02:00
Harley Acheson
445b609e2d UI: Add SVG parent group to two large icons
This PR just alters the source SVG files for question_large and
warning_large so that their subgroups are inside a parent group.

Pull Request: https://projects.blender.org/blender/blender/pulls/127265
2024-09-06 21:27:05 +02:00
Dalai Felinto
c9da54dd02 Fix key_command icon
This error was introduced on 7dc3e8e04d
by the automatic script used (after my original PR code - !127194).

The SVG had the same attributes added twice.

The issue was technically introduced on
ffa802da7ac09273a34903438550e0966c4063dc (which is not in main but part
of the code which was merged).
2024-09-06 12:36:37 +02:00
Dalai Felinto
7dc3e8e04d Cleanup: UI: Make sure all icons have the paths inside a group
All the SVGs here were saved as plain SVG from inskcape.

Pull Request: https://projects.blender.org/blender/blender/pulls/127194
2024-09-05 20:15:36 +02:00
Sybren A. Stüvel
4d4ad34f4c Anim: Action Slot icon
Add an icon for Action Slots. Design task: #123372

Pull Request: https://projects.blender.org/blender/blender/pulls/127102
2024-09-03 18:33:36 +02:00
Harley Acheson
d9971d6414 UI: Detailed Large File & Folder Icons
Changes to the icons used for document and folder when in thumbnail
view in File Browser. A bit more detail, less chunky, more in tune
with OS versions. Better match for the recent increased fidelity of
the "type" icons that are shown in their centers.

Pull Request: https://projects.blender.org/blender/blender/pulls/126760
2024-08-29 20:49:55 +02:00
Harley Acheson
bc43d243bb UI: SVG Icon ID Names Underscores Not Period
In order to recolor icons based on themes, some svg icons have specific
ID names. These names are currently of the pattern "blender.some_name".
However, although CSS ID names are allowed to contain a period in them,
these are problematic as selectors. This is because #tagname.something
looks like a combination of ID and class name. Although these can be
escaped like #tagname\.something that is a pain. This PR replaces the
periods with underscores.

Pull Request: https://projects.blender.org/blender/blender/pulls/126709
2024-08-24 00:28:34 +02:00
Harley Acheson
810687ad5b UI: Improvement to Screen Area Options Menu Invoke Area Join
Right-clicking on an edge between editors, the "Screen Area Options"
menu has a number of items including for Area Join.  When docking is
NOT enabled this gives the prior behavior of interactive join where
you can change direction and requires Enter to confirm.  If docking
is enabled then there are instead instant join options but now with
a specific icon for each direction.

Pull Request: https://projects.blender.org/blender/blender/pulls/126616
2024-08-22 20:25:51 +02:00
Harley Acheson
7c68ac258f UI: File Browser Offline and Alias State Icon Position
#125625 moved the File Browser Thumbnail type icon location from the
bottom-left of the thumbnail extent to the bottom-left of the item
bounds. This does the same for the indication of offline and for
shortcut. This adds a new icon for shortcut instead of current use of
ICON_LOOP_FORWARDS, which doesn't look right. The new icon looks like
the Mac Alias arrow, but this also works fine for other platforms.

Pull Request: https://projects.blender.org/blender/blender/pulls/126469
2024-08-18 22:11:53 +02:00
Harley Acheson
aa78d43a05 UI: Multicolor Autokeying Indicator
Show the autokeying indicator (record button) on the Timeline header in
red when enabled. With a white outline on dark theme, or with a black
outline on light theme. The red color is user changeable.

Pull Request: https://projects.blender.org/blender/blender/pulls/126344
2024-08-16 23:16:40 +02:00
Harley Acheson
99a4bc325e UI: Allow Theme Coloring for Color SVG Extraction
For the times we need to obtain the bitmap of an SVG icon, send these
through the new theme coloring callback if they are multi-color. This
removes some code duplication by adding a new function that gets an
imBuf from SVG Icon. This allows, for "About" logo, Dialog icons, and
file system icons the optional ability to use a single SVG source file
that works as both monochrome (themed by text color) or multicolor with
internal parts themed.

Pull Request: https://projects.blender.org/blender/blender/pulls/126215
2024-08-13 03:31:43 +02:00
Harley Acheson
cd998d392d UI: Color Icon Theme Internal Parts
Allow color SVG icons to have their fill colors modified by theme
colors using a callback. This is done just before rasterization so
only happens once per requested size, before these are cached for
reuse.

Pull Request: https://projects.blender.org/blender/blender/pulls/125146
2024-08-11 20:10:32 +02:00
Harley Acheson
a57c3be05e UI: Add SVG Icons for Status Bar Event Use
This adds 26 SVG icons (13 unfilled/filled pairs) for use on the Status
Bar for keymap indication. No other functional changes.

Pull Request: https://projects.blender.org/blender/blender/pulls/125868
2024-08-04 19:19:54 +02:00
Harley Acheson
989fcc2c4f UI: Mouse Event Icon Alignment
We have a number of event icons, used on the Status Bar, to indicate
mouse actions. It is currently difficult to align these nicely because
they vary in width and design. This PR makes them all the same design
width and aligned to the left edge. This removes a need to add negative
spacing before any of them and only requires space after some of them.
This also adds a new one to indicate "double left click" as my current
use of this looks a bit sus. This also adds a "mouse wheel scroll"

Pull Request: https://projects.blender.org/blender/blender/pulls/125731
2024-07-31 20:57:19 +02:00
Harley Acheson
ae71f33c75 UI: Cleanup UI Icons
Some icons have some extra paths, some have groups in an order that
overlaps badly, some using shapes instead of paths, some curves with
shapes that fill incorrectly.  Just some basic cleanup.

Pull Request: https://projects.blender.org/blender/blender/pulls/125622
2024-07-29 21:03:35 +02:00
Jacques Lucke
ae129da4f7 UI: new Geometry Set icon
This icon can be used when refering to a "geometry set" which can contain
potentially multiple geometries of different types (such as mesh, volume, etc.).

It was designed by Simon Thommes as part of #125293.
2024-07-29 20:37:21 +02:00
Harley Acheson
bfc7e2aea2 UI: Update Internet Offline Icon to Remove Unused Masks
The Internet Offline Icon SVG file includes masks that are not needed
because the curves are boolean clipped to the same locations. This just
removes the masks because this keeps it from being shown correctly in
some web browsers on https://ui.blender.org/icons.

Pull Request: https://projects.blender.org/blender/blender/pulls/125612
2024-07-29 17:52:15 +02:00
Harley Acheson
cfe77fbafd UI: Use Official Blender Logo As Blender Icon
Our icon sources currently include two versions of the Blender logo,
the official one and one that is modified to align better to our
smallest pixel grid. But with our recent change to SVG icons, and
alignment tweaks to the official version this can be used in all
cases. This PR does so, removes BLENDER_LARGE, and also slightly
tweaks FILE_BACKUP and FILE_BLEND to use the official form.

Pull Request: https://projects.blender.org/blender/blender/pulls/124179
2024-07-11 01:15:07 +02:00
Harley Acheson
38681f3a63 UI: Large Blender Logo Alignment Fixes
Slight changes to the sizing and placement of the Blender logo within
its icon bounds. Perfect alignment to grid for top of the horizontal
bar, bottom, and right edges. Could allow use down to about 32x32.

Pull Request: https://projects.blender.org/blender/blender/pulls/124120
2024-07-03 20:13:30 +02:00
Harley Acheson
1d10336afe UI: Blender Logo Icon Optimized
This one SVG file was not optimized. I had edited it to change the (R)
from a text element to path but then missed the optimization step.

Pull Request: https://projects.blender.org/blender/blender/pulls/124008
2024-07-01 21:52:39 +02:00
Harley Acheson
bea0c5c914 UI: Small Modifications to Some Icons
Slight editing changes to 11 icons. Mostly alignment and position fixes

Pull Request: https://projects.blender.org/blender/blender/pulls/123874
2024-06-28 07:42:17 +02:00
Harley Acheson
b7256b1ea7 UI: Use SVG Icon for Logo in Splash About
Use new SVG icon the "Blender" logo shown on the About screen. Allows
removal of blender_logo.png and no need for 1024x256 bitmap. Instead it
is made at exact requested size. This PR updates blender_logo_large.svg
because the (R) in it is not a stroke or path, but actual text - not
rasterized by Nano.

Pull Request: https://projects.blender.org/blender/blender/pulls/123790
2024-06-26 22:43:59 +02:00