Compositors interact poorly with uses of scene manager visibility flags

Description

Original reporter: fedyakin

Compositors initialize their visibility mask value to that of the Viewport, but set the SceneManager's visibility flags. This is inconsistent, and makes the SceneManager visibility mask unusable. See http://www.ogre3d.org/forums/viewtopic.php?f=4&t=69363.

Attached is a patch that changes the compositors to use the viewport visibility mask. I think its a good solution, but it does change the way compositors behave slightly.

Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=513

Environment

None

Assignee

M

Reporter

Philip Allgaier

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure