Commit 4b609462 authored by Bill Lorensen's avatar Bill Lorensen Committed by Code Review
Browse files

Merge topic 'TclPrecision' into master

992028b0 COMP: Revert tcl precision to default value
parents 921d0725 992028b0
......@@ -135,14 +135,6 @@ static void CreateInitFile(const char *libName,
fprintf(fout," Tcl_CreateCommand(interp,(char *)(\"vtkCommand\"),\n"
" reinterpret_cast<vtkTclCommandType>(vtkCreateCommand),\n"
" static_cast<ClientData *>(NULL), NULL);\n\n");
/*
* Set the default precision of tcl to match the legacy vtk default
* precsion. Wrapped code will use the tcl_precision variable to
* define the output resolution for converting doubles to strings
*/
fprintf(fout,
" Tcl_SetVar2(interp, \"tcl_precision\", (char *) NULL, \"6\", TCL_GLOBAL_ONLY);\n");
}
for (i = 0; i < numCommands; i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment