From: ouv Date: Wed, 12 Oct 2005 06:40:42 +0000 (+0000) Subject: Texture persistance X-Git-Tag: BR-D5-38-2003_D2005-12-10~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d60f223ac92ba743a0295cc2bef51793f9f33ff1;p=modules%2Fvisu.git Texture persistance --- diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 629b0fe6..5684ace3 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -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; }