MouseWatcherBase hide_regions() access violation?

Bug #1694353 reported by ponyboy837
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Invalid
Undecided
Unassigned

Bug Description

This access violation (https://gyazo.com/8b26f953fcd1d576d44f35e24ac0a8ae) happens when trying to hide any visible regions by the MouseWatcher. (Which is only called to set _show_regions to false anyways, Which is done to skip a weirdly failing assert { nassertv(_vizzes.size() == _regions.size()); } which is done in the add_region function.

If you need to test this for yourself. The project this issue is found in is public and is located at https://github.com/theclashingfritz/libotp.

Revision history for this message
rdb (rdb) wrote :

This does not appear to be a bug in Panda, but a bug in the referenced libotp code. MouseWatcherRegion is a reference counted object, so it should be stored in a PT() in the ClickablePopup class. It should also not be explicitly deleted, since panda will do that for you.

Changed in panda3d:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.