[Bf-blender-cvs] [a269761ec1b] blender-v2.83-release: Cleanup: clang format

Philipp Oeser noreply at git.blender.org
Fri May 15 16:32:20 CEST 2020


Commit: a269761ec1bce0f551cf7fc9c373f3c735df412c
Author: Philipp Oeser
Date:   Fri May 15 16:31:18 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBa269761ec1bce0f551cf7fc9c373f3c735df412c

Cleanup: clang format

Sorry for the noise, somehow missed that in rB0a32f6c8686c.

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

M	source/blender/editors/object/object_collection.c

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

diff --git a/source/blender/editors/object/object_collection.c b/source/blender/editors/object/object_collection.c
index 0822697d265..e266899cc9f 100644
--- a/source/blender/editors/object/object_collection.c
+++ b/source/blender/editors/object/object_collection.c
@@ -483,17 +483,13 @@ static int collection_link_exec(bContext *C, wmOperator *op)
 
   /* Currently this should not be allowed (might be supported in the future though...). */
   if (ID_IS_OVERRIDE_LIBRARY(&collection->id)) {
-    BKE_report(op->reports,
-               RPT_ERROR,
-               "Could not add the collection because it is overridden.");
+    BKE_report(op->reports, RPT_ERROR, "Could not add the collection because it is overridden.");
     return OPERATOR_CANCELLED;
   }
   /* Linked collections are already checked for by using RNA_collection_local_itemf
    * but operator can be called without invoke */
   if (ID_IS_LINKED(&collection->id)) {
-    BKE_report(op->reports,
-               RPT_ERROR,
-               "Could not add the collection because it is linked.");
+    BKE_report(op->reports, RPT_ERROR, "Could not add the collection because it is linked.");
     return OPERATOR_CANCELLED;
   }



More information about the Bf-blender-cvs mailing list