Abort firing events in tcl proc
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
a vtkTclCommand can't set the AbortFlag to stop firing events... but if a tcl proc returned with "return -code -1" then this
Index: vtkTclUtil.cxx
RCS file: /cvsroot/VTK/VTK/Common/vtkTclUtil.cxx,v retrieving revision 1.81 diff -u -r1.81 vtkTclUtil.cxx --- vtkTclUtil.cxx 14 Nov 2003 20:43:25 -0000 1.81 +++ vtkTclUtil.cxx 14 May 2004 09:17:09 -0000 @@ -657,6 +657,10 @@ this->Interp->errorLine); } }
- else if (res == -1)
- {
- this->AbortFlagOn();
- } }
would set the AbortFlag and stop firing events.