occt: master 3e9c1d1e

Author Committer Branch Timestamp Parent
mzernova bugmaster master 2019-12-03 09:32:39 master 8f5760bc
Affected Issues  0029993: Visualization - AIS_TextLabel computes selection primitive only for attachment point
Changeset 0029993: Visualization - AIS_TextLabel computes selection primitive only for attachment point

The text label is selected as a rectangle (adds a sensitive object - Select3D_SensitiveFace).
The bounding box has been resized to fit the sensitive rectangle.
Transform persistent has been added to AIS_TextLabel to correctly position the sensitive rectangle.
The findConnectedObject function has also been changed to correctly set transform persistence.
mod - src/AIS/AIS_TextLabel.cxx Diff File
mod - src/AIS/AIS_TextLabel.hxx Diff File
mod - src/SelectMgr/SelectMgr_ViewerSelector3d.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - tests/3rdparty/fonts/A2 Diff File
mod - tests/3rdparty/fonts/A7 Diff File
mod - tests/bugs/vis/bug24837_2 Diff File