Merge branch 'master' into blender2.8

This commit is contained in:
Campbell Barton
2018-09-13 20:15:18 +10:00
4 changed files with 13 additions and 84 deletions

View File

@@ -545,7 +545,7 @@ def dump_py_messages_from_files(msgs, reports, files, settings):
for n in opname.split('.'):
op = getattr(op, n)
try:
return op.get_rna().bl_rna.translation_context
return op.get_rna_type().translation_context
except Exception as e:
default_op_context = i18n_contexts.operator_default
print("ERROR: ", str(e))