Strange copyTo behavior

Hello everyone. I’ve come across some strange behavior when I use the copyTo command on a nodepath.

Relevant code:

self.copynode = map.mapcentroid.copyTo(render)

I then move the copynode to a new location. The end result is that I have two objects visible in the world. I’ve tried hiding the original (mapcentroid) and hiding the copy but I still have an additional model in the world. I don’t seem to be able to get a handle on this extra visible geometry so I can’t delete it.

To be clear, if I don’t hide the original or copy, there are three visible objects in the world.

Maybe you accidentally did it twice ?
Try adding a print statement to track it down.