Fix comment style in previous commit.

Pull Request: blender/blender#107091
This commit is contained in:
2023-04-18 17:26:43 +02:00
committed by Gitea
parent 5bb3a3f157
commit 3a72442f63

View File

@@ -2375,7 +2375,7 @@ static PyObject *pyrna_prop_collection_subscript_str(BPy_PropertyRNA *self, cons
nameprop,
"Attempted to use a string to index into a collection of items with no 'nameproperty'.");
if (nameprop == NULL) {
// For non-debug builds, bail if there's no 'nameproperty' to check.
/* For non-debug builds, bail if there's no 'nameproperty' to check. */
break;
}
char *nameptr = RNA_property_string_get_alloc(