Changeset 1211 for trunk/packages/vizservers
- Timestamp:
- Nov 12, 2008, 9:42:16 AM (16 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/nanovis.cpp
r1205 r1211 651 651 return; 652 652 } 653 if (NanoVis::stdin != ::stdin) {654 return;655 }656 657 653 if (debug_flag) { 658 654 fprintf(stderr, "in resize_offscreen_buffer(%d, %d)\n", w, h); -
trunk/packages/vizservers/pymolproxy/pymolproxy.c
r1179 r1211 68 68 69 69 static FILE *flog; 70 static int debug = FALSE;70 static int debug = TRUE; 71 71 72 72 typedef struct { … … 1197 1197 char buffer[800]; 1198 1198 unsigned int nBytes=0; 1199 float samples = 0.0;1199 float samples = 10.0; 1200 1200 PymolProxy *pymol = (PymolProxy *) cdata; 1201 1201 … … 1213 1213 waitForString(pymol, "image follows: ", buffer, 800); 1214 1214 1215 sscanf(buffer, "image follows: %d %f\n", &nBytes, &samples);1215 sscanf(buffer, "image follows: %d\n", &nBytes); 1216 1216 1217 1217 write(3, &samples, sizeof(samples)); … … 1240 1240 char buffer[800]; 1241 1241 unsigned int nBytes=0; 1242 float samples = 0.0;1242 float samples = 10.0; 1243 1243 PymolProxy *pymol = (PymolProxy *) cdata; 1244 1244 … … 1256 1256 waitForString(pymol, "image follows: ", buffer, 800); 1257 1257 1258 sscanf(buffer, "image follows: %d %f\n", &nBytes, &samples);1258 sscanf(buffer, "image follows: %d\n", &nBytes); 1259 1259 write(3,&samples,sizeof(samples)); 1260 1260
Note: See TracChangeset
for help on using the changeset viewer.