Files
test/source/blender
Julian Eisel 9db492de6d Cleanup: Get rid of ScrArea.butspacetype syncing with ScrArea.spacetype
The only real reason we need `butspacetype` is while switching areas, where we
need to delay the actual switch to the RNA _update callback since only there we
can access context.
So instead of trying to sync it with `spacetype`, only set while needed and
unset it afterwards (as in set to `SPACE_EMPTY`).

This should also allow us to re-use `butspacetype` in versioning code when
trying to read removed editors. It'll store the space type value of the removed
editor which we can then use on versioning.

For backwards compatibility, we store `butspacetype` with the value of
`spacetype`.
2018-04-22 23:23:20 +02:00
..
2018-04-21 20:42:27 +02:00
2018-04-16 17:56:50 +02:00
2018-04-22 12:58:11 +02:00
2018-04-22 08:57:56 +02:00
2018-04-21 20:42:27 +02:00
2018-04-22 08:45:52 +02:00
2018-04-22 08:45:52 +02:00
2018-04-22 08:45:52 +02:00