1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0027432: Null Handle Access When Creating AIS_Trihedron

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
This commit is contained in:
abv 2016-04-26 21:24:27 +03:00 committed by bugmaster
parent 3e6a4cd02a
commit 3d370858dd
2 changed files with 6 additions and 1 deletions

View File

@ -247,6 +247,10 @@ The class *Select3D_Projector* now supports both orientation and projection tran
Porting of user applications from an earlier OCCT version to version 6.9.0 requires taking into account the following major changes. 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 @subsection upgrade_690_selection Changes in Selection

View File

@ -60,7 +60,8 @@ Units_Sentence::Units_Sentence(const Handle(Units_Lexicon)& alexicon,
thesequenceoftokens = new Units_TokensSequence(); thesequenceoftokens = new Units_TokensSequence();
Handle(Units_TokensSequence) lstlexicon=alexicon->Sequence(); 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); limchain=strlen(astring);
i=0; i=0;