diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-04 04:08:33 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-04 04:20:04 +0300 |
commit | db63945c360d2df47a9dae6f468630f49a98a856 (patch) | |
tree | 8f76b05185059da058069a7d77d5ff8bf6cc2223 /source/blender/editors/space_view3d | |
parent | dc57ab8941894a2902bf46edc2951a5968be3edc (diff) |
Docs: add doc-string for ED_view3d_viewcontext_init_object
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 03862c6bdff..495d91a80a1 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -126,6 +126,7 @@ void ED_view3d_viewcontext_init(bContext *C, ViewContext *vc, Depsgraph *depsgra void ED_view3d_viewcontext_init_object(ViewContext *vc, Object *obact) { vc->obact = obact; + /* See public doc-string for rationale on checking the existing values first. */ if (vc->obedit) { BLI_assert(BKE_object_is_in_editmode(obact)); vc->obedit = obact; |