Changeset 1501
- Timestamp:
- Jun 10, 2009 8:39:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/FlowCmd.cpp
r1499 r1501 1946 1946 } 1947 1947 #endif 1948 NanoVis::licRenderer->make_patterns();1949 1950 1948 // FIXME: find a way to get the data from the movie object as a void* 1951 1949 Rappture::Buffer data; … … 1955 1953 return TCL_ERROR; 1956 1954 } 1955 1957 1956 // Build the command string for the client. 1958 1957 char command[200]; 1959 1958 sprintf(command,"nv>image -bytes %lu -type movie -token \"%s\"\n", 1960 1959 (unsigned long)data.size(), Tcl_GetString(objv[7])); 1961 1962 1960 NanoVis::sendDataToClient(command, data.bytes(), data.size()); 1961 1962 if ((width != oldWidth) || (height != oldHeight)) { 1963 // Restore to the old size. 1964 NanoVis::resize_offscreen_buffer(old_width, old_height); 1965 } 1966 NanoVis::licRenderer->make_patterns(); 1963 1967 if (unlink(fileName) != 0) { 1964 1968 Tcl_AppendResult(interp, "can't unlink temporary movie file \"",
Note: See TracChangeset
for help on using the changeset viewer.