<div dir="ltr"><div><div><div><div><div><div><div>I don't have a test case yet, but I guess I will have to make one.<br>Have any of you heard of a problem like this before?<br><br>I created a QGraphicsObject-derived class.<br>Added an instance to the scene.<br></div>Before adding it, I can print it to stdout and see its type/address:<br><br><origame.gui.actor_2d_view.actor2d_view.PartWire2dItem object at 0x00000000062C48B8><br><br></div>But after I add it to the scene, this particular object "goes away" and in its place, I find this other item which I never added to the scene:<br><br><PyQt5.QtMultimediaWidgets.QGraphicsVideoItem object at 0x00000000062CF9D8><br><br></div>The item still paints itself as a PartWire2dItem should.<br><br></div>Why would both the address and the type change as I add it to the scene?<br></div>Is there some sort of class registration I need to do in order to my objects properly? <br></div>Or could this be a side-effect of perhaps forgetting to implement one of the pure virtual functions? <br><br></div>Sorry if this is not enough info for you to  figure things out yet, I will post a testcase when I have one....<br><div><div><br></div></div></div>