Custom entity life

Hi,
I have created custom entity and checked calls to constructor and destructor.
If I select my custom entity in drawing a default constructor and destructor one after another are called. Does it mean my custom entity are created and destroyed each time?

I save std::vector variable in my custom entity, but I do not save data in it to drawing, but data do not disappear after calls to constructor and destructor. How all it works and why default constructor and destructor are called each time I select my custom entity?

This discussion has been closed.

Howdy, Stranger!

It looks like you're new here. Click one of the buttons on the top bar to get involved!