addam / Export-Paper-Model-from-Blender

Python addon for creating paper models in Blender (development version)
https://blenderartists.org/t/export-paper-model/476597
405 stars 53 forks source link

Cannot Save User Preset; #79

Closed craighayes closed 4 years ago

craighayes commented 4 years ago

Great add-on!

Mac OS 10.13.6 - Blender 2.81a

When I try to save a User Preset for colors, paper size, scale, etc., I get an error and no settings are saved.

Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/2.81/scripts/startup/bl_operators/presets.py", line 167, in execute for rna_path in self.preset_values: File "/Applications/Blender.app/Contents/Resources/2.81/scripts/modules/bpy_types.py", line 712, in getattribute return super().getattribute(attr) File "/Applications/Blender.app/Contents/Resources/2.81/scripts/addons/io_export_paper_model.py", line 2293, in preset_values properties = op.get_rna().bl_rna.properties.items() AttributeError: 'BPyOpsSubModOp' object has no attribute 'get_rna'

location: :-1

Thank you,

Craig

addam commented 4 years ago

Fixed. Thanks for reporting the issue.