Code cleaning: removing unimportant code
This commit is contained in:
parent
29f539c861
commit
c28e6f83cd
|
@ -30,7 +30,6 @@ class AtomPropExport(object):
|
|||
def export_pdb(obj_type, filepath_pdb):
|
||||
|
||||
list_atoms = []
|
||||
i = 0
|
||||
for obj in bpy.context.selected_objects:
|
||||
|
||||
if "STICK" in obj.name.upper():
|
||||
|
@ -62,8 +61,6 @@ def export_pdb(obj_type, filepath_pdb):
|
|||
location = obj.location
|
||||
list_atoms.append(AtomPropExport(name, location))
|
||||
|
||||
i = i+1
|
||||
|
||||
pdb_file_p = open(filepath_pdb, "w")
|
||||
pdb_file_p.write("REMARK This pdb file has been created with Blender "
|
||||
"and the addon Atomic Blender - PDB\n"
|
||||
|
|
Loading…
Reference in New Issue