bugfix [#24151] AddPresetBase class does not add Color import when saving color properties

This commit is contained in:
Campbell Barton 2010-10-05 19:14:41 +00:00
parent 568cb06616
commit de1c5de708

@ -63,6 +63,7 @@ class AddPresetBase():
else:
file_preset = open(filepath, 'w')
file_preset.write("import bpy\n")
file_preset.write("from mathutils import *\n")
for rna_path in self.preset_values:
value = eval(rna_path)