setMaterial missing for some classes.

Minor issues with the Ogre API that can be trivial to fix
scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 216

setMaterial missing for some classes.

Post by scrawl »

Ogre::SubEntity conveniently has setMaterial(MaterialPtr) and setMaterialName.
ParticleSystem only has setMaterialName. Possibly affects other classes, haven't checked them yet :)
Edit: ParticleSystem also missing getMaterial()
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: setMaterial missing for some classes.

Post by masterfalcon »

Sounds perfect for a quick pull request! ;)