forked from bartvdbraak/blender
bugfix [#24151] AddPresetBase class does not add Color import when saving color properties
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user