diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-06 14:02:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-06 14:03:35 +0300 |
commit | 8f45e1156f13ee6d3dc9393a2a20a901503a9762 (patch) | |
tree | a76abd7fdcdccac382a62f1e9d39778aeee7986a /source/blender/blenkernel | |
parent | 2c5efd5b3fd71b9cc4fc25bfa1d664cf7ec65518 (diff) |
Docs: comment BKE_scene_set_background
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index e2687246820..b518ae4b4a9 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -756,6 +756,11 @@ Base *BKE_scene_base_find(Scene *scene, Object *ob) return BLI_findptr(&scene->base, ob, offsetof(Base, object)); } +/** + * Sets the active scene, mainly used when running in background mode (``--scene`` command line argument). + * This is also called to set the scene directly, bypassing windowing code. + * Otherwise #ED_screen_set_scene is used when changing scenes by the user. + */ void BKE_scene_set_background(Main *bmain, Scene *scene) { Scene *sce; |