Fix operators that affect hidden geometry #108105

Open
opened 2023-05-20 16:38:56 +02:00 by Julien Kaspar · 2 comments
Member

(NOTE) This task is part of the community & sub tasks of the workboard. Anyone is free to pick up this task and contribute. For any questions or needed reviewers, please tag @Sergey @HooglyBoogly and @JulienKaspar.

There are a number of operators in sculpt mode that affect hidden geometry. As a general rule this should be avoided.

  • bpy.ops.sculpt.face_set_edit to Grow/Shrink, Fair or Delete face sets needs to have the "Modifiy Hidden" property disabled by default and disabled in all menu and keymap entries.

List of further operators:

  • bpy.ops.sculpt.face_sets_init
  • bpy.ops.sculpt.face_sets_create(mode='SELECTION')
  • bpy.ops.mesh.paint_mask_extract()
  • bpy.ops.mesh.paint_mask_slice()
(NOTE) This task is part of the community & sub tasks of the workboard. Anyone is free to pick up this task and contribute. For any questions or needed reviewers, please tag @Sergey @HooglyBoogly and @JulienKaspar. There are a number of operators in sculpt mode that affect hidden geometry. As a general rule this should be avoided. - [ ] `bpy.ops.sculpt.face_set_edit` to Grow/Shrink, Fair or Delete face sets needs to have the "Modifiy Hidden" property disabled by default and disabled in all menu and keymap entries. List of further operators: - [ ] `bpy.ops.sculpt.face_sets_init` - [ ] `bpy.ops.sculpt.face_sets_create(mode='SELECTION')` - [ ] `bpy.ops.mesh.paint_mask_extract()` - [ ] `bpy.ops.mesh.paint_mask_slice()`
Julien Kaspar added the
Type
To Do
Module
Sculpt, Paint & Texture
Meta
Good First Issue
labels 2023-05-20 16:38:57 +02:00
Julien Kaspar added this to the Sculpt, Paint & Texture project 2023-05-20 16:38:58 +02:00
Julien Kaspar changed title from Operators only affect visible geometry to Fix operators that affect hidden geometry 2023-05-20 16:39:41 +02:00
Contributor

Hello, I am new to blender dev, and I was looking into this issue to start.

Before diving into the issue I wanted to highlight a couple of findings that might make the problem more difficult and ask more seasoned developers how to move forward.

It would appear that:

  • Fair operators makes the application crash
  • "Modifiy Hidden", when it is not enabled, does nothing (still modifies hidden geometry)

Both of these issues do not happen with previous blender build (I tried these operations on Blender 3.3, and everything worked as expected). (I have also attached a couple of videos to better show the errors)

So I was wondering if the issue was intended to have this scope or it was supposed to be only modify the default of the "Modify hidden" property to true to false.

(Windows OS) details of the build:

Vendor: Intel
Renderer: Intel(R) UHD Graphics 620
Version: 4.5.0 - Build 27.20.100.9664
Context Version: 4.5
Vendor: Intel
Renderer: Intel(R) UHD Graphics 620
Version: 4.5.0 - Build 27.20.100.9664
Context Version: 4.5
Hello, I am new to blender dev, and I was looking into this issue to start. Before diving into the issue I wanted to highlight a couple of findings that might make the problem more difficult and ask more seasoned developers how to move forward. It would appear that: - Fair operators makes the application crash - "Modifiy Hidden", when it is not enabled, does nothing (still modifies hidden geometry) Both of these issues do not happen with previous blender build (I tried these operations on Blender 3.3, and everything worked as expected). (I have also attached a couple of videos to better show the errors) So I was wondering if the issue was intended to have this scope or it was supposed to be only modify the default of the "Modify hidden" property to true to false. (Windows OS) details of the build: ``` Vendor: Intel Renderer: Intel(R) UHD Graphics 620 Version: 4.5.0 - Build 27.20.100.9664 Context Version: 4.5 Vendor: Intel Renderer: Intel(R) UHD Graphics 620 Version: 4.5.0 - Build 27.20.100.9664 Context Version: 4.5 ```

Hi @JulienKaspar , could I work on this issue as a first good issue? If it's available. Thank you.

Hi @JulienKaspar , could I work on this issue as a first good issue? If it's available. Thank you.
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 Assignees
3 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#108105
No description provided.