]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Texture persistance
authorouv <ouv@opencascade.com>
Wed, 12 Oct 2005 06:40:42 +0000 (06:40 +0000)
committerouv <ouv@opencascade.com>
Wed, 12 Oct 2005 06:40:42 +0000 (06:40 +0000)
src/VISU_I/VISU_GaussPoints_i.cc

index 629b0fe69463311412ac8f50728e0ddb00cec590..5684ace39179048d151bcbebe035bae7242dc8b6 100644 (file)
@@ -221,10 +221,8 @@ VISU::GaussPoints_i
 
   SetAlphaThreshold(Storable::FindValue(theMap,"myAlphaThreshold").toDouble());
 
-  SetMainTexture(Storable::FindValue(theMap,"myMainTexture"));
-  SetAlphaTexture(Storable::FindValue(theMap,"myAlphaTexture"));
-
-  SetTextures( GetMainTexture(), GetAlphaTexture() );
+  SetTextures( Storable::FindValue(theMap,"myMainTexture"),
+              Storable::FindValue(theMap,"myAlphaTexture") );
 
   return this;
 }