diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-23 10:54:49 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-23 11:00:52 +0400 |
commit | 9fcaac5009b567edc59c4831b6a0580211d1d290 (patch) | |
tree | 001d9951652c731a71b21ad58a9ed473ab33294e /source/blender/blenloader/BLO_readfile.h | |
parent | 54109add6578da9f306973e2e224664e2d63e534 (diff) |
Fix T41147: Static BVH shading problem
Fix T41079: Solid black render of object with negative scale and smooth shading
In both cases the issue was caused by negative scaled objects with single mesh
users for which scale gets applied when using static BVH.
Since the on-fly normals calculation land normals for such cases weren't flipped
leading them to point to a wrong direction.
Added a special object flag for this, which is a bit of a bummer because now
we've got less bits for real useful things, but this is the only way to get
proper normals without adding more complexity in the on-fly calculations.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
0 files changed, 0 insertions, 0 deletions