Dopesheet-Timeline: Somewhat hacky version-patching code to switch old timelines...
authorJoshua Leung <aligorith@gmail.com>
Fri, 20 Apr 2018 14:12:36 +0000 (16:12 +0200)
committerJoshua Leung <aligorith@gmail.com>
Fri, 20 Apr 2018 16:54:41 +0000 (18:54 +0200)
commit7be36661c2144936e349433c637835dac288a641
treee26401af8b1d23306d93ec2a367802bdb23679ac
parent60e2c60be711a892459953b8788494fe869164e8
Dopesheet-Timeline: Somewhat hacky version-patching code to switch old timelines to dopesheet-timelines

After a lot of failed attempts and head banging working trying to find a way to reuse
the standard editor-switching/creation code, I've just hacked in a temporary solution
here so that users can load old files and see the old timeline instances replaced
with Dopesheet-Timelines.

Note: This is not nice code, and copies a lot of the standard initialisation code,
but it works well enough for now. We can revisit this later when the other mode changes
come along.
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenloader/intern/versioning_280.c