Commit a73ff1ee authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added SetDebug() method.

parent 61f7c623
......@@ -71,6 +71,7 @@ public:
virtual void DebugOn();
virtual void DebugOff();
int GetDebug();
void SetDebug(int debugFlag);
// modified time
virtual unsigned long int GetMTime();
......
......@@ -129,3 +129,11 @@ int vtkObject::GetDebug()
{
return this->Debug;
}
// Description:
// Set the value of the debug flag. A non-zero value turns debugging on.
void vtkObject::SetDebug(int debugFlag)
{
this->Debug = debugFlag;
}
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