Blender Git Loki

Git Commits -> Revision 23614c4

Revision 23614c4 by Germano Cavalcante (master)
November 10, 2020, 15:18 (GMT)
Fix T81951: Add Cube new tool surface snaping not working

For the `plane_depth` of type `PLACE_DEPTH_SURFACE` to take effect, a `snap_context` is needed.

But, even if a temporary `snap_context` was created for `plane_orient == PLACE_ORIENT_SURFACE`,
this context was not used for `plane_depth`.

So, use a temporary `snap_context` for `PLACE_DEPTH_SURFACE` (as it is done for `PLACE_ORIENT_SURFACE`).

Differential Revision: https://developer.blender.org/D9345
Differential Revision: https://developer.blender.org/D9435

Commit Details:

Full Hash: 23614c49e94592ad71f9ff986c7eb5d60ce7ca8c
Parent Commit: 2ecab4c
Lines Changed: +22, -23

1 Modified Path:

/source/blender/editors/space_view3d/view3d_placement.c (+22, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021