Mask Modifier breaks Vertex Parenting #72459

Closed
opened 2019-12-15 11:56:46 +01:00 by Cody Winchester · 5 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.82 (sub 5), branch: master, commit date: 2019-12-14 20:41, hash: dfe965bee2
Worked: (optional)

Short description of error
When using Vertex Parenting to have an object follow a vertices of a mesh that uses a Mask modifier it will sometimes fail to follow when the vertex it is parented to does not get masked. It seems to mostly happen if a lot of the geometry is masked and can be fixed if a modifier like Subsurf is added after the Mask modifier.

Exact steps for others to reproduce the error

  1. Add a subdivided cube 2-3 levels should be fine and apply the modifier.
  2. Add an empty and set its parent to the cube as a Vertex Parent. I do this though python, but it still fails with Ctrl+P vertex parenting.
  3. Add a mask modifier to the cube and create a vertex group and assign it to the modifier.
  4. Set the weights so a portion of the cube is masked, but make sure the vert that the empty is parented to does not get masked.
  5. The empty sometimes will not follow the vertex anymore as if the vertex is masked. In my tests it seems if a lot of the object is masked it will fail and it seems the object is getting reindexed incorrectly. If I add a subsurf modifier after the mask modifier it will work once again.

image.png

The uploaded file has an empty parented to a vertex that is not getting masked. If the object's Mask modifier vertex group is set to 'Group' it fails to follow the vertex. If the vertex group is set to 'Group.001' it will follow the vertex despite both vertex group not masking the parent vertex.

Mask Modifier Vertex Parent Bug.blend

This also occurred in 2.79: with-279.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00 **Blender Version** Broken: version: 2.82 (sub 5), branch: master, commit date: 2019-12-14 20:41, hash: `dfe965bee2` Worked: (optional) **Short description of error** When using Vertex Parenting to have an object follow a vertices of a mesh that uses a Mask modifier it will sometimes fail to follow when the vertex it is parented to does not get masked. It seems to mostly happen if a lot of the geometry is masked and can be fixed if a modifier like Subsurf is added after the Mask modifier. **Exact steps for others to reproduce the error** 1. Add a subdivided cube 2-3 levels should be fine and apply the modifier. 2. Add an empty and set its parent to the cube as a Vertex Parent. I do this though python, but it still fails with Ctrl+P vertex parenting. 3. Add a mask modifier to the cube and create a vertex group and assign it to the modifier. 4. Set the weights so a portion of the cube is masked, but make sure the vert that the empty is parented to does not get masked. 5. The empty sometimes will not follow the vertex anymore as if the vertex is masked. In my tests it seems if a lot of the object is masked it will fail and it seems the object is getting reindexed incorrectly. If I add a subsurf modifier after the mask modifier it will work once again. ![image.png](https://archive.blender.org/developer/F8289646/image.png) The uploaded file has an empty parented to a vertex that is not getting masked. If the object's Mask modifier vertex group is set to 'Group' it fails to follow the vertex. If the vertex group is set to 'Group.001' it will follow the vertex despite both vertex group not masking the parent vertex. [Mask Modifier Vertex Parent Bug.blend](https://archive.blender.org/developer/F8222601/Mask_Modifier_Vertex_Parent_Bug.blend) This also occurred in 2.79: [with-279.blend](https://archive.blender.org/developer/F8289662/with-279.blend)

Added subscriber: @CodyWinchester

Added subscriber: @CodyWinchester

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Apparently, when the number of vertices of the resulting mesh is less than the parent vertex index, parenting is broken.
But the vertex is still there, so it should work.

Apparently, when the number of vertices of the resulting mesh is less than the parent vertex index, parenting is broken. But the vertex is still there, so it should work.

This issue was referenced by 5168408ae5

This issue was referenced by 5168408ae50a052d2a9fa795ebdb18820d5b1d67
Sybren A. Stüvel self-assigned this 2020-01-21 17:53:16 +01:00

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#72459
No description provided.