mirror of
https://github.com/panda3d/panda3d.git
synced 2026-04-20 13:42:35 -05:00
report more detail on _cat.info() error
This commit is contained in:
@@ -44,7 +44,10 @@ init() {
|
||||
template<class GetCategory>
|
||||
INLINE NotifyCategory *NotifyCategoryProxy<GetCategory>::
|
||||
get_unsafe_ptr() {
|
||||
nassertr(_ptr != (NotifyCategory *)NULL, init());
|
||||
nassertd(_ptr != (NotifyCategory *)NULL) {
|
||||
init();
|
||||
nout << "Uninitialized notify proxy: " << _ptr->get_fullname() << "\n";
|
||||
}
|
||||
return _ptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user