diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 07:55:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 07:55:07 +0300 |
commit | e228574417e66436c682e120c916bd21f292feda (patch) | |
tree | ec8c4cad3d32a9e9e71e49910f32b8715e8e781d /source | |
parent | e8c27b1bbad7ad960378ad65ddc41c882fd61bc5 (diff) |
PyAPI: correct term for class property warning
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |