(ui): gouraud shading mode isn't correctly computed if transform is applied to mesh
Summary
When using SMesh
and adding a deferred transform on a mesh, the shading mode gouraud
failed to compute colors.
Steps to reproduce
-
Load a mesh
-
Apply a transform on on
SMesh
using the<config transform="..."
, transform should be adeferred
object. -
Apply the
shadingMode="gouraud"
still using the xml config. -
bug.
Dev environment
- OS: Linux (Windows may also be impacted)
- CMake version: 3.17.3
- Compiler: g++8
- Build type: debug
- Commit: sight 20.2 (& current dev)
Relevant logs and/or screenshots
Possible fixes
Maybe a quick fix is to remove old shading mode, nobody wants a bad shading when render meshes.