diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 11:21:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 11:21:54 +0300 |
commit | e8fa13b01e843ece10ff477357a42436c90d7d1d (patch) | |
tree | 85c0bb7f514c8247a73944a35554a1fe1bb4bf4d | |
parent | af1cf0000379e0a8554550743f91dbad37509080 (diff) |
Fix leak in tool tooltip creation
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py index 3890396ad2a..f5cb0d006f6 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_common.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py @@ -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 "" |