Changeset 3637 for trunk/gui/scripts/molvisviewer.tcl
- Timestamp:
- Apr 26, 2013 5:25:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/molvisviewer.tcl
r3592 r3637 765 765 set _cacheid $cacheid 766 766 } 767 #debug "reading $size bytes from proxy\n"768 767 set data [ReceiveBytes $size] 769 768 #debug "success: reading $size bytes from proxy\n" … … 964 963 # Save the PDB data in case the user wants to later save it. 965 964 set _pdbdata $data1 966 set n Bytes [string length $data1]965 set numBytes [string length $data1] 967 966 968 967 # We know we're buffered here, so append the "loadpdb" command 969 968 # with the data payload immediately afterwards. 970 ServerCmd "loadpdb -defer follows $model $state $n Bytes"969 ServerCmd "loadpdb -defer follows $model $state $numBytes" 971 970 append _outbuf $data1 972 971 set _dataobjs($model-$state) 1 … … 977 976 # Save the PDB data in case the user wants to later save it. 978 977 set _pdbdata $data2 979 set n Bytes [string length $data2]978 set numBytes [string length $data2] 980 979 981 980 # We know we're buffered here, so append the "loadpdb" command 982 981 # with the data payload immediately afterwards. 983 ServerCmd "loadpdb -defer follows $model $state $n Bytes"982 ServerCmd "loadpdb -defer follows $model $state $numBytes" 984 983 append _outbuf $data2 985 984 set _dataobjs($model-$state) 1 … … 1026 1025 # Save the PDB data in case the user wants to later save it. 1027 1026 set _pdbdata $data3 1028 set n Bytes [string length $data3]1027 set numBytes [string length $data3] 1029 1028 1030 1029 # We know we're buffered here, so append the "loadpdb" 1031 1030 # command with the data payload immediately afterwards. 1032 ServerCmd "loadpdb -defer follows $model $state $n Bytes"1031 ServerCmd "loadpdb -defer follows $model $state $numBytes" 1033 1032 append _outbuf $data3 1034 1033 }
Note: See TracChangeset
for help on using the changeset viewer.