darktohka / libtoontown

libotp and libtoontown built for the latest Panda3D 1.11.0 engine, supporting both Python 2 and Python 3.
19 stars 8 forks source link

Set _nametag2d and _nametag3d in NametagGroup as pointers #5

Closed LittleToonCat closed 3 years ago

LittleToonCat commented 3 years ago

This PR resolves issue #4 where getNametag2d and getNametag3d calls would deconstruct the two variables when being garbage collected by Python.

darktohka commented 3 years ago

Thank you so much!