#include <vtkRenderWindow.h>
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = 0;
#else
-static int MYDEBUG = 1;
+static int MYDEBUG = 0;
#endif
namespace
VISU::ColoredPrs3dCache_i
::GetInstance_i(SALOMEDS::Study_ptr theStudy)
{
- cout << "VISU::ColoredPrs3dCache_i::GetInstance_i " << theStudy << endl;
std::string aFolderName = VISU::ColoredPrs3dCache_i::GetFolderName();
SALOMEDS::SObject_var aSObject = theStudy->FindObject(aFolderName.c_str());
if(!CORBA::is_nil(aSObject)){
- cout << 111 << endl;
CORBA::Object_var anObject = aSObject->GetObject();
VISU::ColoredPrs3dCache_var aCache = VISU::ColoredPrs3dCache::_narrow(anObject);
if(!CORBA::is_nil(aCache))
- {
- cout << 222 << endl;
return dynamic_cast<VISU::ColoredPrs3dCache_i*>(GetServant(aCache).in());
- }
}
return new VISU::ColoredPrs3dCache_i(theStudy);