From 922b8abea5f83d5465ef861b3efbd95c6c2b1908 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 8 Dec 2020 09:47:56 +0100 Subject: Cleanup: LibOverride: Forgot to update comments in previous commit. --- source/blender/blenkernel/intern/constraint.c | 5 ++--- source/blender/blenkernel/intern/modifier.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel/intern') 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) { -- cgit v1.2.3