From: ouv Date: Wed, 20 Dec 2006 15:05:43 +0000 (+0000) Subject: Minor change X-Git-Tag: WP1_2_3_25-12-2006_persistent_for_cache~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c41878772be5ec2b3b759550b64ea32447bb62b;p=modules%2Fvisu.git Minor change --- 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);