Blender Git Loki

Git Commits -> Revision a922a09

Revision a922a09 by Germano Cavalcante (master)
March 9, 2020, 13:02 (GMT)
Transform Snap Object: Remove depsgraph when creating context

Currently, this change does not bring functional changes.
But it is necessary to extend the use of the snap system for gizmos,
since, after a Undo, the `depsgraph` pointed by the `snap_context`
has its memory invalidated.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D7013

Commit Details:

Full Hash: a922a097ef5c453bf4bc515494a3ab5f402946e2
Parent Commit: 3a10c61
Lines Changed: +140, -91

12 Modified Paths:

/source/blender/editors/curve/editcurve.c (+2, -1) (Diff)
/source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c (+2, -6) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+2, -1) (Diff)
/source/blender/editors/include/ED_transform_snap_object_context.h (+6, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_ruler.c (+13, -10) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+3, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+21, -30) (Diff)
/source/blender/editors/transform/transform_snap.h (+0, -8) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+85, -29) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021