Blender
V3.3
|
#include "BLI_compiler_attrs.h"
Go to the source code of this file.
Functions | |
struct Scene * | ED_scene_add (struct Main *bmain, struct bContext *C, struct wmWindow *win, enum eSceneCopyMethod method) ATTR_NONNULL() |
struct Scene * | ED_scene_sequencer_add (struct Main *bmain, struct bContext *C, enum eSceneCopyMethod method, const bool assign_strip) |
bool | ED_scene_delete (struct bContext *C, struct Main *bmain, struct Scene *scene) ATTR_NONNULL() |
void | ED_scene_change_update (struct Main *bmain, struct Scene *scene, struct ViewLayer *layer) ATTR_NONNULL() |
bool | ED_scene_view_layer_delete (struct Main *bmain, struct Scene *scene, struct ViewLayer *layer, struct ReportList *reports) ATTR_NONNULL(1 |
bool void | ED_operatortypes_scene (void) |
Definition at line 427 of file scene_edit.c.
References SCENE_OT_delete(), SCENE_OT_new(), SCENE_OT_new_sequencer(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
struct Scene* ED_scene_add | ( | struct Main * | bmain, |
struct bContext * | C, | ||
struct wmWindow * | win, | ||
enum eSceneCopyMethod | method | ||
) |
Definition at line 116 of file scene_edit.c.
References C, NC_SCENE, ND_SCENEBROWSE, scene_add(), WM_event_add_notifier(), WM_window_get_active_scene(), and WM_window_set_active_scene().
Referenced by scene_new_exec().
Depsgraph updates after scene becomes active in a window.
Definition at line 160 of file scene_edit.c.
References BKE_scene_ensure_depsgraph(), BKE_scene_set_background(), DEG_graph_relations_update(), DEG_tag_on_visible_update(), depsgraph, ED_render_engine_changed(), ED_update_for_newframe(), and scene.
Referenced by WM_window_set_active_scene().
Definition at line 128 of file scene_edit.c.
References BKE_id_delete(), C, ListBase::first, Scene::id, LISTBASE_FOREACH, ID::next, NULL, ID::prev, scene, wmWindowManager::windows, Main::wm, WM_JOB_TYPE_ANY, WM_jobs_kill_type(), and WM_window_set_active_scene().
Referenced by scene_delete_exec(), scene_fn(), and sequencer_delete_strip_data().
struct Scene* ED_scene_sequencer_add | ( | Main * | bmain, |
bContext * | C, | ||
eSceneCopyMethod | method, | ||
const bool | assign_strip | ||
) |
Special mode for adding a scene assigned to sequencer strip.
Add a new scene in the sequence editor.
Definition at line 70 of file scene_edit.c.
References Editing::act_seq, C, CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Scene::ed, Scene::id, ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, NC_SCENE, ND_SCENEBROWSE, ND_SEQUENCER, NULL, SCE_COPY_NEW, Sequence::scene, scene_add(), SEQ_relations_invalidate_cache_raw(), and WM_event_add_notifier().
Referenced by scene_new_sequencer_exec(), and sequencer_add_scene_strip_new_exec().
bool ED_scene_view_layer_delete | ( | struct Main * | bmain, |
struct Scene * | scene, | ||
struct ViewLayer * | layer, | ||
struct ReportList * | reports | ||
) |
Referenced by view_layer_remove_exec().