Changeset 1211


Ignore:
Timestamp:
Nov 12, 2008 9:42:16 AM (15 years ago)
Author:
gah
Message:

new version of pymol + server patches

Location:
trunk/packages/vizservers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/nanovis.cpp

    r1205 r1211  
    651651        return;
    652652    }
    653     if (NanoVis::stdin != ::stdin) {
    654         return;
    655     }
    656 
    657653    if (debug_flag) {
    658654        fprintf(stderr, "in resize_offscreen_buffer(%d, %d)\n", w, h);
  • trunk/packages/vizservers/pymolproxy/pymolproxy.c

    r1179 r1211  
    6868
    6969static FILE *flog;
    70 static int debug = FALSE;
     70static int debug = TRUE;
    7171
    7272typedef struct {
     
    11971197    char buffer[800];
    11981198    unsigned int nBytes=0;
    1199     float samples = 0.0;
     1199    float samples = 10.0;
    12001200    PymolProxy *pymol = (PymolProxy *) cdata;
    12011201
     
    12131213    waitForString(pymol, "image follows: ", buffer, 800);
    12141214
    1215     sscanf(buffer, "image follows: %d %f\n", &nBytes, &samples);
     1215    sscanf(buffer, "image follows: %d\n", &nBytes);
    12161216 
    12171217    write(3, &samples, sizeof(samples));
     
    12401240    char buffer[800];
    12411241    unsigned int nBytes=0;
    1242     float samples = 0.0;
     1242    float samples = 10.0;
    12431243    PymolProxy *pymol = (PymolProxy *) cdata;
    12441244
     
    12561256    waitForString(pymol, "image follows: ", buffer, 800);
    12571257
    1258     sscanf(buffer, "image follows: %d %f\n", &nBytes, &samples);
     1258    sscanf(buffer, "image follows: %d\n", &nBytes);
    12591259    write(3,&samples,sizeof(samples));
    12601260
Note: See TracChangeset for help on using the changeset viewer.