SceneNode::getCreator vs Camera::getSceneManager

Minor issues with the Ogre API that can be trivial to fix
User avatar
nec
Gremlin
Posts: 175
Joined: Fri Sep 29, 2006 5:56 pm
Location: Rosny Sous Bois, France
x 11

SceneNode::getCreator vs Camera::getSceneManager

Post by nec »

Hello,

SceneNodes use the function getCreator to access the scene it belongs to, Cameras use getSceneManager.
User avatar
so0os
Bugbear
Posts: 833
Joined: Thu Apr 15, 2010 7:42 am
Location: Poznan, Poland
x 33

Re: SceneNode::getCreator vs Camera::getSceneManager

Post by so0os »

SceneNodes can be detached and moved acress several scene managers along with Entities. Cameras are not meant to do that.
Sos Sosowski :)
http://www.sos.gd
User avatar
nec
Gremlin
Posts: 175
Joined: Fri Sep 29, 2006 5:56 pm
Location: Rosny Sous Bois, France
x 11

Re: SceneNode::getCreator vs Camera::getSceneManager

Post by nec »

ok i didn't know that, so it's logic.