(fwRenderOgre): allow pickers to pick both side of meshes
Description
Currently, CollisionTools
allow picking meshes by looking at normals of each triangle.
Proposal
Check the culling mode of the used material to pick on both sides of the culling mode if it's none.
Links / references
The following discussion from !248 (merged) should be addressed:
-
@kgaudet started a discussion: (+1 comment) This option shouldn't be set manually.
It would be better to set it depending on whether or not backface culling is enabled for the
pentity
.This can be done by accessing its material.