occt: master ff2bd6ef

Author Committer Branch Timestamp Parent
apl apn master 2017-01-26 09:54:30 master 8cc8a692
Changeset 0028361: Visualization, TKV3d - buggy behavior of Transformation Persistence compiled on several Linux platforms in optimized mode

The patch fixes transformation persistence for various set of GCC compilers.
1) Optimized template-specialized operator /= for division (causes bugs)
   of NCollection_Vec4 was replaced with non-specialized version.
2) NCollection_Vec4::xyz() is not used since compiler uses modifiable-reference
   returning version, which invokes warning of possible strict-aliasing rules
   violation and leads to incorrect behavior of the reference.
mod - src/Graphic3d/Graphic3d_TransformPers.hxx Diff File
add - tests/bugs/vis/bug28361 Diff File