"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/wizard/sculpting.py" between
pymol-v1.8.6.0.tar.bz2 and pymol-v2.1.0.tar.bz2

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

sculpting.py  (pymol-v1.8.6.0.tar.bz2):sculpting.py  (pymol-v2.1.0.tar.bz2)
skipping to change at line 190 skipping to change at line 190
] ]
def free_all(self): def free_all(self):
self.clear() self.clear()
def clear(self): def clear(self):
self.cmd.unmask("all") self.cmd.unmask("all")
self.cmd.deprotect("all") self.cmd.deprotect("all")
self.cmd.sculpt_deactivate("all") self.cmd.sculpt_deactivate("all")
if self.status == HAVE_SELECTIONS: if self.status == HAVE_SELECTIONS:
util.cbag("(byobj %s)"%cent_sele, _self=self.cmd) util.cbag("(byobj ?%s)"%cent_sele, _self=self.cmd)
self.cmd.flag("exclude","(byobj %s)"%cent_sele,"clear") self.cmd.flag("exclude","(byobj ?%s)"%cent_sele,"clear")
self.status = NO_SELECTIONS self.status = NO_SELECTIONS
self.cmd.delete(sele_pre+"*") self.cmd.delete(sele_pre+"*")
self.cmd.refresh_wizard() self.cmd.refresh_wizard()
def cleanup(self): def cleanup(self):
global default_mode, default_radius, default_cushion global default_mode, default_radius, default_cushion
default_mode = self.mode default_mode = self.mode
default_radius = self.radius default_radius = self.radius
default_cushion = self.cushion default_cushion = self.cushion
if self.restore_edit_mode != None: if self.restore_edit_mode != None:
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)