|
Blender V5.0
|
#include "BKE_grease_pencil.hh"#include "BKE_attribute_filter.hh"#include "BLI_index_mask_fwd.hh"#include "BLI_math_matrix_types.hh"#include "BLI_set.hh"#include "BLI_task.hh"#include "ED_keyframes_edit.hh"#include "ED_select_utils.hh"#include "WM_api.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::bke |
| namespace | blender::ed |
| namespace | blender::ed::greasepencil |
| namespace | blender::ed::greasepencil::image_render |
| namespace | blender::ed::greasepencil::trim |
Typedefs | |
| using | blender::ed::greasepencil::SelectionUpdateFunc |
| anonymous enum |
| Enumerator | |
|---|---|
| LAYER_REORDER_ABOVE | |
| LAYER_REORDER_BELOW | |
Definition at line 52 of file ED_grease_pencil.hh.
| void ED_filltool_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 2074 of file grease_pencil_draw_ops.cc.
References blender::ed::sculpt_paint::Cancel, blender::ed::sculpt_paint::Confirm, blender::ed::sculpt_paint::ExtensionCollide, blender::ed::sculpt_paint::ExtensionDrag, blender::ed::sculpt_paint::ExtensionLengthen, blender::ed::sculpt_paint::ExtensionModeToggle, blender::ed::sculpt_paint::ExtensionShorten, blender::ed::sculpt_paint::Invert, wmKeyMap::modal_items, blender::ed::sculpt_paint::Precision, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by ED_keymap_grease_pencil().
| bool ED_grease_pencil_any_vertex_mask_selection | ( | const ToolSettings * | tool_settings | ) |
True if any vertex mask selection is used.
Definition at line 1124 of file grease_pencil_select.cc.
References GP_VERTEX_MASK_SELECTMODE_POINT, GP_VERTEX_MASK_SELECTMODE_SEGMENT, GP_VERTEX_MASK_SELECTMODE_STROKE, and ToolSettings::gpencil_selectmode_vertex.
Referenced by blender::ed::greasepencil::grease_pencil_vertex_paint_brightness_contrast_exec(), blender::ed::greasepencil::grease_pencil_vertex_paint_hsv_exec(), blender::ed::greasepencil::grease_pencil_vertex_paint_invert_exec(), blender::ed::greasepencil::grease_pencil_vertex_paint_levels_exec(), blender::ed::greasepencil::grease_pencil_vertex_paint_reset_exec(), blender::ed::greasepencil::grease_pencil_vertex_paint_set_exec(), blender::ed::sculpt_paint::greasepencil::VertexAverageOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexBlurOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexPaintOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexReplaceOperation::on_stroke_extended(), and blender::ed::sculpt_paint::greasepencil::VertexSmearOperation::on_stroke_extended().
| bool ED_grease_pencil_edit_segment_selection_enabled | ( | const ToolSettings * | tool_settings | ) |
True if segment selection is enabled.
Definition at line 1135 of file grease_pencil_select.cc.
References GP_SELECTMODE_SEGMENT, and ToolSettings::gpencil_selectmode_edit.
Referenced by ED_grease_pencil_segment_selection_enabled().
| blender::bke::AttrDomain ED_grease_pencil_edit_selection_domain_get | ( | const ToolSettings * | tool_settings | ) |
Get the selection mode for Grease Pencil selection operators: point, stroke, segment.
Definition at line 1069 of file grease_pencil_select.cc.
References blender::bke::Curve, GP_SELECTMODE_POINT, GP_SELECTMODE_SEGMENT, GP_SELECTMODE_STROKE, ToolSettings::gpencil_selectmode_edit, and blender::bke::Point.
Referenced by blender::ed::sculpt_paint::greasepencil::deselect_stroke(), ED_grease_pencil_selection_domain_get(), blender::ed::greasepencil::gpencil_stroke_subdivide_exec(), blender::ed::greasepencil::grease_pencil_copy_strokes_exec(), blender::ed::greasepencil::grease_pencil_delete_exec(), blender::ed::greasepencil::grease_pencil_duplicate_exec(), blender::ed::greasepencil::grease_pencil_paste_strokes_exec(), blender::ed::greasepencil::grease_pencil_reproject_exec(), and blender::ed::object::vgroup_grease_pencil_select_verts().
| wmOperatorStatus ED_grease_pencil_join_objects_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Join selected objects. Called from #OBJECT_OT_join.
Definition at line 5296 of file grease_pencil_edit.cc.
References blender::ed::greasepencil::add_materials_to_map(), blender::ed::object::base_free_and_unlink(), BKE_object_material_array_assign(), BKE_report(), C, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::data(), Object::data, DEG_get_original(), DEG_id_tag_update(), DEG_relations_tag_update(), GP_DRAWING, GreasePencil::id, ID_RECALC_GEOMETRY, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::ed::greasepencil::join_object_with_active(), NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::greasepencil::remap_material_indices(), wmOperator::reports, RPT_WARNING, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), Object::type, WM_event_add_notifier(), and wrap().
Referenced by blender::ed::object::object_join_exec().
| void ED_grease_pencil_pentool_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 319 of file grease_pencil_pen.cc.
References blender::ed::curves::pen_tool::ensure_keymap(), and WM_modalkeymap_assign().
Referenced by ED_keymap_grease_pencil().
| bool ED_grease_pencil_sculpt_segment_selection_enabled | ( | const ToolSettings * | tool_settings | ) |
Definition at line 1140 of file grease_pencil_select.cc.
References GP_SCULPT_MASK_SELECTMODE_SEGMENT, and ToolSettings::gpencil_selectmode_sculpt.
Referenced by ED_grease_pencil_segment_selection_enabled().
| blender::bke::AttrDomain ED_grease_pencil_sculpt_selection_domain_get | ( | const ToolSettings * | tool_settings | ) |
Definition at line 1083 of file grease_pencil_select.cc.
References blender::bke::Curve, GP_SCULPT_MASK_SELECTMODE_POINT, GP_SCULPT_MASK_SELECTMODE_SEGMENT, GP_SCULPT_MASK_SELECTMODE_STROKE, ToolSettings::gpencil_selectmode_sculpt, and blender::bke::Point.
Referenced by ED_grease_pencil_selection_domain_get().
| bool ED_grease_pencil_segment_selection_enabled | ( | const ToolSettings * | tool_settings, |
| const Object * | object ) |
Definition at line 1150 of file grease_pencil_select.cc.
References ED_grease_pencil_edit_segment_selection_enabled(), ED_grease_pencil_sculpt_segment_selection_enabled(), ED_grease_pencil_vertex_segment_selection_enabled(), OB_MODE_EDIT, OB_MODE_SCULPT_GREASE_PENCIL, and OB_MODE_VERTEX_GREASE_PENCIL.
Referenced by blender::ed::greasepencil::selection_update().
| blender::bke::AttrDomain ED_grease_pencil_selection_domain_get | ( | const ToolSettings * | tool_settings, |
| const Object * | object ) |
Definition at line 1109 of file grease_pencil_select.cc.
References ED_grease_pencil_edit_selection_domain_get(), ED_grease_pencil_sculpt_selection_domain_get(), ED_grease_pencil_vertex_selection_domain_get(), OB_MODE_EDIT, OB_MODE_SCULPT_GREASE_PENCIL, OB_MODE_VERTEX_GREASE_PENCIL, and blender::bke::Point.
Referenced by do_grease_pencil_box_select(), do_lasso_select_grease_pencil(), ed_grease_pencil_select_pick(), blender::ed::greasepencil::ensure_selection_domain(), grease_pencil_circle_select(), blender::ed::greasepencil::grease_pencil_material_select_exec(), blender::ed::greasepencil::select_all_exec(), blender::ed::greasepencil::select_random_exec(), blender::ed::greasepencil::select_similar_exec(), and blender::ed::greasepencil::selection_update().
| bool ED_grease_pencil_vertex_segment_selection_enabled | ( | const ToolSettings * | tool_settings | ) |
Definition at line 1145 of file grease_pencil_select.cc.
References GP_VERTEX_MASK_SELECTMODE_SEGMENT, and ToolSettings::gpencil_selectmode_vertex.
Referenced by ED_grease_pencil_segment_selection_enabled().
| blender::bke::AttrDomain ED_grease_pencil_vertex_selection_domain_get | ( | const ToolSettings * | tool_settings | ) |
Definition at line 1096 of file grease_pencil_select.cc.
References blender::bke::Curve, GP_VERTEX_MASK_SELECTMODE_POINT, GP_VERTEX_MASK_SELECTMODE_SEGMENT, GP_VERTEX_MASK_SELECTMODE_STROKE, ToolSettings::gpencil_selectmode_vertex, and blender::bke::Point.
Referenced by ED_grease_pencil_selection_domain_get().
| void ED_interpolatetool_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1534 of file grease_pencil_interpolate.cc.
References blender::ed::sculpt_paint::greasepencil::Cancel, blender::ed::sculpt_paint::greasepencil::Confirm, blender::ed::sculpt_paint::greasepencil::Decrease, blender::ed::sculpt_paint::greasepencil::Increase, wmKeyMap::modal_items, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by ED_keymap_grease_pencil().
| void ED_keymap_grease_pencil | ( | wmKeyConfig * | keyconf | ) |
Definition at line 362 of file grease_pencil_ops.cc.
References ED_filltool_modal_keymap(), ED_grease_pencil_pentool_modal_keymap(), ED_interpolatetool_modal_keymap(), ED_primitivetool_modal_keymap(), blender::ed::greasepencil::keymap_grease_pencil_brush_stroke(), blender::ed::greasepencil::keymap_grease_pencil_edit_mode(), blender::ed::greasepencil::keymap_grease_pencil_fill_tool(), blender::ed::greasepencil::keymap_grease_pencil_paint_mode(), blender::ed::greasepencil::keymap_grease_pencil_sculpt_mode(), blender::ed::greasepencil::keymap_grease_pencil_selection(), blender::ed::greasepencil::keymap_grease_pencil_vertex_paint_mode(), and blender::ed::greasepencil::keymap_grease_pencil_weight_paint_mode().
Referenced by ED_spacetypes_keymap().
| void ED_operatormacros_grease_pencil | ( | ) |
Definition at line 327 of file grease_pencil_ops.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacemacros_init().
| void ED_operatortypes_grease_pencil | ( | ) |
Definition at line 307 of file grease_pencil_ops.cc.
References ED_operatortypes_grease_pencil_bake_animation(), ED_operatortypes_grease_pencil_draw(), ED_operatortypes_grease_pencil_edit(), ED_operatortypes_grease_pencil_frames(), ED_operatortypes_grease_pencil_interpolate(), ED_operatortypes_grease_pencil_join(), ED_operatortypes_grease_pencil_layers(), ED_operatortypes_grease_pencil_lineart(), ED_operatortypes_grease_pencil_material(), ED_operatortypes_grease_pencil_modes(), ED_operatortypes_grease_pencil_pen(), ED_operatortypes_grease_pencil_primitives(), ED_operatortypes_grease_pencil_select(), ED_operatortypes_grease_pencil_trace(), ED_operatortypes_grease_pencil_vertex_paint(), and ED_operatortypes_grease_pencil_weight_paint().
Referenced by ED_spacetypes_init().
| void ED_operatortypes_grease_pencil_bake_animation | ( | ) |
Definition at line 367 of file grease_pencil_bake_animation.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_bake_grease_pencil_animation(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_draw | ( | ) |
Definition at line 2062 of file grease_pencil_draw_ops.cc.
References blender::ed::sculpt_paint::GREASE_PENCIL_OT_brush_stroke(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_erase_box(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_erase_lasso(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_fill(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_sculpt_paint(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_vertex_brush_stroke(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_weight_brush_stroke(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_edit | ( | ) |
Definition at line 4910 of file grease_pencil_edit.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_caps_set(), blender::ed::greasepencil::GREASE_PENCIL_OT_clean_loose(), blender::ed::greasepencil::GREASE_PENCIL_OT_convert_curve_type(), blender::ed::greasepencil::GREASE_PENCIL_OT_copy(), blender::ed::greasepencil::GREASE_PENCIL_OT_cyclical_set(), blender::ed::greasepencil::GREASE_PENCIL_OT_delete(), blender::ed::greasepencil::GREASE_PENCIL_OT_delete_frame(), blender::ed::greasepencil::GREASE_PENCIL_OT_dissolve(), blender::ed::greasepencil::GREASE_PENCIL_OT_duplicate(), blender::ed::greasepencil::GREASE_PENCIL_OT_extrude(), blender::ed::greasepencil::GREASE_PENCIL_OT_move_to_layer(), blender::ed::greasepencil::GREASE_PENCIL_OT_outline(), blender::ed::greasepencil::GREASE_PENCIL_OT_paste(), blender::ed::greasepencil::GREASE_PENCIL_OT_remove_fill_guides(), blender::ed::greasepencil::GREASE_PENCIL_OT_reproject(), blender::ed::greasepencil::GREASE_PENCIL_OT_reset_uvs(), blender::ed::greasepencil::GREASE_PENCIL_OT_separate(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_active_material(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_corner_type(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_curve_resolution(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_curve_type(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_handle_type(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_material(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_start_point(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_uniform_opacity(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_uniform_thickness(), blender::ed::greasepencil::GREASE_PENCIL_OT_snap_cursor_to_selected(), blender::ed::greasepencil::GREASE_PENCIL_OT_snap_to_cursor(), blender::ed::greasepencil::GREASE_PENCIL_OT_snap_to_grid(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_material_set(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_merge_by_distance(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_reorder(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_simplify(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_smooth(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_split(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_subdivide(), blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_switch_direction(), GREASE_PENCIL_OT_stroke_trim(), blender::ed::greasepencil::GREASE_PENCIL_OT_texture_gradient(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_frames | ( | ) |
Definition at line 998 of file grease_pencil_frames.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_active_frame_delete(), blender::ed::greasepencil::GREASE_PENCIL_OT_delete_breakdown(), blender::ed::greasepencil::GREASE_PENCIL_OT_frame_clean_duplicate(), blender::ed::greasepencil::GREASE_PENCIL_OT_frame_duplicate(), blender::ed::greasepencil::GREASE_PENCIL_OT_insert_blank_frame(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_interpolate | ( | ) |
Definition at line 1527 of file grease_pencil_interpolate.cc.
References blender::ed::sculpt_paint::greasepencil::GREASE_PENCIL_OT_interpolate(), blender::ed::sculpt_paint::greasepencil::GREASE_PENCIL_OT_interpolate_sequence(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_join | ( | ) |
Definition at line 625 of file grease_pencil_join_selection.cc.
References WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_layers | ( | ) |
Definition at line 1200 of file grease_pencil_layers.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_layer_active(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_add(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_duplicate(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_duplicate_object(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_group_add(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_group_color_tag(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_group_remove(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_hide(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_isolate(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_lock_all(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_mask_add(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_mask_remove(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_mask_reorder(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_merge(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_move(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_remove(), blender::ed::greasepencil::GREASE_PENCIL_OT_layer_reveal(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_lineart | ( | ) |
Definition at line 531 of file grease_pencil_lineart.cc.
References OBJECT_OT_lineart_bake_strokes(), OBJECT_OT_lineart_clear(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_material | ( | ) |
Definition at line 507 of file grease_pencil_material.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_material_copy_to_object(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_hide(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_isolate(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_all(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_unselected(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_unused(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_reveal(), blender::ed::greasepencil::GREASE_PENCIL_OT_material_unlock_all(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_modes | ( | ) |
Definition at line 432 of file grease_pencil_modes.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_paintmode_toggle(), blender::ed::greasepencil::GREASE_PENCIL_OT_sculptmode_toggle(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertexmode_toggle(), blender::ed::greasepencil::GREASE_PENCIL_OT_weightmode_toggle(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_pen | ( | ) |
Definition at line 314 of file grease_pencil_pen.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_pen(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_primitives | ( | ) |
Definition at line 1695 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_arc(), blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_box(), blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_circle(), blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_curve(), blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_line(), blender::ed::greasepencil::GREASE_PENCIL_OT_primitive_polyline(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_select | ( | ) |
Definition at line 1165 of file grease_pencil_select.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_material_select(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_all(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_alternate(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_ends(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_less(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_linked(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_more(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_random(), blender::ed::greasepencil::GREASE_PENCIL_OT_select_similar(), blender::ed::greasepencil::GREASE_PENCIL_OT_set_selection_mode(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_trace | ( | ) |
Definition at line 587 of file grease_pencil_trace.cc.
References WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_vertex_paint | ( | ) |
Definition at line 491 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_stroke_reset_vertex_color(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_color_brightness_contrast(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_color_hsv(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_color_invert(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_color_levels(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_color_set(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_operatortypes_grease_pencil_weight_paint | ( | ) |
Definition at line 960 of file grease_pencil_weight_paint.cc.
References blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_normalize(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_normalize_all(), blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_smooth(), blender::ed::greasepencil::GREASE_PENCIL_OT_weight_invert(), blender::ed::greasepencil::GREASE_PENCIL_OT_weight_sample(), blender::ed::greasepencil::GREASE_PENCIL_OT_weight_toggle_direction(), and WM_operatortype_append().
Referenced by ED_operatortypes_grease_pencil().
| void ED_primitivetool_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1706 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::Cancel, blender::ed::greasepencil::ChangeOpacity, blender::ed::greasepencil::ChangeRadius, blender::ed::greasepencil::Confirm, blender::ed::greasepencil::DecreaseSubdivision, blender::ed::greasepencil::Extrude, blender::ed::greasepencil::Grab, blender::ed::greasepencil::IncreaseSubdivision, wmKeyMap::modal_items, blender::ed::greasepencil::Panning, blender::ed::greasepencil::Rotate, blender::ed::greasepencil::Scale, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by ED_keymap_grease_pencil().
| void ED_undosys_type_grease_pencil | ( | UndoType * | ut | ) |
Definition at line 404 of file grease_pencil_undo.cc.
References UndoType::flags, blender::ed::greasepencil::undo::foreach_ID_ref(), blender::ed::greasepencil::grease_pencil_edit_poll(), UndoType::name, UndoType::poll, blender::ed::greasepencil::undo::step_decode(), UndoType::step_decode, blender::ed::greasepencil::undo::step_encode(), UndoType::step_encode, UndoType::step_foreach_ID_ref, blender::ed::greasepencil::undo::step_free(), UndoType::step_free, UndoType::step_size, and UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE.
Referenced by ED_undosys_type_init().
| void GREASE_PENCIL_OT_stroke_trim | ( | wmOperatorType * | ot | ) |
Definition at line 247 of file grease_pencil_trim.cc.
References blender::ed::greasepencil::grease_pencil_painting_poll(), blender::ed::greasepencil::grease_pencil_stroke_trim_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), and WM_operator_properties_gesture_lasso().
Referenced by ED_operatortypes_grease_pencil_edit().