Empty with Vertex Parent moves to origin when mask modifier hides parent vertex #66440

Closed
opened 2019-07-04 18:08:18 +02:00 by Craig Dolphin · 8 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce MX130/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.25

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-03 22:34, hash: c252fe7a32
Worked: (optional)

Short description of error
If you have an empty parented to a vertex of a mesh, and you apply a mask modifier to the mesh which hides the parent vertex, the empty moves to the mesh object's origin. This behavior is inconsistent with what happens when you hide the parent vertex in edit mode using the h-shortcut. In that case, the empty remains in position relative to the hidden vertex.

I prefer for the empty to retain its position if its parent vertex is hidden by the mask modifier. If this behavior is intentional, or a known limitation of the mask modifier, I haven't been able to find it. Apologies if so.

Hmm. Actually, it seems to move even when I exclude the parent vertex from the mask. ? This is highly confusing. Are mask modifiers incompatible with vertex parenting altogether?

Exact steps for others to reproduce the error
Parent an empty which is not at the world origin to a mesh vertex.
Assign the mesh parent vertex to a vertex group to be used in a mask modifier
Add a mask modifier to the mesh that hides the vertex group
Note that when the modifier is active, the empty has moved to the mesh object's origin
Note that when the modifier is not active, the empty is back in position.

[Based on the default startup or an attached .blend file (as simple as possible)]
mask_vertex_parent_movement.blend
Open file.
Note position of empty sphere.
Turn on mask modifier view port visibility
Note changed position of empty.

***Updated to fix some mistakes in bug report

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce MX130/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.25 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-03 22:34, hash: `c252fe7a32` Worked: (optional) **Short description of error** If you have an empty parented to a vertex of a mesh, and you apply a mask modifier to the mesh which hides the parent vertex, the empty moves to the mesh object's origin. This behavior is inconsistent with what happens when you hide the parent vertex in edit mode using the h-shortcut. In that case, the empty remains in position relative to the hidden vertex. I prefer for the empty to retain its position if its parent vertex is hidden by the mask modifier. If this behavior is intentional, or a known limitation of the mask modifier, I haven't been able to find it. Apologies if so. Hmm. Actually, it seems to move even when I exclude the parent vertex from the mask. ? This is highly confusing. Are mask modifiers incompatible with vertex parenting altogether? **Exact steps for others to reproduce the error** Parent an empty which is not at the world origin to a mesh vertex. Assign the mesh parent vertex to a vertex group to be used in a mask modifier Add a mask modifier to the mesh that hides the vertex group Note that when the modifier is active, the empty has moved to the mesh object's origin Note that when the modifier is not active, the empty is back in position. [Based on the default startup or an attached .blend file (as simple as possible)] [mask_vertex_parent_movement.blend](https://archive.blender.org/developer/F7566513/mask_vertex_parent_movement.blend) Open file. Note position of empty sphere. Turn on mask modifier view port visibility Note changed position of empty. ***Updated to fix some mistakes in bug report
Author

Added subscriber: @CraigD

Added subscriber: @CraigD
Author

mask_vertex_parent_movement2.blend

So this also seems to apply when the child object is a mesh. I've added to the file to demonstrate this. In this version, the child cube is parented to a vertex in the larger cube. The empty is also parented to a different vertex in the larger cube. The empty's parent vertex is excluded from the mask. The child cube's parent vertex is included in the mask.

In both cases the child objects move to the parent cube's origin when the mask modifier is active.

What's strange is that in my character model blend file, there are some parented empties that do not move when their parent vertex is excluded from the mask, but others that do move once the mask is active regardless of mask vertex group membership.

[mask_vertex_parent_movement2.blend](https://archive.blender.org/developer/F7566668/mask_vertex_parent_movement2.blend) So this also seems to apply when the child object is a mesh. I've added to the file to demonstrate this. In this version, the child cube is parented to a vertex in the larger cube. The empty is also parented to a different vertex in the larger cube. The empty's parent vertex is excluded from the mask. The child cube's parent vertex is included in the mask. In both cases the child objects move to the parent cube's origin when the mask modifier is active. What's strange is that in my character model blend file, there are some parented empties that do not move when their parent vertex is excluded from the mask, but others that do move once the mask is active regardless of mask vertex group membership.

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sebastian Parborg self-assigned this 2019-07-05 11:04:20 +02:00

This is not a bug as this is how the mask modifier works. It removes the masked faces/verts. So the vertex you have parented the object to, no longer exists when the mask is active

This is not a bug as this is how the mask modifier works. It removes the masked faces/verts. So the vertex you have parented the object to, no longer exists when the mask is active
Author

Alright. I'll leave it alone.

But the point of the second file was that the child object moves even when the parent vertex is not itself masked. So the parent vertex is still present and visible. But maybe the modifier is creating a whole separate mesh to replace the original or something.

Thanks for taking the time to respond.

Alright. I'll leave it alone. But the point of the second file was that the child object moves even **when the parent vertex is not itself masked**. So the parent vertex is still present and visible. But maybe the modifier is creating a whole separate mesh to replace the original or something. Thanks for taking the time to respond.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Heads up: this should now work, see 5168408ae5

Heads up: this should now work, see 5168408ae5
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
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#66440
No description provided.