mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fixes
This commit is contained in:
parent
7eb27fc2ec
commit
6608efefe5
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user