Browse Source

*** empty log message ***

Josh Yelon 20 years ago
parent
commit
02c9a34219

+ 2 - 2
pandatool/src/maxeggimport/maxEggImport.cxx

@@ -193,8 +193,8 @@ int MaxEggImporter::DoImport(const TCHAR *name,ImpInterface *ii,Interface *i, BO
   std::ostringstream log;
   Notify::ptr()->set_ostream_ptr(&log, false);
   bool ok = MaxLoadEggFile(name, _merge ? true:false, _importmodel ? true:false, _importanim ? true:false);
-  const char *txt = log.str().c_str();
-  if (txt[0]) MessageBox(NULL, txt, "Panda3D Importer", MB_OK);
+  string txt = log.str();
+  if (txt != "") MessageBox(NULL, txt.c_str(), "Panda3D Importer", MB_OK);
   else {
     if (!ok) MessageBox(NULL, "Import Failed, unknown reason\n", "Panda3D Importer", MB_OK);
   }

+ 0 - 1
pandatool/src/maxeggimport/maxEggLoader.cxx

@@ -68,7 +68,6 @@ public:
   MaxEggJoint *MakeJoint(EggGroup *joint, EggGroup *context);
   MaxEggTex   *GetTex(const string &fn);
   void         CreateSkinModifier(MaxEggMesh *M);
-  Point3       ConvertCoordSys(LVector3d vec);
 
   typedef phash_map<EggVertexPool *, MaxEggMesh *> MeshTable;
   typedef second_of_pair_iterator<MeshTable::const_iterator> MeshIterator;