Sculpt: Remove redundant "reveal all" operator #115629

Merged
Hans Goudey merged 3 commits from HooglyBoogly/blender:sculpt-remove-hide-show into main 2023-12-01 17:32:18 +01:00
Member

This operator (SCULPT_OT_reveal_all) is redundant with
the "Hide Show" operator (PAINT_OT_hide_show). Since
the latter was recently changed to be much faster, remove the
former and update keymaps and menus. The industry compatible
keymap actually already contains the hide/show operator.

This operator (`SCULPT_OT_reveal_all`) is redundant with the "Hide Show" operator (`PAINT_OT_hide_show`). Since the latter was recently changed to be much faster, remove the former and update keymaps and menus. The industry compatible keymap actually already contains the hide/show operator.
Hans Goudey added 1 commit 2023-11-30 20:38:25 +01:00
b3062d3e74 Sculpt: Remove redundant "reveal all" operator
This operator (`SCULPT_OT_reveal_all`) is redundant with
the "Hide Show" operator (`PAINT_OT_hide_show`). Since
the latter was recently changed to be much faster, remove the
former and update keymaps and menus. The industry compatible
keymap actually already contains the hide/show operator.
Hans Goudey requested review from Julien Kaspar 2023-11-30 20:41:47 +01:00
Author
Member

Hey @JulienKaspar, not looking for code review here, just a general "that sounds like an okay idea" and to make sure I'm not missing conversation about this stuff from the last few years.

Hey @JulienKaspar, not looking for code review here, just a general "that sounds like an okay idea" and to make sure I'm not missing conversation about this stuff from the last few years.
Hans Goudey added the
Module
Sculpt, Paint & Texture
label 2023-11-30 20:42:47 +01:00
Hans Goudey added this to the Sculpt, Paint & Texture project 2023-11-30 20:42:58 +01:00
Julien Kaspar reviewed 2023-12-01 10:37:55 +01:00
@ -6114,6 +6116,8 @@ class VIEW3D_MT_sculpt_face_sets_edit_pie(Menu):
pie.operator("sculpt.face_set_invert_visibility", text="Invert Visible")
props = pie.operator("sculpt.reveal_all", text="Show All")
Member

This should use the paint.hide_show operator, right?

This should use the `paint.hide_show` operator, right?
HooglyBoogly marked this conversation as resolved
Member

I think it's a good call. Overall looks good to me.

A nice followup would also be to remove these duplicate menu entries from the Face Sets menu:

  • Invert Visible Face Sets
  • Show All Face Sets

These are kinda legacy when face set visibiliy and regular visibility were separated.
All visibility operators are already present in the Sculpt menu.

I think it's a good call. Overall looks good to me. A nice followup would also be to remove these duplicate menu entries from the Face Sets menu: - Invert Visible Face Sets - Show All Face Sets These are kinda legacy when face set visibiliy and regular visibility were separated. All visibility operators are already present in the Sculpt menu.
Hans Goudey added 2 commits 2023-12-01 17:30:14 +01:00
Hans Goudey merged commit 0978f9486e into main 2023-12-01 17:32:18 +01:00
Hans Goudey deleted branch sculpt-remove-hide-show 2023-12-01 17:32:20 +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#115629
No description provided.