From 5374865523faf253a524a002ebcbefe05172fd8d Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 20 Apr 2018 17:17:10 +0200 Subject: Dopesheet-Timeline: Removal of Timeline Editor! This commit removes all references to the old timeline editor. Unfortuantely, the removal of the Timeline spacetype defining functions has ended up breaking the version patching code I'd been working on earlier (as now, the editor gets marked as "unknown/info" before we get a chance to patch it!) --- source/blender/python/intern/bpy_rna_callback.c | 1 - source/blender/python/simple_enum_gen.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/intern/bpy_rna_callback.c b/source/blender/python/intern/bpy_rna_callback.c index 0e2efe152c3..6b8684c7acd 100644 --- a/source/blender/python/intern/bpy_rna_callback.c +++ b/source/blender/python/intern/bpy_rna_callback.c @@ -168,7 +168,6 @@ static eSpace_Type rna_Space_refine_reverse(StructRNA *srna) if (srna == &RNA_SpaceTextEditor) return SPACE_TEXT; if (srna == &RNA_SpaceDopeSheetEditor) return SPACE_ACTION; if (srna == &RNA_SpaceNLA) return SPACE_NLA; - if (srna == &RNA_SpaceTimeline) return SPACE_TIME; if (srna == &RNA_SpaceNodeEditor) return SPACE_NODE; if (srna == &RNA_SpaceConsole) return SPACE_CONSOLE; if (srna == &RNA_SpaceUserPreferences) return SPACE_USERPREF; diff --git a/source/blender/python/simple_enum_gen.py b/source/blender/python/simple_enum_gen.py index 7e54f3dbb41..eef19b6c5f1 100644 --- a/source/blender/python/simple_enum_gen.py +++ b/source/blender/python/simple_enum_gen.py @@ -34,7 +34,7 @@ defs = """ SPACE_ACTION, SPACE_NLA, SPACE_SCRIPT, #Deprecated - SPACE_TIME, + SPACE_TIME, #Deprecated SPACE_NODE, SPACEICONMAX """ -- cgit v1.2.3