ManualObject does not log an error message if the material specified is invalid

Description

Ogre::ManualObject allows a material name to be specified in its begin() method, however, if the material name is invalid, no error message is generated/logged, even after the object is rendered, which may end up hiding configuration issues from the developer.

Other parts of the engine appropriately log an error when the material is not found, such as Entity objects: "Can't assign material MaterialName to SubEntity of ogreHead because this Material does not exist. Have you forgotten to define it in a .material script?"

Environment

Windows

Assignee

M

Reporter

Ricardo Costa

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure