Rename any instance of scene layer or render layer in code with view layer
[blender.git] / source / blender / editors / render / render_ops.c
index f94d94178a472ad502003682ac7af48c84cbd83b..bd75c6879e102d4c2b8530c3129db554b00f7bfc 100644 (file)
  *  \ingroup edrend
  */
 
-
 #include <stdlib.h>
 
-
-#include "WM_api.h"
+#include "BLI_utildefines.h"
 
 #include "ED_render.h"
 
-#include "render_intern.h" // own include
+#include "WM_api.h"
 
-#if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
-#include "quicktime_export.h"
-#endif
+#include "render_intern.h" // own include
 
 /***************************** render ***********************************/
 
@@ -51,6 +47,7 @@ void ED_operatortypes_render(void)
        WM_operatortype_append(OBJECT_OT_material_slot_select);
        WM_operatortype_append(OBJECT_OT_material_slot_deselect);
        WM_operatortype_append(OBJECT_OT_material_slot_copy);
+       WM_operatortype_append(OBJECT_OT_material_slot_move);
 
        WM_operatortype_append(MATERIAL_OT_new);
        WM_operatortype_append(TEXTURE_OT_new);
@@ -59,9 +56,13 @@ void ED_operatortypes_render(void)
        WM_operatortype_append(MATERIAL_OT_copy);
        WM_operatortype_append(MATERIAL_OT_paste);
 
-       WM_operatortype_append(SCENE_OT_render_layer_add);
-       WM_operatortype_append(SCENE_OT_render_layer_remove);
+       WM_operatortype_append(SCENE_OT_view_layer_add);
+       WM_operatortype_append(SCENE_OT_view_layer_remove);
+
+       WM_operatortype_append(SCENE_OT_render_view_add);
+       WM_operatortype_append(SCENE_OT_render_view_remove);
 
+#ifdef WITH_FREESTYLE
        WM_operatortype_append(SCENE_OT_freestyle_module_add);
        WM_operatortype_append(SCENE_OT_freestyle_module_remove);
        WM_operatortype_append(SCENE_OT_freestyle_module_move);
@@ -77,11 +78,10 @@ void ED_operatortypes_render(void)
        WM_operatortype_append(SCENE_OT_freestyle_geometry_modifier_add);
        WM_operatortype_append(SCENE_OT_freestyle_modifier_remove);
        WM_operatortype_append(SCENE_OT_freestyle_modifier_move);
-
-#if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
-       WM_operatortype_append(SCENE_OT_render_data_set_quicktime_codec);
+       WM_operatortype_append(SCENE_OT_freestyle_modifier_copy);
+       WM_operatortype_append(SCENE_OT_freestyle_stroke_material_create);
 #endif
-       
+
        WM_operatortype_append(TEXTURE_OT_slot_copy);
        WM_operatortype_append(TEXTURE_OT_slot_paste);
        WM_operatortype_append(TEXTURE_OT_slot_move);
@@ -93,6 +93,7 @@ void ED_operatortypes_render(void)
        WM_operatortype_append(RENDER_OT_view_show);
        WM_operatortype_append(RENDER_OT_render);
        WM_operatortype_append(RENDER_OT_view_cancel);
+       WM_operatortype_append(RENDER_OT_shutter_curve_preset);
 
        /* render_opengl.c */
        WM_operatortype_append(RENDER_OT_opengl);