Fix leak in tool tooltip creation

This commit is contained in:
Campbell Barton 2018-09-13 18:21:16 +10:00
parent af1cf00003
commit e8fa13b01e
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ def description_from_name(context, space_type, text, *, use_operator=True):
if operator is not None:
import _bpy
return _bpy.ops.get_rna(operator).bl_rna.description
return _bpy.ops.get_rna_type(operator).description
return ""