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:
authorCampbell Barton <ideasman42@gmail.com>2021-07-21 13:39:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-21 13:39:51 +0300
commite7082fbdb0eab8f8ba435ee6f3c065f0f57966b3 (patch)
tree7c1e7efcf980f559d6313839cced67c13afd2276 /source/blender/makesrna/intern/rna_collection.c
parentab101d444d30a2f98320fc96f2dc4d56ccd98965 (diff)
Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg
Diffstat (limited to 'source/blender/makesrna/intern/rna_collection.c')
-rw-r--r--source/blender/makesrna/intern/rna_collection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_collection.c b/source/blender/makesrna/intern/rna_collection.c
index 752c9495e50..608a8e51b09 100644
--- a/source/blender/makesrna/intern/rna_collection.c
+++ b/source/blender/makesrna/intern/rna_collection.c
@@ -170,7 +170,7 @@ static bool rna_Collection_objects_override_apply(Main *bmain,
Collection *coll_dst = (Collection *)ptr_dst->owner_id;
if (ptr_item_dst->type == NULL || ptr_item_src->type == NULL) {
- // BLI_assert(0 && "invalid source or destination object.");
+ // BLI_assert_msg(0, "invalid source or destination object.");
return false;
}
@@ -185,7 +185,7 @@ static bool rna_Collection_objects_override_apply(Main *bmain,
&coll_dst->gobject, ob_dst, offsetof(CollectionObject, ob));
if (cob_dst == NULL) {
- BLI_assert(0 && "Could not find destination object in destination collection!");
+ BLI_assert_msg(0, "Could not find destination object in destination collection!");
return false;
}
@@ -288,7 +288,7 @@ static bool rna_Collection_children_override_apply(Main *bmain,
&coll_dst->children, subcoll_dst, offsetof(CollectionChild, collection));
if (collchild_dst == NULL) {
- BLI_assert(0 && "Could not find destination sub-collection in destination collection!");
+ BLI_assert_msg(0, "Could not find destination sub-collection in destination collection!");
return false;
}