Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-12-08 11:47:56 +0300
committerBastien Montagne <bastien@blender.org>2020-12-08 11:48:20 +0300
commit922b8abea5f83d5465ef861b3efbd95c6c2b1908 (patch)
tree01e7da8edd1a9fe51ea77b042912bdbb56533f05 /source/blender/blenkernel/intern/constraint.c
parent682ccd770c629402b771491d45a0523f75750f30 (diff)
Cleanup: LibOverride: Forgot to update comments in previous commit.
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r--source/blender/blenkernel/intern/constraint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index d9135572159..1c17692ac36 100644
--- a/source/blender/blenkernel/intern/constraint.c
+++ b/source/blender/blenkernel/intern/constraint.c
@@ -5957,11 +5957,10 @@ static bConstraint *constraint_find_original_for_update(bConstraintOb *cob, bCon
}
/**
- * Check whether given constraint is local when the object is a library override.
+ * Check whether given constraint is not local (i.e. from linked data) when the object is a library
+ * override.
*
* \param con May be NULL, in which case we consider it as a non-local constraint case.
- *
- * \note This check is only valid for a liboverride data-block, it always return \a true otherwise.
*/
bool BKE_constraint_is_nonlocal_in_liboverride(const Object *ob, const bConstraint *con)
{