b42e4052b7b6472c72897a0239f964aea2b81b98
The flag that skips objects for snapping (`BA_SNAP_FIX_DEPS_FIASCO`) is set for all objects that have a `DEG_OB_COMP_TRANSFORM` relation. However, when the **Affect Only Parent** option is enabled, children are not transformed and therefore could still be snapped to. Despite this, the `DEG_OB_COMP_TRANSFORM` dependency remains present on them. To address this, a new callback was introduced that skips Transform-to-Transform dependencies while preserving Transform-to-Geometry dependencies in this scenario. This approach may introduce some false positives, leading to spurious dependency cycles (e.g., when constraints are involved). Nevertheless, the trade-off favors accepting these false positives rather than disabling the feature altogether. Also make non-functional change that just removes a flag before the snap loop, thus avoiding checking if the flag exists inside the loop. Ref !142007
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
