Changeset View
Changeset View
Standalone View
Standalone View
space_view3d_stored_views/io.py
| Context not available. | |||||
| if str(type(val)) in ["<class 'bpy_prop_array'>"]: | if str(type(val)) in ["<class 'bpy_prop_array'>"]: | ||||
| # array | # array | ||||
| dict[prop.identifier] = [v for v in val] | dict[prop.identifier] = [v for v in val] | ||||
| # adress the pickle limitations of dealing with the Vector class | # address the pickle limitations of dealing with the Vector class | ||||
| elif str(type(val)) in ["<class 'Vector'>", | elif str(type(val)) in ["<class 'Vector'>", | ||||
| "<class 'Quaternion'>"]: | "<class 'Quaternion'>"]: | ||||
| dict[prop.identifier] = [v for v in val] | dict[prop.identifier] = [v for v in val] | ||||
| Context not available. | |||||