"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/viewing.py" between
pymol-v2.1.0.tar.bz2 and pymol-open-source-2.2.0.tar.gz

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.

viewing.py  (pymol-v2.1.0.tar.bz2):viewing.py  (pymol-open-source-2.2.0)
skipping to change at line 1775 skipping to change at line 1775
SEE ALSO SEE ALSO
ray, png, save ray, png, save
''' '''
# stop movies and sculpting if they're on... # stop movies and sculpting if they're on...
if _self.get_movie_playing(): if _self.get_movie_playing():
_self.mstop() _self.mstop()
if _self.get_setting_boolean("sculpting"): if _self.get_setting_boolean("sculpting"):
_self.set("sculpting","off",quiet=1) _self.set("sculpting","off",quiet=1)
# make sure that there aren't any pending display events # make sure that there aren't any pending display events
_self.refresh() # TODO breaks QOpenGLWidget
# _self.refresh()
# #
r = DEFAULT_ERROR r = DEFAULT_ERROR
try: try:
_self.lock(_self) _self.lock(_self)
r = _cmd.draw(_self._COb,int(width),int(height), r = _cmd.draw(_self._COb,int(width),int(height),
int(antialias),int(quiet)) int(antialias),int(quiet))
finally: finally:
_self.unlock(r,_self) _self.unlock(r,_self)
if _self._raising(r,_self): raise QuietException if _self._raising(r,_self): raise QuietException
return r return r
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

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