From e228574417e66436c682e120c916bd21f292feda Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 20 Sep 2018 14:55:07 +1000 Subject: PyAPI: correct term for class property warning --- source/blender/python/intern/bpy_rna.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 2e606cd9514..9703114016a 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -7461,12 +7461,12 @@ static int pyrna_deferred_register_props(StructRNA *srna, PyObject *class_dict) if (pyrna_is_deferred_prop(item)) { if (!has_warning) { printf("Warning: class %.200s " - "contains a properties which should be a field!\n", + "contains a properties which should be an annotation!\n", RNA_struct_identifier(srna)); PyC_LineSpit(); has_warning = true; } - printf(" make field: %.200s.%.200s\n", + printf(" make annotation: %.200s.%.200s\n", RNA_struct_identifier(srna), _PyUnicode_AsString(key)); } ret = deferred_register_prop(srna, key, item); -- cgit v1.2.3