UI: Add tooltip for Poly Build tool #120792
No reviewers
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#120792
Loading…
Reference in New Issue
No description provided.
Delete Branch "Bartosz-Kosiorek/blender:polybuild"
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?
With previous implementation the tip was not available.
See attachment for the proposed implementation of tooltip.
@ -770,0 +778,4 @@
kmi_extrude = None
kmi_delete = None
return tip_(
"Use many built operators in an interactive way to add, delete, or move geometry.\n"
many
->multiple
@ -770,0 +780,4 @@
return tip_(
"Use many built operators in an interactive way to add, delete, or move geometry.\n"
"\u2022 %s - Add geometry by moving the cursor close to an element.\n"
"\u2022 %s - Extrude edges at cursor move.\n"
at cursor move
doesn't make sense. It could be "on" but that sounds overly technical. Or maybe "Extrude edges by moving the cursor"thanks, changed.
41b12d1bfd
toa993e92648
All review suggestions were applied.
@brecht @HooglyBoogly What do you think about adding
assert
to Tips for operators?So instead of
Undefined Operator
, the assertion will be thrown.It will improve the quality of the User Interface by making sure every operator have proper description.
See attachment, what I would like to avoid.
An
assert
is too intrusive, we don't want Blender to crash for things like this.We do have some warnings for things like the period at the end of RNA description, and something similar could be done here. But before such noisy warnings are introduced, there would first need to be an effort to make the existing descriptions complete, so only newly added tools without descriptions are brought to attention.
I would love to add tips to all operators and add such kind of warning :-)
Do you know how I could enable such warnings locally?
Where I could find
period at the end of RNA description
warning implementation?I tried to add dots to the tips, but I didn't noticed any warnings during compilation.
The RNA warning is implemented in
DESCR_CHECK
inrna_define.cc
. It's only shown when asserts are enabled, which can be done by settingWITH_ASSERT_RELEASE=ON
or making a developer/debug build.Maybe the right place for such a check is
wm_operatortype_append__end
. But note that some operators may intentionally not have descriptions, or come from add-ons that we don't control.