Debug-only "RaiseIf" is replaced by simple "if" to have exceptional situation handled correctly in Release mode.
Mention mandatory variable CSF_ShadersDirectory in porting notes for OCCT 6.9.0
Test cases for issue CR27432
Deleting test cases for issue CR27432
Porting of user applications from an earlier OCCT version to version 6.9.0 requires taking into account the following major changes.
+@subsection upgrade_690_shaders 3D Viewer initialization
+
+3D Viewer now uses GLSL programs for managing frame buffer and stereoscopic output.
+For proper initialization, application should configure **CSF_ShadersDirectory** environment variable pointing to a folder with GLSL resources - files from folder **CASROOT**/src/Shaders.
@subsection upgrade_690_selection Changes in Selection
thesequenceoftokens = new Units_TokensSequence();
Handle(Units_TokensSequence) lstlexicon=alexicon->Sequence();
- Units_NoSuchType_Raise_if(lstlexicon.IsNull(),"BAD LEXICON descriptor");
+ if(lstlexicon.IsNull())
+ Units_NoSuchType::Raise("BAD LEXICON descriptor");
limchain=strlen(astring);
i=0;