From 9c41878772be5ec2b3b759550b64ea32447bb62b Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 20 Dec 2006 15:05:43 +0000 Subject: [PATCH] Minor change --- src/VISU_I/VISU_ColoredPrs3dCache_i.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc index da9bf7a8..ea4f40c6 100644 --- a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc @@ -42,9 +42,9 @@ #include #ifdef _DEBUG_ -static int MYDEBUG = 1; +static int MYDEBUG = 0; #else -static int MYDEBUG = 1; +static int MYDEBUG = 0; #endif namespace @@ -304,18 +304,13 @@ VISU::ColoredPrs3dCache_i* 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(GetServant(aCache).in()); - } } return new VISU::ColoredPrs3dCache_i(theStudy); -- 2.39.2