occt: master 03d960b8

Author Committer Branch Timestamp Parent
abv bugmaster master 2017-09-29 16:04:13 master 9b372aa8
Affected Issues  0029165: Visualization - misuse of enumeration in Prs3d_DatumAspect
Changeset 0029165: Visualization - misuse of enumeration in Prs3d_DatumAspect

Methods SetDrawFirstAndSecondAxis() and SetDrawThirdAxis() of the class Prs3d_DatumAspect are corrected to ensure that myAxis may be set only to valid values of the enum, and avoid unsafe operations.
mod - src/Prs3d/Prs3d_DatumAspect.cxx Diff File