Transform: Use single flag with more meaningful name to prevent snapping to a depende...
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Nov 2017 14:03:48 +0000 (15:03 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Nov 2017 14:03:48 +0000 (15:03 +0100)
commitc241d79dc8a8ee144bc904f0a9b039b452df44bd
treeb10fee2a36b45a6d85fedb405db9a14dc30da014
parent47a4a7c8b7623f0c82be1cf01862ea6f22d7adae
Transform: Use single flag with more meaningful name to prevent snapping to a dependent object

The idea of this flag was to prevent snapping onto an object which depends on
currently modifying ones. Using single flag makes more sense here, and also
makes it possible to replace some ob->recalc based magic with depsgraph query
to set those flags.
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_snap_object.c
source/blender/makesdna/DNA_object_types.h