UI: Rename Bright/Contrast to Brightness/Contrast #104998
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#104998
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "zanqdo/blender:brightness-contrast-node-rename"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rename Bright/Contrast to Brightness/Contrast in order to avoid the use of shortened names and improve consistency within Blender and with industry conventions.
Reasoning:
The modified color characteristic is called brightness, not bright. You don't modify the bright of an image.
This also interferes with search in case someone searches for brightness, producing no results.
Note: This patch should only touch UI names which do not need versioning. It leaves the actual property name in nodes for a future patch, probably made by someone with more knowledge than me.
Nice! You should be able to change the socket names (not identifiers) in the node declarations pretty simply. You can specify the name and identifier separately like this:
Still worth double checking that old files work fine with that, bit it should be fine.
@ -343,2 +342,3 @@
ot->name = "Vertex Paint Brightness Contrast";
ot->idname = "PAINT_OT_vertex_color_brightness_contrast";
ot->description = "Adjust vertex color brightness/contrast";
ot->description = "Adjust vertex color brightness contrast";
I think the slash is correct here, and in some other places. Or at least it should be replaced with an "and". Otherwise it sounds wrong.
@ -343,2 +342,3 @@
ot->name = "Vertex Paint Brightness Contrast";
ot->idname = "PAINT_OT_vertex_color_brightness_contrast";
ot->description = "Adjust vertex color brightness/contrast";
ot->description = "Adjust vertex color brightness contrast";
I see what you mean. But then what do we do with Hue Saturation Value? I'm looking for consistency between similar nodes.
I've pushed this change but it does change the API from this:
node.inputs['Bright']
to:
node.inputs['Brightness']
Which can break scripts
Please don't change the socket names until 4.0, the API does not distinguish between them properly so it's a breaking change.
Ah right, I forgot about that, thanks. Maybe we should change that in 4.0 actually, it really shouldn't work that way...
Alright reverted the socket name changes. Now all it's left is to decide a standard for this type of combo nodes's naming. Example:
Hue Saturation Value
Brightness Contrast
Hue-Saturation-Value
Brightness-Contrast
Hue/Saturation/Value
Brightness/Contrast
I think dashes should be reserved to tied words, for example black-body. For combo nodes I prefer nothing at all.
Personally I think I like the option with the slashes best. I like that it distinguishes from the typical verb-first naming from geometry nodes or the "single object" naming from shader nodes like "Principled BSDF". Compared to the other names it emphasizes how the words aren't meant to be combined the same way.
I could also see it being unnecessary complexity though, and I don't really have a strong opinion.
WIP: Rename Bright/Contrast to Brightness Contrastto WIP: Nodes: Rename Bright/Contrast to Brightness ContrastI like the version with the slashes best too, but I wonder if that's going to prevent search from finding the node by typing "HSL", since fuzzy search looks for the first letter of each word.
Daniel, have you tested if search is affected? (both search from the Add menu and F3)
If needed, we could change fuzzy search to split by slashes too, in addition to spaces.
WIP: Nodes: Rename Bright/Contrast to Brightness Contrastto WIP: Nodes: Rename Bright/Contrast to Brightness/Contrast@HooglyBoogly @pablovazquez
Alright seems like we have consensus? I personally like the readability without the slashes best.But if slashes are preferred all I ask is consistency in other similar nodes like Hue Saturation Value which I would shortly rename into Hue/Saturation/Value. Agreed?
WIP: Nodes: Rename Bright/Contrast to Brightness/Contrastto Nodes: Rename Bright/Contrast to Brightness/ContrastYep. Consistency is key.
@blender-bot build
Daniel Salazar referenced this pull request2023-04-08 22:03:11 +02:00
Nodes: Rename Bright/Contrast to Brightness/Contrastto UI: Rename Bright/Contrast to Brightness/ContrastI've changed the tag to UI: since this affects operators for vertex colors, sequencer and grease pencil too. But it's nothing more than a UI change.