"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer2/RepDihedral.cpp" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.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.

RepDihedral.cpp  (pymol-open-source-2.2.0):RepDihedral.cpp  (pymol-open-source-2.3.0)
skipping to change at line 47 skipping to change at line 47
float *V; float *V;
int N; int N;
CObject *Obj; CObject *Obj;
DistSet *ds; DistSet *ds;
float linewidth, radius; float linewidth, radius;
CGO *shaderCGO; CGO *shaderCGO;
} RepDihedral; } RepDihedral;
#include"ObjectDist.h" #include"ObjectDist.h"
void RepDihedralFree(RepDihedral * I); static
void RepDihedralFree(RepDihedral * I) void RepDihedralFree(RepDihedral * I)
{ {
if (I->shaderCGO){ if (I->shaderCGO){
CGOFree(I->shaderCGO); CGOFree(I->shaderCGO);
I->shaderCGO = 0; I->shaderCGO = 0;
} }
VLAFreeP(I->V); VLAFreeP(I->V);
RepPurge(&I->R); RepPurge(&I->R);
OOFreeP(I); OOFreeP(I);
} }
skipping to change at line 167 skipping to change at line 166
if (convertcgo){ if (convertcgo){
CGOFree(I->shaderCGO); CGOFree(I->shaderCGO);
I->shaderCGO = convertcgo; I->shaderCGO = convertcgo;
} }
return ok; return ok;
} }
static void RepDihedralRender(RepDihedral * I, RenderInfo * info) static void RepDihedralRender(RepDihedral * I, RenderInfo * info)
{ {
CRay *ray = info->ray; CRay *ray = info->ray;
Picking **pick = info->pick; auto pick = info->pick;
PyMOLGlobals *G = I->R.G; PyMOLGlobals *G = I->R.G;
float *v = I->V; float *v = I->V;
int c = I->N; int c = I->N;
const float *vc; const float *vc;
float line_width; float line_width;
int round_ends; int round_ends;
int ok = true; int ok = true;
int color = int color =
SettingGet_color(G, NULL, I->ds->Obj->Obj.Setting, cSetting_dihedral_color); SettingGet_color(G, NULL, I->ds->Obj->Obj.Setting, cSetting_dihedral_color);
float dash_transparency = float dash_transparency =
 End of changes. 2 change blocks. 
3 lines changed or deleted 2 lines changed or added

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