Show
Ignore:
Timestamp:
06/19/11 19:57:32 (11 months ago)
Author:
Robin Gareus <robin@…>
Parents:
cb5297d42f18823d3b05ce472cd6328700f52241
git-committer:
Robin Gareus <robin@gareus.org> / 2011-06-19T21:57:32Z+0200
Message:

image loading optimizations and titles..

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • InOutExpositor/oClientP.pde

    rcb5297d r3e73eb7  
    7575                                  // URL encode spaces 
    7676          String lin = login.replace(' ','+'); 
    77           String imPath = previewFilesAddress + lin + ".png"; 
     77          String imPath = previewFilesAddress + lin + ".png?timeout=500"; 
    7878                                        if (vImID>=0) { 
    7979                                          print("discarding prev image request: "+login+": "+vImID+"\n") ; 
     
    9595  void traceImage(float a, float b, float w, float h) { 
    9696          if (vImID >=0) { 
    97                   vIm[curr] = loader.getImage(vImID); 
    98                         if (vIm[curr] != null) { 
     97                  PImage tmpIm ; 
     98                  tmpIm = loader.getImage(vImID); 
     99                        if (tmpIm != null) { 
    99100                          print("Image ID: "+vImID+" loaded."); 
    100101                                loader.delImage(vImID); 
    101102                                vImID=-1; 
     103                          vIm[curr]=tmpIm; 
    102104                        } 
    103105                }