Currently when the scene wants to access the (main, only) view, the way it is done is stupid and inefficient: it calls views() and parse that list, trying to dynamic_cast().
Since this is a needed in a lot of places, it would be better to use a pointer instead.
Currently when the scene wants to access the (main, only) view, the way it is done is stupid and inefficient: it calls
views()
and parse that list, trying todynamic_cast()
.Since this is a needed in a lot of places, it would be better to use a pointer instead.