Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-13 12:46:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-13 12:46:26 +0300
commite76815171ffa0814ee142ae823776304ca6070db (patch)
tree9962a2337417b6ebf101807b6630b394b49f6fd3 /io_export_paper_model.py
parentb8c9542f3a695d799f5d46051e2846ab3a45b5f2 (diff)
Prefer get_rna_type() since it doesn't leak memory
Diffstat (limited to 'io_export_paper_model.py')
-rw-r--r--io_export_paper_model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_export_paper_model.py b/io_export_paper_model.py
index 5ddcc11c..df24fd67 100644
--- a/io_export_paper_model.py
+++ b/io_export_paper_model.py
@@ -2357,7 +2357,7 @@ class AddPresetPaperModel(bl_operators.presets.AddPresetBase, bpy.types.Operator
@property
def preset_values(self):
op = bpy.ops.export_mesh.paper_model
- properties = op.get_rna().bl_rna.properties.items()
+ properties = op.get_rna_type().properties.items()
blacklist = bpy.types.Operator.bl_rna.properties.keys()
return [
"op.{}".format(prop_id) for (prop_id, prop) in properties