Commit: 922b8abea5f83d5465ef861b3efbd95c6c2b1908
Author: Bastien Montagne
Date:   Tue Dec 8 09:47:56 2020 +0100
Branches: master
https://developer.blender.org/rB922b8abea5f83d5465ef861b3efbd95c6c2b1908

Cleanup: LibOverride: Forgot to update comments in previous commit.

===================================================================

M       source/blender/blenkernel/intern/constraint.c
M       source/blender/blenkernel/intern/modifier.c

===================================================================

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)
 {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to