Merged changes in the trunk up to revision 52340.
[blender.git] / source / blender / makesrna / intern / rna_space.c
index caa81dafa0e0b19df9410e62981346275e70fac4..2aa907b72f2725d5c9cb645ebf4ebabeea7e879f 100644 (file)
@@ -1914,6 +1914,7 @@ static void rna_def_space_buttons(BlenderRNA *brna)
        static EnumPropertyItem buttons_context_items[] = {
                {BCONTEXT_SCENE, "SCENE", ICON_SCENE, "Scene", "Scene"},
                {BCONTEXT_RENDER, "RENDER", ICON_SCENE_DATA, "Render", "Render"},
        static EnumPropertyItem buttons_context_items[] = {
                {BCONTEXT_SCENE, "SCENE", ICON_SCENE, "Scene", "Scene"},
                {BCONTEXT_RENDER, "RENDER", ICON_SCENE_DATA, "Render", "Render"},
+               {BCONTEXT_RENDER_LAYER, "RENDER_LAYER", ICON_RENDERLAYERS, "Render Layers", "Render Layers"},
                {BCONTEXT_WORLD, "WORLD", ICON_WORLD, "World", "World"},
                {BCONTEXT_OBJECT, "OBJECT", ICON_OBJECT_DATA, "Object", "Object"},
                {BCONTEXT_CONSTRAINT, "CONSTRAINT", ICON_CONSTRAINT, "Constraints", "Constraints"},
                {BCONTEXT_WORLD, "WORLD", ICON_WORLD, "World", "World"},
                {BCONTEXT_OBJECT, "OBJECT", ICON_OBJECT_DATA, "Object", "Object"},
                {BCONTEXT_CONSTRAINT, "CONSTRAINT", ICON_CONSTRAINT, "Constraints", "Constraints"},