It should have gotten this function a while ago. Seems something went wrong during the RefData change. I noticed that you are also looking up the SceneNode in insertMesh instead of using the scene node from the RefData. That was really the whole point of the RefData changes. Please adjust insertMesh accordingly.Well then we will need to add a Ogre::SceneNode* getBaseNode() function to refdata.
Very close. I have two minor corrections.EDIT: Made some changes, if they are correct I will go ahead with changing the rest of the classes.
insertObjectRendering: do not always pass true for enabled. Get the enabled/disabled state from the RefData.
insertObject: You do not need to check for the existence of a base node. Please check for the existence of a mesh instead (see insertObjectRendering). No physical shape -> no physics.
I notice that for the special case of the lockpick no base node implies no mesh. But that may change at some point and it is certainly not true for all the classes. Better take the more robust and more explicit approach.