[Bf-blender-cvs] [acc15fd7] soc-2016-layer_manager: Declare Scene.base as deprecated!

Julian Eisel noreply at git.blender.org
Thu Aug 11 17:38:10 CEST 2016


Commit: acc15fd78f4e6c82a9a77af0d28855cdce8c39f7
Author: Julian Eisel
Date:   Thu Aug 11 17:36:53 2016 +0200
Branches: soc-2016-layer_manager
https://developer.blender.org/rBacc15fd78f4e6c82a9a77af0d28855cdce8c39f7

Declare Scene.base as deprecated!

It's not accessed anymore now.

===================================================================

M	source/blender/makesdna/DNA_scene_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index aabbb86..caa2434 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1594,7 +1594,7 @@ typedef struct Scene {
 	
 	struct Scene *set;
 
-	ListBase base;
+	ListBase base DNA_DEPRECATED; /* old base list, now stored in object_layers below */
 	struct Base *basact;		/* active base */
 	struct Object *obedit;		/* name replaces old G.obedit */




More information about the Bf-blender-cvs mailing list