Nixed pointless method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4132 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -434,9 +434,6 @@ public class SceneDirector extends BasicDirector
|
|||||||
// clear out our scene id info
|
// clear out our scene id info
|
||||||
_sceneId = -1;
|
_sceneId = -1;
|
||||||
|
|
||||||
// release the old scene model
|
|
||||||
releaseSceneModel(_model);
|
|
||||||
|
|
||||||
// clear out our references
|
// clear out our references
|
||||||
_model = null;
|
_model = null;
|
||||||
_scene = null;
|
_scene = null;
|
||||||
@@ -471,19 +468,6 @@ public class SceneDirector extends BasicDirector
|
|||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Unloads a scene model that was previously loaded via {@link
|
|
||||||
* #loadSceneModel}. The model will probably continue to live in the
|
|
||||||
* cache for a while in case we quickly return to it.
|
|
||||||
*/
|
|
||||||
protected void releaseSceneModel (SceneModel model)
|
|
||||||
{
|
|
||||||
// we're cool if we're called with null
|
|
||||||
if (model == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// documentation inherited from interface
|
// documentation inherited from interface
|
||||||
public void clientDidLogoff (Client client)
|
public void clientDidLogoff (Client client)
|
||||||
{
|
{
|
||||||
@@ -493,7 +477,7 @@ public class SceneDirector extends BasicDirector
|
|||||||
clearScene();
|
clearScene();
|
||||||
_scache.clear();
|
_scache.clear();
|
||||||
_pendingSceneId = -1;
|
_pendingSceneId = -1;
|
||||||
releaseSceneModel(_pendingModel);
|
_pendingModel = null;
|
||||||
_previousSceneId = -1;
|
_previousSceneId = -1;
|
||||||
_sservice = null;
|
_sservice = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user