"Fossies" - the Fresh Open Source Software Archive  

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

ObjectDist.cpp  (pymol-v1.8.6.0.tar.bz2):ObjectDist.cpp  (pymol-v2.1.0.tar.bz2)
skipping to change at line 456 skipping to change at line 456
if(ds) if(ds)
ds->render(info); ds->render(info);
} }
} }
} }
static CSetting **ObjectDistGetSettingHandle(ObjectDist * I, int state) static CSetting **ObjectDistGetSettingHandle(ObjectDist * I, int state)
{ {
if(state < 0) { if(state < 0) {
return (&I->Obj.Setting); return (&I->Obj.Setting);
} else if(state < I->NDSet) {
if(I->DSet[state]) {
return (&I->DSet[state]->Setting);
} else {
return (NULL);
}
} else { } else {
return (NULL); return (NULL);
} }
} }
static void ObjectDistInvalidate(CObject * Iarg, int rep, int level, int state){ static void ObjectDistInvalidate(CObject * Iarg, int rep, int level, int state){
ObjectDist * I = (ObjectDist*)Iarg; ObjectDist * I = (ObjectDist*)Iarg;
for(StateIterator iter(I->Obj.G, I->Obj.Setting, state, I->NDSet); for(StateIterator iter(I->Obj.G, I->Obj.Setting, state, I->NDSet);
iter.next();) { iter.next();) {
DistSet * ds = I->DSet[iter.state]; DistSet * ds = I->DSet[iter.state];
 End of changes. 1 change blocks. 
6 lines changed or deleted 0 lines changed or added

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