diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 16:55:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 17:14:10 +0300 |
commit | 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 (patch) | |
tree | 0214b7c5146300d41b7bcbe99f87c92599608e7f /source/blender/editors/object/object_edit.c | |
parent | 8f1997975dc60bc1c18992458603ecd58dfded6d (diff) |
Cleanup: move public doc-strings into headers for 'editors'
Ref T92709
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r-- | source/blender/editors/object/object_edit.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index 78440f52160..f06744068d5 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -134,8 +134,6 @@ Object *ED_object_context(const bContext *C) return CTX_data_pointer_get_type(C, "object", &RNA_Object).data; } -/* Find the correct active object per context. - * NOTE: context can be NULL when called from a enum with #PROP_ENUM_NO_CONTEXT. */ Object *ED_object_active_context(const bContext *C) { Object *ob = NULL; @@ -148,14 +146,6 @@ Object *ED_object_active_context(const bContext *C) return ob; } -/** - * Return an array of objects: - * - When in the property space, return the pinned or active object. - * - When in edit-mode/pose-mode, return an array of objects in the mode. - * - Otherwise return selected objects, - * the callers \a filter_fn needs to check of they are editable - * (assuming they need to be modified). - */ Object **ED_object_array_in_mode_or_selected(bContext *C, bool (*filter_fn)(const Object *ob, void *user_data), void *filter_user_data, @@ -669,10 +659,6 @@ bool ED_object_editmode_load(Main *bmain, Object *obedit) return ED_object_editmode_load_free_ex(bmain, obedit, true, false); } -/** - * \param flag: - * - If #EM_FREEDATA isn't in the flag, use ED_object_editmode_load directly. - */ bool ED_object_editmode_exit_ex(Main *bmain, Scene *scene, Object *obedit, int flag) { const bool free_data = (flag & EM_FREEDATA) != 0; @@ -723,11 +709,6 @@ bool ED_object_editmode_exit(bContext *C, int flag) return ED_object_editmode_exit_ex(bmain, scene, obedit, flag); } -/** - * Support freeing edit-mode data without flushing it back to the object. - * - * \return true if data was freed. - */ bool ED_object_editmode_free_ex(Main *bmain, Object *obedit) { return ED_object_editmode_load_free_ex(bmain, obedit, false, true); @@ -1161,11 +1142,6 @@ static bool has_pose_motion_paths(Object *ob) return ob->pose && (ob->pose->avs.path_bakeflag & MOTIONPATH_BAKE_HAS_PATHS) != 0; } -/* For the objects with animation: update paths for those that have got them - * This should selectively update paths that exist... - * - * To be called from various tools that do incremental updates - */ void ED_objects_recalculate_paths(bContext *C, Scene *scene, eObjectPathCalcRange range, @@ -1428,7 +1404,6 @@ static void object_clear_mpath(Object *ob) } } -/* Clear motion paths for all objects */ void ED_objects_clear_paths(bContext *C, bool only_selected) { if (only_selected) { |