Changeset 1429 for trunk/packages/vizservers/nanovis/Command.cpp
- Timestamp:
- May 11, 2009, 4:39:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/Command.cpp
r1382 r1429 141 141 static Tcl_ObjCmdProc CameraCmd; 142 142 static Tcl_ObjCmdProc CutplaneCmd; 143 static Tcl_ObjCmdProc FlowCmd;143 extern Tcl_AppInitProc FlowCmdInitProc; 144 144 static Tcl_ObjCmdProc GridCmd; 145 145 static Tcl_ObjCmdProc LegendCmd; … … 1725 1725 // ========================= VOLUME END ================================== 1726 1726 1727 #ifdef notdef 1727 1728 // ============================= FLOW ================================== 1728 1729 … … 1957 1958 return TCL_ERROR; 1958 1959 } 1959 NanoVis::lic_on = state;1960 /* NanoVis::lic_on = state; */ 1960 1961 return TCL_OK; 1961 1962 } … … 1973 1974 return TCL_ERROR; 1974 1975 } 1976 #ifdef notdef 1975 1977 switch (axis) { 1976 1978 case 0 : … … 1984 1986 break; 1985 1987 } 1988 #endif 1986 1989 return TCL_OK; 1987 1990 } … … 2053 2056 } 2054 2057 2055 NanoVis::particle_on = state;2058 /* NanoVis::particle_on = state; */ 2056 2059 return TCL_OK; 2057 2060 } … … 2199 2202 2200 2203 // ============================ FLOW END ================================== 2204 #endif 2201 2205 2202 2206 static int … … 2832 2836 Tcl_Interp *interp; 2833 2837 interp = Tcl_CreateInterp(); 2838 /* 2834 2839 Tcl_MakeSafe(interp); 2835 2840 */ 2836 2841 Tcl_CreateObjCommand(interp, "axis", AxisCmd, NULL, NULL); 2837 2842 Tcl_CreateObjCommand(interp, "camera", CameraCmd, NULL, NULL); 2838 2843 Tcl_CreateObjCommand(interp, "cutplane", CutplaneCmd, NULL, NULL); 2839 Tcl_CreateObjCommand(interp, "flow", FlowCmd, NULL, NULL); 2844 if (FlowCmdInitProc(interp) != TCL_OK) { 2845 return NULL; 2846 } 2840 2847 Tcl_CreateObjCommand(interp, "grid", GridCmd, NULL, NULL); 2841 2848 Tcl_CreateObjCommand(interp, "heightmap", HeightMapCmd, NULL, NULL);
Note: See TracChangeset
for help on using the changeset viewer.