From 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 00:55:11 +1100 Subject: Cleanup: move public doc-strings into headers for 'editors' Ref T92709 --- source/blender/editors/object/object_modes.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/blender/editors/object/object_modes.c') diff --git a/source/blender/editors/object/object_modes.c b/source/blender/editors/object/object_modes.c index 0c1b394a916..d3f72b91366 100644 --- a/source/blender/editors/object/object_modes.c +++ b/source/blender/editors/object/object_modes.c @@ -111,10 +111,6 @@ static const char *object_mode_op_string(eObjectMode mode) return NULL; } -/** - * Checks the mode to be set is compatible with the object - * should be made into a generic function - */ bool ED_object_mode_compat_test(const Object *ob, eObjectMode mode) { if (mode == OB_MODE_OBJECT) { @@ -162,11 +158,6 @@ bool ED_object_mode_compat_test(const Object *ob, eObjectMode mode) return false; } -/** - * Sets the mode to a compatible state (use before entering the mode). - * - * This is so each mode's exec function can call - */ bool ED_object_mode_compat_set(bContext *C, Object *ob, eObjectMode mode, ReportList *reports) { bool ok; -- cgit v1.2.3