Is there a way to disable certain Interrogate features?

Hello there!

I was testing the latest Panda3D build, but I have a problem. My code has NodePaths with the “parent” attribute all over the place. Which means, whenever I set the “parent” attribute, this gets thrown out:

Is there a way to disable MAKE_PROPERTY’s set function?

The best way would just be to rename your variables, but if you want to just remove the “parent” property of NodePath, you can utter this dark magic incantation:

del NodePath.DtoolClassDict['parent']

This will remove the ‘parent’ attribute from all NodePath instances (so you should only need to call it once, somewhere at initialisation).

Sweet! Thanks a lot, sorcerer!