uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectParser.cpp
branchRCL_3
changeset 17 c9d868f1e20c
parent 9 3ac8bf5c5014
child 18 1801340c26a2
equal deleted inserted replaced
15:cd0ae4656946 17:c9d868f1e20c
   134         CHuiFxEffect* tempEffect = iEffect;
   134         CHuiFxEffect* tempEffect = iEffect;
   135 #endif
   135 #endif
   136         iEffect = NULL;
   136         iEffect = NULL;
   137         if (iVisual)
   137         if (iVisual)
   138             {
   138             {
   139             iVisual->EffectSetOpacity(1.0f);
   139             iVisual->EffectSetOpacityAdditive(1.0f, ETrue);
   140 #ifndef HUIFX_EFFECTCACHE_ENABLED
   140 #ifndef HUIFX_EFFECTCACHE_ENABLED
   141             iVisual->SetEffect( tempEffect );
   141             iVisual->SetEffect( tempEffect );
   142 #endif
   142 #endif
   143             }
   143             }
   144         }
   144         }
   153             }
   153             }
   154         delete iEffect;
   154         delete iEffect;
   155         iEffect = NULL;
   155         iEffect = NULL;
   156         if (iVisual)
   156         if (iVisual)
   157             {
   157             {
   158             iVisual->EffectSetOpacity(1.0f);
   158             iVisual->EffectSetOpacityAdditive(1.0f, ETrue);
   159             iVisual->EffectSetEffect( NULL );
   159             iVisual->EffectSetEffect( NULL );
   160             }
   160             }
   161         }
   161         }
   162     else // We got cancelled
   162     else // We got cancelled
   163         {
   163         {