Viewport Destructor


Excuse my possible ignorance but is there a reason why the destructor for Viewport is not virtual.
Seems to make inheriting from it quite painful.


Viewport derives from Component, so it inherits the virtuality (is that a real word?) by default. Actually putting the “virtual” keyword in there is optional.

Ah cool,

I thought there must be a reason, just didn’t know what it was :wink:

Thanks for the fast response!