diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 11:19:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 11:19:24 +0300 |
commit | af1cf0000379e0a8554550743f91dbad37509080 (patch) | |
tree | 46ce82474149dae3bb176fe94fa95b7f750ad2c1 /release/scripts/modules/bpy | |
parent | d538de90a7ac2179f8c8bd235c24bf12d10e0ef3 (diff) | |
parent | a6fc7180297f855c2592b20b26f96eb8e5a9e0ca (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'release/scripts/modules/bpy')
-rw-r--r-- | release/scripts/modules/bpy/ops.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py index 6d8ed1c1780..961c9d99a7b 100644 --- a/release/scripts/modules/bpy/ops.py +++ b/release/scripts/modules/bpy/ops.py @@ -27,6 +27,7 @@ op_poll = ops_module.poll op_call = ops_module.call op_as_string = ops_module.as_string op_get_rna = ops_module.get_rna +op_get_rna_type = ops_module.get_rna_type op_get_instance = ops_module.get_instance @@ -196,6 +197,10 @@ class BPyOpsSubModOp: return ret + def get_rna_type(self): + """Internal function for introspection""" + return op_get_rna_type(self.idname()) + def get_rna(self): """Internal function for introspection""" return op_get_rna(self.idname()) |