No snapping for objects referenced in modifiers (even if disabled) #81237

Open
opened 2020-09-27 22:40:43 +02:00 by Jesse Yurkovich · 8 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-25 20:54, hash: 83dc97ccc0
Worked: probably never; hopefully it's just an oversight. Even 2.79b is broken

Short description of error
I've experienced this a handful of times but finally sat down to investigate from the user perspective here today (sorry, haven't looked at the code). But apparently the object you use as Simple Deform's "origin" will not be snap-able to the object that has Simple Deform on it. It doesn't matter if the modifier is enabled or disabled or if the settings actually produces no deformation, it always breaks snapping for the origin object.

Exact steps for others to reproduce the error
snap-issue.blend

  • Open the attached .blend file OR follow next instructions to setup

    • Start with default scene and add an Empty to the scene
    • Add a Simple Deform modifier to the Cube
    • Set the Simple Deform's "origin" object to the Empty, the mode to "Bend" and the "Angle" to 0deg (to prevent any deformation)
    • Set the scene snapping mode to vertex
  • Grab the Empty and attempt to snap it to verts of the Cube -- it cannot snap (bug)

  • Disable the modifier and repeat the snap attempt -- it still cannot snap to the Cube (bug)

  • Create a new object and attempt to snap the empty to that new object -- it succeeds (the Sphere in the attached .blend file)

  • Delete the modifier and repeat the snap -- finally, it is able to snap to the Cube

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-25 20:54, hash: `83dc97ccc0` Worked: probably never; hopefully it's just an oversight. Even 2.79b is broken **Short description of error** I've experienced this a handful of times but finally sat down to investigate from the user perspective here today (sorry, haven't looked at the code). But apparently the object you use as Simple Deform's "origin" will not be snap-able to the object that has Simple Deform on it. It doesn't matter if the modifier is enabled or disabled or if the settings actually produces no deformation, it always breaks snapping for the origin object. **Exact steps for others to reproduce the error** [snap-issue.blend](https://archive.blender.org/developer/F8929379/snap-issue.blend) - Open the attached .blend file OR follow next instructions to setup - Start with default scene and add an Empty to the scene - Add a Simple Deform modifier to the Cube - Set the Simple Deform's "origin" object to the Empty, the mode to "Bend" and the "Angle" to 0deg (to prevent any deformation) - Set the scene snapping mode to vertex - Grab the Empty and attempt to snap it to verts of the Cube -- it cannot snap (bug) - Disable the modifier and repeat the snap attempt -- it still cannot snap to the Cube (bug) - Create a new object and attempt to snap the empty to that new object -- it succeeds (the Sphere in the attached .blend file) - Delete the modifier and repeat the snap -- finally, it is able to snap to the Cube
Author
Member

Added subscriber: @deadpin

Added subscriber: @deadpin

#100785 was marked as duplicate of this issue

#100785 was marked as duplicate of this issue
Author
Member

Hmm, so ignoring the special case of no deformation or the modifier being disabled, I suppose the general case is that this would result in circular behavior. If I attempt to snap the empty to original vertex V, the act of moving that empty will potentially cause V to move to a new location... so where should it snap?

I'll let the bug triagers declare if this is supported or not.

Hmm, so ignoring the special case of no deformation or the modifier being disabled, I suppose the general case is that this would result in circular behavior. If I attempt to snap the empty to original vertex V, the act of moving that empty will potentially cause V to move to a new location... so where should it snap? I'll let the bug triagers declare if this is supported or not.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

The "Cube" object has a dependency of type DEG_OB_COMP_GEOMETRY.
During the transformation, all objects with this dependency are ignored for snapping.

Perhaps the depsgraph could be smarter and not set this dependency if the modifier is disabled.
But this is a known issue and has already been mentioned in #73199 for example.

The "Cube" object has a dependency of type `DEG_OB_COMP_GEOMETRY`. During the transformation, all objects with this dependency are ignored for snapping. Perhaps the depsgraph could be smarter and not set this dependency if the modifier is disabled. But this is a known issue and has already been mentioned in #73199 for example.
Germano Cavalcante changed title from Snapping broken for objects used as the "origin" in Simple Deform to No snapping for objects referenced in modifiers (even if disabled) 2020-10-05 17:38:01 +02:00
Member

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:57 +01:00
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#81237
No description provided.