"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer2/ObjectCallback.cpp" 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.

ObjectCallback.cpp  (pymol-v2.1.0.tar.bz2):ObjectCallback.cpp  (pymol-open-source-2.2.0)
skipping to change at line 96 skipping to change at line 96
if(ray || pick) if(ray || pick)
return; return;
if(!(G->HaveGUI && G->ValidContext)) if(!(G->HaveGUI && G->ValidContext))
return; return;
if(!I->State || I->NState == 0) if(!I->State || I->NState == 0)
return; return;
ObjectPrepareContext(&I->Obj, ray); ObjectPrepareContext(&I->Obj, info);
if((I->Obj.visRep & cRepCallbackBit)) { if((I->Obj.visRep & cRepCallbackBit)) {
int blocked = PAutoBlock(G); int blocked = PAutoBlock(G);
for(StateIterator iter(G, I->Obj.Setting, state, I->NState); iter.next();) { for(StateIterator iter(G, I->Obj.Setting, state, I->NState); iter.next();) {
sobj = I->State + iter.state; sobj = I->State + iter.state;
if(!sobj->is_callable) if(!sobj->is_callable)
continue; continue;
Py_DecRef(PyObject_CallObject(sobj->PObj, NULL)); Py_DecRef(PyObject_CallObject(sobj->PObj, NULL));
if(PyErr_Occurred()) if(PyErr_Occurred())
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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