mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
prevent crash when finalizing lightAttrib
This commit is contained in:
parent
ece078a5cd
commit
3cb7a6598c
@ -333,6 +333,9 @@ resolve() {
|
||||
new_refs.push_back(*oi);
|
||||
}
|
||||
_created_objs_by_pointer.erase(object_ptr);
|
||||
|
||||
// We can't finalize the old pointer any more either.
|
||||
_finalize_list.erase(object_ptr);
|
||||
}
|
||||
created_obj._ptr = new_ptr;
|
||||
created_obj._change_this = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user