mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027567: VIS - possible memory leaks due to use of plain pointers: Fix also the VIS guide. Add the test v3d/ivtk/bug27567. Add a draw command "ivtkremove".
0027734: Configuration - TKIVtkDraw build fails with TBB: Remove unnecessary define statement (windows specific). Small correction of test case for issue CR27567
This commit is contained in:
@@ -473,11 +473,7 @@ void Draw_Interpretor::AppendElement(const Standard_CString s)
|
||||
|
||||
Standard_Integer Draw_Interpretor::Eval(const Standard_CString line)
|
||||
{
|
||||
Standard_PCharacter pLine;
|
||||
//
|
||||
pLine=(Standard_PCharacter)line;
|
||||
//
|
||||
return Tcl_Eval(myInterp,pLine);
|
||||
return Tcl_Eval(myInterp,line);
|
||||
}
|
||||
|
||||
|
||||
@@ -489,10 +485,7 @@ Standard_Integer Draw_Interpretor::Eval(const Standard_CString line)
|
||||
Standard_Integer Draw_Interpretor::RecordAndEval(const Standard_CString line,
|
||||
const Standard_Integer flags)
|
||||
{
|
||||
Standard_PCharacter pLine;
|
||||
//
|
||||
pLine=(Standard_PCharacter)line;
|
||||
return Tcl_RecordAndEval(myInterp,pLine,flags);
|
||||
return Tcl_RecordAndEval(myInterp,line,flags);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
@@ -502,10 +495,7 @@ Standard_Integer Draw_Interpretor::RecordAndEval(const Standard_CString line,
|
||||
|
||||
Standard_Integer Draw_Interpretor::EvalFile(const Standard_CString fname)
|
||||
{
|
||||
Standard_PCharacter pfname;
|
||||
//
|
||||
pfname=(Standard_PCharacter)fname;
|
||||
return Tcl_EvalFile(myInterp,pfname);
|
||||
return Tcl_EvalFile(myInterp,fname);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user