Sculpt.cpp (pymol-v1.8.6.0.tar.bz2) | : | Sculpt.cpp (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 2413 | skipping to change at line 2413 | |||
FreeP(cnt); | FreeP(cnt); | |||
FreeP(disp); | FreeP(disp); | |||
FreeP(atm2idx); | FreeP(atm2idx); | |||
if(cgo) { | if(cgo) { | |||
CGOStop(cgo); | CGOStop(cgo); | |||
{ | { | |||
int est = CGOCheckComplex(cgo); | int est = CGOCheckComplex(cgo); | |||
if(est) { | if(est) { | |||
cs->SculptCGO = CGOSimplify(cgo, est); | cs->SculptCGO = CGOSimplify(cgo, est); | |||
CGOFree(cgo); | CGOFree(cgo); | |||
CGOFree(cs->SculptShaderCGO); | ||||
if (cs->SculptShaderCGO){ | ||||
CGOFree(cs->SculptShaderCGO); | ||||
cs->SculptShaderCGO = NULL; | ||||
} | ||||
} | } | |||
} | } | |||
} | } | |||
EditorDihedralInvalid(G, obj); | EditorDihedralInvalid(G, obj); | |||
} | } | |||
PRINTFD(G, FB_Sculpt) | PRINTFD(G, FB_Sculpt) | |||
" SculptIterateObject-Debug: leaving...\n" ENDFD; | " SculptIterateObject-Debug: leaving...\n" ENDFD; | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added |