This commit is contained in:
Darren Ranalli 2002-04-15 17:38:44 +00:00
parent 7eb27fc2ec
commit 6608efefe5
2 changed files with 4 additions and 4 deletions

View File

@ -320,9 +320,9 @@ DirectD::read_command(string& cmd) {
cerr<<"read_command "<<cmd<<endl;
}
f.close();
catch (...) {
} catch (...) {
// This could be bad, I suppose. But we're going to throw out
// and exceptions that happen during the above read.
// any exceptions that happen during the above read.
cerr<<"DirectD::read_command() exception."<<endl;
}
}

View File

@ -431,7 +431,7 @@ class SelectionRay:
self.cqIndex = i
break
# Is it a named node?, If so, see if it has a name
elif issubclass(node.__class__, NamedNode):
elif issubclass(node.__class__, PandaNode):
name = node.getName()
if name in self.unpickable:
pass
@ -519,7 +519,7 @@ class SelectionRay:
self.cqIndex = i
break
# Is it a named node?, If so, see if it has a name
elif issubclass(node.__class__, NamedNode):
elif issubclass(node.__class__, PandaNode):
name = node.getName()
if name in self.unpickable:
pass