|
Blender V4.3
|
Go to the source code of this file.
Functions | |
Generic Gizmo Utilities. | |
| bool | ED_gizmo_poll_or_unlink_delayed_from_operator (const bContext *C, wmGizmoGroupType *gzgt, const char *idname) |
| bool | ED_gizmo_poll_or_unlink_delayed_from_tool_ex (const bContext *C, wmGizmoGroupType *gzgt, const char *gzgt_idname) |
| bool | ED_gizmo_poll_or_unlink_delayed_from_tool (const bContext *C, wmGizmoGroupType *gzgt) |
| bool ED_gizmo_poll_or_unlink_delayed_from_operator | ( | const bContext * | C, |
| wmGizmoGroupType * | gzgt, | ||
| const char * | idname ) |
Wrapper function (operator name can't be guessed).
Definition at line 25 of file gizmo_utils.cc.
References CTX_wm_manager(), wmOperatorType::idname, ListBase::last, wmWindowManager::operators, STREQ, wmOperator::type, WM_gizmo_group_type_unlink_delayed_ptr(), and WM_operator_last_redo().
Referenced by gizmo_mesh_bisect_poll(), gizmo_mesh_placement_poll(), and gizmo_mesh_spin_redo_poll().
| bool ED_gizmo_poll_or_unlink_delayed_from_tool | ( | const bContext * | C, |
| wmGizmoGroupType * | gzgt ) |
Use this as poll function directly for: wmGizmoGroupType.poll
Definition at line 61 of file gizmo_utils.cc.
References ED_gizmo_poll_or_unlink_delayed_from_tool_ex(), and wmGizmoGroupType::idname.
Referenced by gizmo2d_generic_poll(), MESH_GGT_spin(), VIEW3D_GGT_mesh_preselect_edgering(), VIEW3D_GGT_mesh_preselect_elem(), VIEW3D_GGT_placement(), VIEW3D_GGT_ruler(), VIEW3D_GGT_xform_extrude(), WIDGETGROUP_gizmo_poll_tool(), WIDGETGROUP_tool_generic_poll(), WIDGETGROUP_xform_cage_poll(), and WIDGETGROUP_xform_shear_poll().
| bool ED_gizmo_poll_or_unlink_delayed_from_tool_ex | ( | const bContext * | C, |
| wmGizmoGroupType * | gzgt, | ||
| const char * | gzgt_idname ) |
Definition at line 44 of file gizmo_utils.cc.
References CTX_wm_area(), bToolRef_Runtime::gizmo_group, wmGizmoGroupType::gzmap_params, STREQ, wmGizmoGroupType::users, WM_gizmo_group_type_unlink_delayed_ptr(), WM_gizmo_group_unlink_delayed_ptr_from_space(), WM_gizmomaptype_ensure(), and WM_toolsystem_runtime_from_context().
Referenced by ED_gizmo_poll_or_unlink_delayed_from_tool(), and gizmo_mesh_spin_redo_poll().