[Bf-blender-cvs] [1c98bb83a4d] master: Cleanup: Correct comment in newly added liboverride code for IDProp collections.
Bastien Montagne
noreply at git.blender.org
Sun Sep 20 17:00:32 CEST 2020
Commit: 1c98bb83a4d401478188eaf1e8dd52c7c489c3a5
Author: Bastien Montagne
Date: Sat Sep 19 09:31:17 2020 +0200
Branches: master
https://developer.blender.org/rB1c98bb83a4d401478188eaf1e8dd52c7c489c3a5
Cleanup: Correct comment in newly added liboverride code for IDProp collections.
===================================================================
M source/blender/makesrna/intern/rna_rna.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index a9135f20a26..cab596c10fb 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -2583,7 +2583,8 @@ bool rna_property_override_apply_default(Main *UNUSED(bmain),
BLI_assert(item_index_added >= 0);
/* This is the section of code that makes it specific to IDProperties (the rest could be
- * used with some regular RNA/DNA data too).
+ * used with some regular RNA/DNA data too, if `RNA_property_collection_add` where
+ * actually implemented for those).
* Currently it is close to impossible to copy arbitrary 'real' RNA data between
* Collection items. */
IDProperty *item_idprop_src = item_ptr_src.data;
More information about the Bf-blender-cvs
mailing list