occt: master ab9e277f
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
nds | mzernova | master | 2019-08-27 05:26:23 | master 0439d1cf |
Affected Issues | 0031193: Visualization - OpenGl_Flipping wrong text position if local transformation set | |||
Changeset | 0031193: Visualization - OpenGl_Flipping wrong text position if local transformation set Before the patch, if the values of the isReversedX/Y/Z variables were set to false, then the WorldView matrix did not change and local transformation was not applied, which caused errors. In order to correctly set the local transformation in case the text does not have its own attach point, the local transformation is set in OpenGl_Text, and the ModelWorld matrix is changed in OpenGl_Flipper, instead of the WorldView matrix. In this case, local transformation will always be applied. bugs/vis/bug31193: test case added |
|||
mod - src/AIS/AIS_TextLabel.cxx | Diff File | |||
mod - src/AIS/AIS_TextLabel.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Flipper.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Text.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File | |||
add - tests/bugs/vis/bug31193 | Diff File |