Switch to using JME's serialization mechanism, which promises a degree
of version safety (meaning we won't necessarily have to recompile all the models when we add a new field) and should help avoid the frequent binary changes to which Java serialization is prone. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@71 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -624,7 +624,7 @@ public class ModelViewer extends JmeCanvasApp
|
||||
throws IOException
|
||||
{
|
||||
_status.setText(_msg.get("m.loading_model", file));
|
||||
setModel(Model.readFromFile(file, false), file);
|
||||
setModel(Model.readFromFile(file), file);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user