Regression: Sculpting Faceset menu: SHOW_ALL not found error #101694

Closed
opened 2022-10-08 11:03:21 +02:00 by Reiner Prokein · 10 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-06 06:33, hash: 0484b6bb18
Worked: (newest version of Blender that worked as expected)

Short description of error
Console thows an error when you sue Show All Face Sets in the Face Sets menu.

Exact steps for others to reproduce the error

  • Open Blender
  • Switch to Sculpt mode
  • In Face sets menu choose Show All Face Sets
  • Watch the console

Show all does not longer exist in the enum.

showallerror.jpg

showall.jpg

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-06 06:33, hash: `0484b6bb18` Worked: (newest version of Blender that worked as expected) **Short description of error** Console thows an error when you sue Show All Face Sets in the Face Sets menu. **Exact steps for others to reproduce the error** - Open Blender - Switch to Sculpt mode - In Face sets menu choose Show All Face Sets - Watch the console Show all does not longer exist in the enum. ![showallerror.jpg](https://archive.blender.org/developer/F13636952/showallerror.jpg) ![showall.jpg](https://archive.blender.org/developer/F13636954/showall.jpg)
Author

Added subscriber: @tiles

Added subscriber: @tiles

#101707 was marked as duplicate of this issue

#101707 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Pratik Borhade self-assigned this 2022-10-09 05:49:32 +02:00
Member

Thanks for the report. I can confirm. Will check for the fix and commit that causes the problem

Thanks for the report. I can confirm. Will check for the fix and commit that causes the problem
Pratik Borhade changed title from Sculpting - Facesets menu - SHOW_ALL not found error to Regression: Sculpting Faceset menu: SHOW_ALL not found error 2022-10-09 06:03:01 +02:00
Member
Caused by: 22c3db72ca Fix: [D16199: Fix #101694: Change operator for unhide face sets](https://archive.blender.org/developer/D16199)
Author

Toying around with it. Just curious, what is with the other possible operators? We have four operators in the enum. But just two of them in the menu now. Invert Visible and Show Active Face Sets. And the other two operators still crashes when i add them to the menu.
layout.operator("sculpt.face_set_change_visibility", text='Hide Active Face Sets').mode = 'HIDE_ACTIVE'
layout.operator("sculpt.face_set_change_visibility", text='Toggle Visibility').mode = 'TOGGLE'
To what do i need to change them now so that they don't crash?

Toying around with it. Just curious, what is with the other possible operators? We have four operators in the enum. But just two of them in the menu now. Invert Visible and Show Active Face Sets. And the other two operators still crashes when i add them to the menu. layout.operator("sculpt.face_set_change_visibility", text='Hide Active Face Sets').mode = 'HIDE_ACTIVE' layout.operator("sculpt.face_set_change_visibility", text='Toggle Visibility').mode = 'TOGGLE' To what do i need to change them now so that they don't crash?
Author

Oh and performing show active face sets from the enum in the last operator still says this in the info editor:

bpy.ops.sculpt.face_set_change_visibility(mode='SHOW_ACTIVE')

And a last question, shouldn't
op = layout.operator("sculpt.reveal_all", text='Show All Face Sets')
simply be
layout.operator("sculpt.reveal_all", text='Show All Face Sets')

No need for the op variable when there are no more arguments :)

Oh and performing show active face sets from the enum in the last operator still says this in the info editor: bpy.ops.sculpt.face_set_change_visibility(mode='SHOW_ACTIVE') And a last question, shouldn't op = layout.operator("sculpt.reveal_all", text='Show All Face Sets') simply be layout.operator("sculpt.reveal_all", text='Show All Face Sets') No need for the op variable when there are no more arguments :)

This issue was referenced by 9a6dc39d4b

This issue was referenced by 9a6dc39d4b853594dbce925b9495c9042af89211
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
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
4 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#101694
No description provided.