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
parent682ccd770c629402b771491d45a0523f75750f30 (diff)
Cleanup: LibOverride: Forgot to update comments in previous commit.
-rw-r--r--source/blender/blenkernel/intern/constraint.c5
-rw-r--r--source/blender/blenkernel/intern/modifier.c5
2 files changed, 4 insertions, 6 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)
{
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c
index 405de3bdca1..3496e05c6e5 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -575,11 +575,10 @@ bool BKE_modifier_is_enabled(const struct Scene *scene, ModifierData *md, int re
}
/**
- * Check whether given modifier is local when the object is a library override.
+ * Check whether given modifier is not local (i.e. from linked data) when the object is a library
+ * override.
*
* \param md May be NULL, in which case we consider it as a non-local modifier case.
- *
- * \note This check is only valid for a liboverride data-block, it always return \a true otherwise.
*/
bool BKE_modifier_is_nonlocal_in_liboverride(const Object *ob, const ModifierData *md)
{