diff options
author | Bastien Montagne <bastien@blender.org> | 2020-12-08 11:40:42 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-08 11:40:42 +0300 |
commit | 682ccd770c629402b771491d45a0523f75750f30 (patch) | |
tree | fb37b6966691426464e7dd01f1e5b2372895974b /source/blender/blenkernel/BKE_constraint.h | |
parent | 5f1a155a5ef39a4db144b38a607c19b763f965a3 (diff) |
LibOverride: Refactor collection items 'local' helper functions.
It's easier to read and less 'weird' to check that an item is non-local
in a liboverride data-block, than the other way around. Thanks to
@sybren for noticing it.
Diffstat (limited to 'source/blender/blenkernel/BKE_constraint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_constraint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 1589bff7501..7a14787c191 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -177,8 +177,8 @@ struct bConstraint *BKE_constraint_find_from_target(struct Object *ob, struct bConstraintTarget *tgt, struct bPoseChannel **r_pchan); -bool BKE_constraint_is_local_in_liboverride(const struct Object *ob, - const struct bConstraint *con); +bool BKE_constraint_is_nonlocal_in_liboverride(const struct Object *ob, + const struct bConstraint *con); struct bConstraint *BKE_constraint_add_for_object(struct Object *ob, const char *name, short type); struct bConstraint *BKE_constraint_add_for_pose(struct Object *ob, |