|
Blender V5.3
|
#include "DNA_object_enums.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_time.hh"#include "BLI_utildefines.hh"#include "BKE_context.hh"#include "BKE_idtype.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_library.hh"#include "BKE_modifier.hh"#include "BKE_object.hh"#include "BKE_paint.hh"#include "BKE_paint_types.hh"#include "BKE_report.hh"#include "BLI_math_vector_c.hh"#include "BLI_string.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "ED_armature.hh"#include "ED_gpencil_legacy.hh"#include "ED_outliner.hh"#include "ED_paint.hh"#include "ED_physics.hh"#include "ED_sculpt.hh"#include "ED_undo.hh"#include "ED_view3d.hh"#include "WM_toolsystem.hh"#include "ED_object.hh"#include "object_intern.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ed |
| namespace | blender::ed::object |
Functions | |
High Level Mode Operations | |
| static const char * | blender::ed::object::object_mode_op_string (eObjectMode mode) |
| bool | blender::ed::object::mode_compat_test (const Object *ob, eObjectMode mode) |
| bool | blender::ed::object::mode_compat_set (bContext *C, Object *ob, eObjectMode mode, ReportList *reports) |
Generic Mode Enter/Exit | |
Supports exiting a mode without it being in the current context. This could be done for entering modes too if it's needed. | |
| bool | blender::ed::object::mode_set_ex (bContext *C, eObjectMode mode, bool use_undo, ReportList *reports) |
| bool | blender::ed::object::mode_set (bContext *C, eObjectMode mode) |
| static bool | blender::ed::object::ed_object_mode_generic_exit_ex (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob, bool only_test) |
| static void | blender::ed::object::ed_object_posemode_set_for_weight_paint_ex (bContext *C, Main *bmain, Object *ob_arm, const bool is_mode_set) |
| void | blender::ed::object::posemode_set_for_weight_paint (bContext *C, Main *bmain, Object *ob, bool is_mode_set) |
| void | blender::ed::object::mode_generic_exit (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob) |
| bool | blender::ed::object::mode_generic_has_data (Depsgraph *depsgraph, const Object *ob) |
General utils to handle mode switching, actual mode switching logic is per-object type.
Definition in file object_modes.cc.