|
Blender V4.3
|
Namespaces | |
| namespace | bake_simulation |
Classes | |
| struct | BakeAPIRender |
| struct | CollectionAddInfo |
| struct | CollectionExportStats |
| struct | ElemData_Armature |
| struct | ElemData_MetaBall |
| struct | MoveToCollectionData |
| struct | MultiresBakeJob |
| struct | MultiresBakerJobData |
| struct | OceanBakeJob |
| struct | ParentingContext |
| struct | QuadriFlowJob |
| struct | VoxelSizeEditCustomData |
| struct | XFormAxisData |
| struct | XFormAxisItem |
| struct | XFormObjectData |
| struct | XFormObjectData_Armature |
| struct | XFormObjectData_Container |
| struct | XFormObjectData_Curve |
| struct | XFormObjectData_Extra |
| struct | XFormObjectData_GPencil |
| struct | XFormObjectData_GreasePencil |
| struct | XFormObjectData_Lattice |
| struct | XFormObjectData_Mesh |
| struct | XFormObjectData_MetaBall |
| struct | XFormObjectSkipChild |
| struct | XFormObjectSkipChild_Container |
Enumerations | |
| enum | { XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM = 1 , XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT = 3 , XFORM_OB_SKIP_CHILD_PARENT_APPLY = 2 } |
| enum | eParentType { PAR_OBJECT , PAR_ARMATURE , PAR_ARMATURE_NAME , PAR_ARMATURE_ENVELOPE , PAR_ARMATURE_AUTO , PAR_BONE , PAR_BONE_RELATIVE , PAR_CURVE , PAR_FOLLOW , PAR_PATH_CONST , PAR_LATTICE , PAR_VERTEX , PAR_VERTEX_TRI } |
| enum | eObjectSelect_Mode { BA_DESELECT = 0 , BA_SELECT = 1 , BA_INVERT = 2 } |
| enum | eObClearParentTypes { CLEAR_PARENT_ALL = 0 , CLEAR_PARENT_KEEP_TRANSFORM , CLEAR_PARENT_INVERSE } |
| enum | { EM_FREEDATA = (1 << 0) , EM_NO_CONTEXT = (1 << 1) } |
| enum | eObjectPathCalcRange { OBJECT_PATH_CALC_RANGE_CURRENT_FRAME , OBJECT_PATH_CALC_RANGE_CHANGED , OBJECT_PATH_CALC_RANGE_FULL } |
| enum | { MODIFIER_APPLY_DATA = 1 , MODIFIER_APPLY_SHAPE } |
| enum | ClearFlag { CLEAR_TANGENT_NORMAL = 1 , CLEAR_DISPLACEMENT = 2 } |
| enum | eObject_Hook_Add_Mode { OBJECT_ADDHOOK_NEWOB = 1 , OBJECT_ADDHOOK_SELOB , OBJECT_ADDHOOK_SELOB_BONE } |
Variables | |
| static const EnumPropertyItem | DT_layer_items [] |
| static CLG_LogRef | LOG = {"ed.object.edit"} |
| static CLG_LogRef | LOG = {"ed.object"} |
Local Enum Declarations | |
| enum | { ALIGN_WORLD = 0 , ALIGN_VIEW , ALIGN_CURSOR } |
| static const EnumPropertyItem | field_type_items [] |
| static EnumPropertyItem | lightprobe_type_items [] |
| static const EnumPropertyItem | align_options [] |
Dash Modifier | |
| enum class | DashSegmentMoveDirection { Up = -1 , Down = 1 } |
| void | OBJECT_OT_grease_pencil_dash_modifier_segment_add (wmOperatorType *ot) |
| void | OBJECT_OT_grease_pencil_dash_modifier_segment_remove (wmOperatorType *ot) |
| void | OBJECT_OT_grease_pencil_dash_modifier_segment_move (wmOperatorType *ot) |
| static bool | dash_modifier_segment_poll (bContext *C) |
| static int | dash_modifier_segment_add_exec (bContext *C, wmOperator *op) |
| static int | dash_modifier_segment_add_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static void | dash_modifier_segment_free (GreasePencilDashModifierSegment *) |
| static int | dash_modifier_segment_remove_exec (bContext *C, wmOperator *op) |
| static int | dash_modifier_segment_remove_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static int | dash_modifier_segment_move_exec (bContext *C, wmOperator *op) |
| static int | dash_modifier_segment_move_invoke (bContext *C, wmOperator *op, const wmEvent *) |
Time Modifier | |
| enum class | TimeSegmentMoveDirection { Up = -1 , Down = 1 } |
| void | OBJECT_OT_grease_pencil_time_modifier_segment_add (wmOperatorType *ot) |
| void | OBJECT_OT_grease_pencil_time_modifier_segment_remove (wmOperatorType *ot) |
| void | OBJECT_OT_grease_pencil_time_modifier_segment_move (wmOperatorType *ot) |
| static bool | time_modifier_segment_poll (bContext *C) |
| static int | time_modifier_segment_add_exec (bContext *C, wmOperator *op) |
| static int | time_modifier_segment_add_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static void | time_modifier_segment_free (GreasePencilTimeModifierSegment *) |
| static int | time_modifier_segment_remove_exec (bContext *C, wmOperator *op) |
| static int | time_modifier_segment_remove_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static int | time_modifier_segment_move_exec (bContext *C, wmOperator *op) |
| static int | time_modifier_segment_move_invoke (bContext *C, wmOperator *op, const wmEvent *) |
Clear Track Operator | |
| enum | { CLEAR_TRACK = 1 , CLEAR_TRACK_KEEP_TRANSFORM = 2 } |
| static const EnumPropertyItem | prop_clear_track_types [] |
| void | OBJECT_OT_track_clear (wmOperatorType *ot) |
| static int | object_track_clear_exec (bContext *C, wmOperator *op) |
Make Track Operator | |
| enum | { CREATE_TRACK_DAMPTRACK = 1 , CREATE_TRACK_TRACKTO = 2 , CREATE_TRACK_LOCKTRACK = 3 } |
| static const EnumPropertyItem | prop_make_track_types [] |
| void | OBJECT_OT_track_set (wmOperatorType *ot) |
| static int | track_set_exec (bContext *C, wmOperator *op) |
Link to Scene Operator | |
| enum | { MAKE_LINKS_OBDATA = 1 , MAKE_LINKS_MATERIALS = 2 , MAKE_LINKS_ANIMDATA = 3 , MAKE_LINKS_GROUP = 4 , MAKE_LINKS_DUPLICOLLECTION = 5 , MAKE_LINKS_MODIFIERS = 6 , MAKE_LINKS_FONTS = 7 , MAKE_LINKS_SHADERFX = 8 } |
| void | OBJECT_OT_make_links_scene (wmOperatorType *ot) |
| void | OBJECT_OT_make_links_data (wmOperatorType *ot) |
| static int | make_links_scene_exec (bContext *C, wmOperator *op) |
| static bool | allow_make_links_data (const int type, Object *ob_src, Object *ob_dst) |
| static int | make_links_data_exec (bContext *C, wmOperator *op) |
Make Local Operator | |
| enum | { MAKE_LOCAL_SELECT_OB = 1 , MAKE_LOCAL_SELECT_OBDATA = 2 , MAKE_LOCAL_SELECT_OBDATA_MATERIAL = 3 , MAKE_LOCAL_ALL = 4 } |
| void | OBJECT_OT_make_local (wmOperatorType *ot) |
| static int | tag_localizable_looper (LibraryIDLinkCallbackData *cb_data) |
| static void | tag_localizable_objects (bContext *C, const int mode) |
| static bool | make_local_all__instance_indirect_unused (Main *bmain, const Scene *scene, ViewLayer *view_layer, Collection *collection) |
| static void | make_local_animdata_tag_strips (ListBase *strips) |
| static void | make_local_animdata_tag (AnimData *adt) |
| static void | make_local_material_tag (Material *ma) |
| static int | make_local_exec (bContext *C, wmOperator *op) |
Make Single User Operator | |
| enum | { MAKE_SINGLE_USER_ALL = 1 , MAKE_SINGLE_USER_SELECTED = 2 } |
| void | object_single_user_make (Main *bmain, Scene *scene, Object *ob) |
| void | single_obdata_user_make (Main *bmain, Scene *scene, Object *ob) |
| void | OBJECT_OT_make_single_user (wmOperatorType *ot) |
| static bool | single_data_needs_duplication (ID *id) |
| static void | libblock_relink_collection (Main *bmain, Collection *collection, const bool do_collection) |
| static Collection * | single_object_users_collection (Main *bmain, Scene *scene, Collection *collection, const int flag, const bool copy_collections, const bool is_master_collection) |
| static void | single_object_users (Main *bmain, Scene *scene, View3D *v3d, const int flag, const bool copy_collections) |
| static void | single_obdata_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static void | single_object_action_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static void | single_objectdata_action_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static void | single_mat_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static int | make_single_user_exec (bContext *C, wmOperator *op) |
| static int | make_single_user_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
Selection by Links | |
| enum | { OBJECT_SELECT_LINKED_IPO = 1 , OBJECT_SELECT_LINKED_OBDATA , OBJECT_SELECT_LINKED_MATERIAL , OBJECT_SELECT_LINKED_DUPGROUP , OBJECT_SELECT_LINKED_PARTICLE , OBJECT_SELECT_LINKED_LIBRARY , OBJECT_SELECT_LINKED_LIBRARY_OBDATA } |
| static const EnumPropertyItem | prop_select_linked_types [] |
| void | select_linked_by_id (bContext *C, ID *id) |
| void | OBJECT_OT_select_linked (wmOperatorType *ot) |
| static bool | object_select_all_by_obdata (bContext *C, void *obdata) |
| static bool | object_select_all_by_material (bContext *C, Material *mat) |
| static bool | object_select_all_by_instance_collection (bContext *C, Object *ob) |
| static bool | object_select_all_by_particle (bContext *C, Object *ob) |
| static bool | object_select_all_by_library (bContext *C, Library *lib) |
| static bool | object_select_all_by_library_obdata (bContext *C, Library *lib) |
| static int | object_select_linked_exec (bContext *C, wmOperator *op) |
Shape Key Move (Re-Order) Operator | |
| enum | { KB_MOVE_TOP = -2 , KB_MOVE_UP = -1 , KB_MOVE_DOWN = 1 , KB_MOVE_BOTTOM = 2 } |
| void | OBJECT_OT_shape_key_move (wmOperatorType *ot) |
| static int | shape_key_move_exec (bContext *C, wmOperator *op) |
Shape Key Lock (Unlock) Operator | |
| enum | { SHAPE_KEY_LOCK , SHAPE_KEY_UNLOCK } |
| void | OBJECT_OT_shape_key_lock (wmOperatorType *ot) |
| static int | shape_key_lock_exec (bContext *C, wmOperator *op) |
| static std::string | shape_key_lock_get_description (bContext *, wmOperatorType *, PointerRNA *ptr) |
Set Object Center Operator | |
| enum | { GEOMETRY_TO_ORIGIN = 0 , ORIGIN_TO_GEOMETRY , ORIGIN_TO_CURSOR , ORIGIN_TO_CENTER_OF_MASS_SURFACE , ORIGIN_TO_CENTER_OF_MASS_VOLUME } |
| void | OBJECT_OT_origin_set (wmOperatorType *ot) |
| static float3 | arithmetic_mean (const Span< float3 > values) |
| static void | translate_positions (MutableSpan< float3 > positions, const float3 &translation) |
| static int | object_origin_set_exec (bContext *C, wmOperator *op) |
Operator Function Implementations | |
| enum | { VGROUP_TOGGLE , VGROUP_LOCK , VGROUP_UNLOCK , VGROUP_INVERT } |
| enum | { VGROUP_MASK_ALL , VGROUP_MASK_SELECTED , VGROUP_MASK_UNSELECTED , VGROUP_MASK_INVERT_UNSELECTED } |
| static const EnumPropertyItem | vgroup_lock_actions [] |
| static const EnumPropertyItem | vgroup_lock_mask [] |
| void | vgroup_mirror (Object *ob, bool mirror_weights, bool flip_vgroups, bool all_vgroups, bool use_topology, int *r_totmirr, int *r_totfail) |
| static void | vgroup_select_verts (const ToolSettings &tool_settings, Object *ob, Scene &scene, int select) |
| static void | vgroup_duplicate (Object *ob) |
| static bool | vgroup_normalize (Object *ob) |
| static void | vgroup_levels_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int, const float offset, const float gain) |
| static bool | vgroup_normalize_all (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int subset_count, const bool lock_active, ReportList *reports) |
| static bool * | vgroup_selected_get (Object *ob) |
| static void | vgroup_lock_all (Object *ob, int action, int mask) |
| static void | vgroup_invert_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int, const bool auto_assign, const bool auto_remove) |
| static void | vgroup_smooth_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int subset_count, const float fac, const int repeat, const float fac_expand) |
| static int | inv_cmp_mdef_vert_weights (const void *a1, const void *a2) |
| static int | vgroup_limit_total_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int subset_count, const int max_weights) |
| static void | vgroup_clean_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int, const float epsilon, const bool keep_single) |
| static void | vgroup_quantize_subset (Object *ob, const bool *vgroup_validmap, const int vgroup_tot, const int, const int steps) |
| static void | dvert_mirror_op (MDeformVert *dvert, MDeformVert *dvert_mirr, const char sel, const char sel_mirr, const int *flip_map, const int flip_map_len, const bool mirror_weights, const bool flip_vgroups, const bool all_vgroups, const int act_vgroup) |
| static void | vgroup_delete_active (Object *ob) |
| static void | vgroup_assign_verts (Object *ob, Scene &scene, const float weight) |
Vertex Group Sort Operator | |
| enum | { SORT_TYPE_NAME = 0 , SORT_TYPE_BONEHIERARCHY = 1 } |
| void | OBJECT_OT_vertex_group_sort (wmOperatorType *ot) |
| static char * | vgroup_init_remap (Object *ob) |
| static int | vgroup_do_remap (Object *ob, const char *name_array, wmOperator *op) |
| static int | vgroup_sort_name (const void *def_a_ptr, const void *def_b_ptr) |
| static void | vgroup_sort_bone_hierarchy (Object *ob, ListBase *bonebase) |
| static int | vertex_group_sort_exec (bContext *C, wmOperator *op) |
Add Grease Pencil Operator | |
| static EnumPropertyItem | rna_enum_gpencil_add_stroke_depth_order_items [] |
| static int | object_grease_pencil_add_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_grease_pencil_add (wmOperatorType *ot) |
Data Convert Operator | |
| static const EnumPropertyItem | convert_target_items [] |
| static const EnumPropertyItem * | convert_target_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free) |
| static void | object_data_convert_curve_to_mesh (Main *bmain, Depsgraph *depsgraph, Object *ob) |
| static bool | object_convert_poll (bContext *C) |
| static Base * | duplibase_for_convert (Main *bmain, Depsgraph *depsgraph, Scene *scene, ViewLayer *view_layer, Base *base, Object *ob) |
| static int | object_convert_exec (bContext *C, wmOperator *op) |
| static void | object_convert_ui (bContext *, wmOperator *op) |
| void | OBJECT_OT_convert (wmOperatorType *ot) |
Generic Functions for Operators Using Constraint Names and Data Context | |
| static const EnumPropertyItem | constraint_owner_items [] |
| static bool | edit_constraint_poll_generic (bContext *C, StructRNA *rna_type, const bool is_liboverride_allowed) |
| static bool | edit_constraint_poll (bContext *C) |
| static bool | edit_constraint_liboverride_allowed_poll (bContext *C) |
| static void | edit_constraint_properties (wmOperatorType *ot) |
| static void | edit_constraint_report_property (wmOperatorType *ot) |
| static bool | edit_constraint_invoke_properties (bContext *C, wmOperator *op, const wmEvent *event, int *r_retval) |
| static bConstraint * | edit_constraint_property_get (bContext *C, wmOperator *op, Object *ob, int type) |
Object Link/Move to Collection Operator | |
| static MoveToCollectionData * | master_collection_menu = nullptr |
| static void | move_to_collection_menus_items (uiLayout *layout, MoveToCollectionData *menu) |
| static ListBase | selected_objects_get (bContext *C) |
| static bool | move_to_collection_poll (bContext *C) |
| static int | move_to_collection_exec (bContext *C, wmOperator *op) |
| static int | move_to_collection_menus_create (wmOperator *op, MoveToCollectionData *menu) |
| static void | move_to_collection_menus_free_recursive (MoveToCollectionData *menu) |
| static void | move_to_collection_menus_free (MoveToCollectionData **menu) |
| static void | move_to_collection_menu_create (bContext *C, uiLayout *layout, void *menu_v) |
| static int | move_to_collection_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| void | OBJECT_OT_move_to_collection (wmOperatorType *ot) |
| void | OBJECT_OT_link_to_collection (wmOperatorType *ot) |
Multires Subdivide Operator | |
| static EnumPropertyItem | prop_multires_subdivide_mode_type [] |
| void | OBJECT_OT_multires_subdivide (wmOperatorType *ot) |
| static int | multires_subdivide_exec (bContext *C, wmOperator *op) |
| static int | multires_subdivide_invoke (bContext *C, wmOperator *op, const wmEvent *) |
Clear Parent Operator | |
| const EnumPropertyItem | prop_clear_parent_types [] |
| void | parent_clear (Object *ob, int type) |
| void | OBJECT_OT_parent_clear (wmOperatorType *ot) |
| static void | object_remove_parent_deform_modifiers (Object *ob, const Object *par) |
| static int | parent_clear_exec (bContext *C, wmOperator *op) |
Shared Weight Transfer Operator Properties | |
| static const EnumPropertyItem | WT_vertex_group_select_item [] |
| const EnumPropertyItem * | vgroup_selection_itemf_helper (const bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free, unsigned int selection_mask) |
| static const EnumPropertyItem * | rna_vertex_group_with_single_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free) |
| static const EnumPropertyItem * | rna_vertex_group_select_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free) |
| static void | vgroup_operator_subset_select_props (wmOperatorType *ot, bool use_active) |
| anonymous enum |
Object Skip-Child Container helper API.
| Enumerator | |
|---|---|
| XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM | The parent is transformed, this is held in place. |
| XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT | The same as XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM, however this objects parent isn't transformed directly. |
| XFORM_OB_SKIP_CHILD_PARENT_APPLY | Use the parent invert matrix to apply transformation, this is needed, because breaks in the selection chain prevents this from being transformed. This is used to add the transform which would have been added if there weren't breaks in the parent/child chain. |
Definition at line 112 of file ED_object.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| EM_FREEDATA | |
| EM_NO_CONTEXT | |
Definition at line 252 of file ED_object.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| MODIFIER_APPLY_DATA | |
| MODIFIER_APPLY_SHAPE | |
Definition at line 453 of file ED_object.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| ALIGN_WORLD | |
| ALIGN_VIEW | |
| ALIGN_CURSOR | |
Definition at line 193 of file object_add.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| CLEAR_TRACK | |
| CLEAR_TRACK_KEEP_TRANSFORM | |
Definition at line 1137 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| CREATE_TRACK_DAMPTRACK | |
| CREATE_TRACK_TRACKTO | |
| CREATE_TRACK_LOCKTRACK | |
Definition at line 1218 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_LINKS_OBDATA | |
| MAKE_LINKS_MATERIALS | |
| MAKE_LINKS_ANIMDATA | |
| MAKE_LINKS_GROUP | |
| MAKE_LINKS_DUPLICOLLECTION | |
| MAKE_LINKS_MODIFIERS | |
| MAKE_LINKS_FONTS | |
| MAKE_LINKS_SHADERFX | |
Definition at line 1404 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_LOCAL_SELECT_OB | |
| MAKE_LOCAL_SELECT_OBDATA | |
| MAKE_LOCAL_SELECT_OBDATA_MATERIAL | |
| MAKE_LOCAL_ALL | |
Definition at line 2063 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_SINGLE_USER_ALL | |
| MAKE_SINGLE_USER_SELECTED | |
Definition at line 2812 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| QUADRIFLOW_REMESH_RATIO | |
| QUADRIFLOW_REMESH_EDGE_LENGTH | |
| QUADRIFLOW_REMESH_FACES | |
Definition at line 636 of file object_remesh.cc.
| anonymous enum |
Definition at line 434 of file object_select.cc.
| anonymous enum |
Definition at line 717 of file object_select.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| KB_MOVE_TOP | |
| KB_MOVE_UP | |
| KB_MOVE_DOWN | |
| KB_MOVE_BOTTOM | |
Definition at line 603 of file object_shapekey.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| SHAPE_KEY_LOCK | |
| SHAPE_KEY_UNLOCK | |
Definition at line 675 of file object_shapekey.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| GEOMETRY_TO_ORIGIN | |
| ORIGIN_TO_GEOMETRY | |
| ORIGIN_TO_CURSOR | |
| ORIGIN_TO_CENTER_OF_MASS_SURFACE | |
| ORIGIN_TO_CENTER_OF_MASS_VOLUME | |
Definition at line 1297 of file object_transform.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| VGROUP_TOGGLE | |
| VGROUP_LOCK | |
| VGROUP_UNLOCK | |
| VGROUP_INVERT | |
Definition at line 1346 of file object_vgroup.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| VGROUP_MASK_ALL | |
| VGROUP_MASK_SELECTED | |
| VGROUP_MASK_UNSELECTED | |
| VGROUP_MASK_INVERT_UNSELECTED | |
Definition at line 1365 of file object_vgroup.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| SORT_TYPE_NAME | |
| SORT_TYPE_BONEHIERARCHY | |
Definition at line 3829 of file object_vgroup.cc.
| Enumerator | |
|---|---|
| CLEAR_TANGENT_NORMAL | |
| CLEAR_DISPLACEMENT | |
Definition at line 265 of file object_bake.cc.
|
strong |
| Enumerator | |
|---|---|
| Up | |
| Down | |
Definition at line 3979 of file object_modifier.cc.
| Enumerator | |
|---|---|
| CLEAR_PARENT_ALL | |
| CLEAR_PARENT_KEEP_TRANSFORM | |
| CLEAR_PARENT_INVERSE | |
Definition at line 178 of file ED_object.hh.
| Enumerator | |
|---|---|
| OBJECT_ADDHOOK_NEWOB | |
| OBJECT_ADDHOOK_SELOB | |
| OBJECT_ADDHOOK_SELOB_BONE | |
Definition at line 25 of file object_intern.hh.
| Enumerator | |
|---|---|
| OBJECT_PATH_CALC_RANGE_CURRENT_FRAME | |
| OBJECT_PATH_CALC_RANGE_CHANGED | |
| OBJECT_PATH_CALC_RANGE_FULL | |
Definition at line 349 of file ED_object.hh.
| Enumerator | |
|---|---|
| BA_DESELECT | |
| BA_SELECT | |
| BA_INVERT | |
Definition at line 172 of file ED_object.hh.
| Enumerator | |
|---|---|
| PAR_OBJECT | |
| PAR_ARMATURE | |
| PAR_ARMATURE_NAME | |
| PAR_ARMATURE_ENVELOPE | |
| PAR_ARMATURE_AUTO | |
| PAR_BONE | |
| PAR_BONE_RELATIVE | |
| PAR_CURVE | |
| PAR_FOLLOW | |
| PAR_PATH_CONST | |
| PAR_LATTICE | |
| PAR_VERTEX | |
| PAR_VERTEX_TRI | |
Definition at line 156 of file ED_object.hh.
| Enumerator | |
|---|---|
| SYMMETRY_AXES_X | |
| SYMMETRY_AXES_Y | |
| SYMMETRY_AXES_Z | |
Definition at line 642 of file object_remesh.cc.
| Enumerator | |
|---|---|
| SKIN_LOOSE_MARK | |
| SKIN_LOOSE_CLEAR | |
Definition at line 2894 of file object_modifier.cc.
|
strong |
| Enumerator | |
|---|---|
| Up | |
| Down | |
Definition at line 4213 of file object_modifier.cc.
| Base * blender::ed::object::add_duplicate | ( | Main * | bmain, |
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| Base * | base, | ||
| eDupli_ID_Flags | dupflag ) |
Single object duplicate, if dupflag == 0, fully linked, else it uses the flags given. Leaves selection of base/object unaltered.
DAG_relations_tag_update(bmain); this is not done automatic since we may duplicate many objects in a batch. Definition at line 3861 of file object_add.cc.
References add_duplicate(), BKE_libblock_relink_to_newid(), BKE_main_id_newptr_and_tag_clear(), BKE_object_is_in_editmode(), Object::data, DEG_id_tag_update_ex(), Object::id, ID_RECALC_EDITORS, ID_REMAP_FORCE_OBDATA_IN_EDITMODE, LIB_ID_DUPLICATE_IS_ROOT_ID, LIB_ID_DUPLICATE_IS_SUBPROCESS, Base::object, and object_add_duplicate_internal().
Referenced by add_duplicate(), mesh_separate_arrays(), mesh_separate_tagged(), separate_armature_exec(), and separate_exec().
| void blender::ed::object::add_generic_get_opts | ( | bContext * | C, |
| wmOperator * | op, | ||
| char | view_align_axis, | ||
| float | r_loc[3], | ||
| float | r_rot[3], | ||
| float | r_scale[3], | ||
| bool * | r_enter_editmode, | ||
| unsigned short * | r_local_view_bits, | ||
| bool * | r_is_view_aligned ) |
Definition at line 473 of file object_add.cc.
References ALIGN_CURSOR, ALIGN_VIEW, ALIGN_WORLD, copy_v3_fl(), CTX_data_scene(), CTX_wm_view3d(), View3D::local_view_uid, View3D::localvd, location_from_view(), mat3_normalized_to_eul(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), wmOperator::ptr, RNA_float_get_array(), RNA_float_set_array(), RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_float_get_array(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), RNA_struct_property_is_set(), rotation_from_view(), USER_ADD_CURSORALIGNED, USER_ADD_EDITMODE, and USER_ADD_VIEWALIGNED.
Referenced by add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cube_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_monkey_exec(), add_primitive_plane_exec(), add_primitive_uvsphere_exec(), collection_add_info_get_from_op(), curvesurf_prim_add(), effector_add_exec(), lightprobe_add_exec(), object_add_exec(), object_add_text_exec(), object_armature_add_exec(), object_camera_add_exec(), object_curves_empty_hair_add_exec(), object_curves_random_add_exec(), object_data_instance_add_exec(), object_empty_add_exec(), object_grease_pencil_add_exec(), object_image_add_exec(), object_light_add_exec(), object_metaball_add_exec(), object_pointcloud_add_exec(), object_speaker_add_exec(), and object_volume_add().
| void blender::ed::object::add_generic_props | ( | wmOperatorType * | ot, |
| bool | do_editmode ) |
Definition at line 415 of file object_add.cc.
References align_options, ALIGN_WORLD, DEG2RADF, OBJECT_ADD_SIZE_MAXF, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_rotation(), RNA_def_float_vector_xyz(), RNA_def_property_flag(), RNA_def_property_update_runtime(), wmOperatorType::srna, and view_align_update().
Referenced by CURVE_OT_primitive_bezier_circle_add(), CURVE_OT_primitive_bezier_curve_add(), CURVE_OT_primitive_nurbs_circle_add(), CURVE_OT_primitive_nurbs_curve_add(), CURVE_OT_primitive_nurbs_path_add(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cube_add(), MESH_OT_primitive_cube_add_gizmo(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_monkey_add(), MESH_OT_primitive_plane_add(), MESH_OT_primitive_uv_sphere_add(), OBJECT_OT_add(), OBJECT_OT_armature_add(), OBJECT_OT_camera_add(), OBJECT_OT_collection_external_asset_drop(), OBJECT_OT_collection_instance_add(), OBJECT_OT_curves_empty_hair_add(), OBJECT_OT_curves_random_add(), OBJECT_OT_data_instance_add(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_empty_image_add(), OBJECT_OT_grease_pencil_add(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_metaball_add(), OBJECT_OT_pointcloud_add(), OBJECT_OT_speaker_add(), OBJECT_OT_text_add(), OBJECT_OT_volume_add(), OBJECT_OT_volume_import(), SURFACE_OT_primitive_nurbs_surface_circle_add(), SURFACE_OT_primitive_nurbs_surface_curve_add(), SURFACE_OT_primitive_nurbs_surface_cylinder_add(), SURFACE_OT_primitive_nurbs_surface_sphere_add(), SURFACE_OT_primitive_nurbs_surface_surface_add(), and SURFACE_OT_primitive_nurbs_surface_torus_add().
|
static |
Definition at line 509 of file object_hook.cc.
References bArmature::act_bone, add_hook_object_new(), BKE_modifier_get_info(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_modifiers_persistent_uid_init(), BKE_object_transform_copy(), BKE_object_where_is_calc(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_report(), BLI_assert, BLI_insertlinkbefore(), HookModifierData::cent, copy_v3_v3(), CTX_data_ensure_evaluated_depsgraph(), Object::data, DEG_get_evaluated_object(), DEG_get_evaluated_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, eModifierType_Hook, ListBase::first, Object::id, ID_RECALC_GEOMETRY, HookModifierData::indexar, HookModifierData::indexar_num, invert_m4_m4(), LIKELY, Object::loc, MAX_NAME, HookModifierData::modifier, Object::modifiers, mul_m4_series, mul_v3_m4v3(), Bone::name, HookModifierData::name, ID::name, ModifierData::name, ModifierData::next, OB_ARMATURE, HookModifierData::object, OBJECT_ADDHOOK_NEWOB, OBJECT_ADDHOOK_SELOB_BONE, object_hook_index_array(), OnlyDeform, HookModifierData::parentinv, bPoseChannel::pose_mat, RPT_ERROR, RPT_WARNING, Object::runtime, SNPRINTF, STRNCPY, HookModifierData::subtarget, ModifierData::type, ModifierTypeInfo::type, Object::type, and unit_m4().
Referenced by object_add_hook_newob_exec(), and object_add_hook_selob_exec().
|
static |
Definition at line 488 of file object_hook.cc.
References ViewLayer::basact, BKE_object_add(), BKE_view_layer_active_base_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, Base::local_view_bits, View3D::local_view_uid, View3D::localvd, OB_EMPTY, and Base::object.
Referenced by add_hook_object().
| void blender::ed::object::add_mesh_props | ( | wmOperatorType * | ot | ) |
Definition at line 468 of file object_add.cc.
References ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cube_add(), MESH_OT_primitive_cube_add_gizmo(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_monkey_add(), MESH_OT_primitive_plane_add(), and MESH_OT_primitive_uv_sphere_add().
|
static |
Definition at line 762 of file object_modifier.cc.
References Key::block, CD_SHAPEKEY, CLOG_ERROR, CustomData_add_layer_with_data(), CustomData_get_layer_index_n(), array< T, alignment >::data(), Mesh::id, Mesh::key, CustomData::layers, LISTBASE_FOREACH_INDEX, LOG, MEM_calloc_arrayN, MEM_malloc_arrayN, ID::name, CustomDataLayer::uid, Mesh::vert_data, and Mesh::verts_num.
Referenced by create_applied_mesh_for_modifier().
| Object * blender::ed::object::add_type | ( | bContext * | C, |
| int | type, | ||
| const char * | name, | ||
| const float | loc[3], | ||
| const float | rot[3], | ||
| bool | enter_editmode, | ||
| unsigned short | local_view_bits ) |
Definition at line 682 of file object_add.cc.
References add_type_with_obdata(), and rot.
Referenced by blender::ed::greasepencil::bake_grease_pencil_animation_exec(), collection_drop_exec(), collection_instance_add_exec(), blender::ed::outliner::collection_instance_exec(), blender::io::grease_pencil::GreasePencilImporter::create_object(), curvesurf_prim_add(), effector_add_exec(), geometry_extract_apply(), lightprobe_add_exec(), make_prim_init(), object_add_exec(), object_add_text_exec(), object_armature_add_exec(), object_camera_add_exec(), object_curves_empty_hair_add_exec(), object_curves_random_add_exec(), object_empty_add_exec(), object_grease_pencil_add_exec(), object_image_add_exec(), object_light_add_exec(), object_metaball_add_exec(), object_pointcloud_add_exec(), object_speaker_add_exec(), object_volume_add(), and paint_mask_slice_exec().
| Object * blender::ed::object::add_type_with_obdata | ( | bContext * | C, |
| int | type, | ||
| const char * | name, | ||
| const float | loc[3], | ||
| const float | rot[3], | ||
| bool | enter_editmode, | ||
| ushort | local_view_bits, | ||
| ID * | obdata ) |
For object add primitive operators, or for object creation when obdata != NULL.
| obdata | Assigned to Object.data, with increased user count. |
Definition at line 611 of file object_add.cc.
References base_activate(), BKE_id_material_len_p(), BKE_object_add(), BKE_object_add_for_data(), BKE_object_materials_test(), BKE_object_obdata_to_type(), BKE_view_layer_active_base_get(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BLI_assert, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), Object::data, DEG_id_tag_update(), DEG_id_tag_update_ex(), DEG_id_type_tag(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), editmode_enter_ex(), editmode_exit_ex(), EM_FREEDATA, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_EDITORS, init_transform_on_add(), Base::local_view_bits, NC_SCENE, ND_LAYER_CONTENT, rot, and WM_event_add_notifier().
Referenced by add_type(), and object_data_instance_add_exec().
| void blender::ed::object::add_unit_props_radius | ( | wmOperatorType * | ot | ) |
Definition at line 410 of file object_add.cc.
References add_unit_props_radius_ex(), and ot.
Referenced by CURVE_OT_primitive_bezier_circle_add(), CURVE_OT_primitive_bezier_curve_add(), CURVE_OT_primitive_nurbs_circle_add(), CURVE_OT_primitive_nurbs_curve_add(), CURVE_OT_primitive_nurbs_path_add(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_uv_sphere_add(), OBJECT_OT_add(), OBJECT_OT_armature_add(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_grease_pencil_add(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_text_add(), SURFACE_OT_primitive_nurbs_surface_circle_add(), SURFACE_OT_primitive_nurbs_surface_curve_add(), SURFACE_OT_primitive_nurbs_surface_cylinder_add(), SURFACE_OT_primitive_nurbs_surface_sphere_add(), SURFACE_OT_primitive_nurbs_surface_surface_add(), and SURFACE_OT_primitive_nurbs_surface_torus_add().
| void blender::ed::object::add_unit_props_radius_ex | ( | wmOperatorType * | ot, |
| float | default_value ) |
Definition at line 404 of file object_add.cc.
References OBJECT_ADD_SIZE_MAXF, ot, RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by add_unit_props_radius(), and OBJECT_OT_metaball_add().
| void blender::ed::object::add_unit_props_size | ( | wmOperatorType * | ot | ) |
Definition at line 398 of file object_add.cc.
References OBJECT_ADD_SIZE_MAXF, ot, RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by MESH_OT_primitive_cube_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_monkey_add(), and MESH_OT_primitive_plane_add().
|
static |
Definition at line 46 of file add_modifier_assets.cc.
References blender::asset_system::all_library_reference(), and blender::ed::asset::list::is_loaded().
Referenced by root_catalogs_draw().
|
static |
Definition at line 1416 of file object_relations.cc.
References Object::data, ELEM, MAKE_LINKS_ANIMDATA, MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, OB_EMPTY, OB_FONT, OB_GREASE_PENCIL, OB_TYPE_SUPPORT_MATERIAL, and Object::type.
Referenced by make_links_data_exec().
|
static |
Definition at line 563 of file object_transform.cc.
References append_sorted_object_parent_hierarchy(), ELEM, Object::id, ID_TAG_DOIT, Object::parent, and ID::tag.
Referenced by append_sorted_object_parent_hierarchy(), and sorted_selected_editable_objects().
|
static |
Definition at line 990 of file object_modifier.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_or_modify(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index_as(), blender::bke::greasepencil::Layer::as_node(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, CD_PROP_STRING, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::AttributeIter::data_type, blender::index_mask::IndexMask::foreach_index(), blender::bke::AttributeIter::get(), GP_DRAWING, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), blender::array_utils::indices_are_range(), blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), blender::bke::greasepencil::Layer::local_transform(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), GreasePencil::material_array, GreasePencil::material_array_num, blender::geometry::merge_layers(), blender::bke::AttributeIter::name, GreasePencilLayer::opacity, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), blender::bke::MutableAttributeAccessor::remove_anonymous(), blender::bke::greasepencil::Layer::set_local_transform(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), blender::GSpan::type(), and wrap().
Referenced by apply_grease_pencil_for_modifier(), and apply_grease_pencil_for_modifier_all_keyframes().
|
static |
Definition at line 1201 of file object_modifier.cc.
References apply_eval_grease_pencil_data(), apply_grease_pencil_for_modifier(), BKE_id_copy_ex(), BKE_modifier_get_info(), BKE_object_material_from_eval_data(), DATA_, DEG_get_bmain(), DEG_get_ctime(), DEG_get_evaluated_object(), depsgraph, GreasePencil::id, int, LIB_ID_COPY_LOCALIZE, MOD_APPLY_TO_ORIGINAL, ModifierTypeInfo::modify_geometry_set, GreasePencil::runtime, Object::runtime, and ModifierData::type.
Referenced by apply_grease_pencil_for_modifier(), and modifier_apply_obdata().
|
static |
Definition at line 1246 of file object_modifier.cc.
References append, apply_eval_grease_pencil_data(), apply_grease_pencil_for_modifier_all_keyframes(), blender::Array< T, InlineBufferCapacity, Allocator >::begin(), BKE_id_copy_ex(), BKE_modifier_get_evaluated(), BKE_modifier_get_info(), BKE_object_material_from_eval_data(), BKE_scene_graph_update_for_newframe(), DATA_, DEG_get_bmain(), DEG_get_ctime(), DEG_get_evaluated_object(), depsgraph, blender::Array< T, InlineBufferCapacity, Allocator >::end(), GreasePencil::id, int, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys(), LIB_ID_COPY_LOCALIZE, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), MOD_APPLY_TO_ORIGINAL, ModifierTypeInfo::modify_geometry_set, GreasePencil::runtime, Object::runtime, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), ModifierData::type, and WM_cursor_wait().
Referenced by apply_grease_pencil_for_modifier_all_keyframes(), and modifier_apply_obdata().
|
static |
Definition at line 666 of file object_transform.cc.
References add_v3_v3v3(), apply_objects_internal(), apply_objects_internal_can_multiuser(), apply_objects_internal_need_single_user(), Light::area_shape, Light::area_size, Light::area_sizey, Light::area_sizez, BKE_armature_copy_bone_transforms(), BKE_armature_transform(), BKE_curve_transform_ex(), BKE_gpencil_transform(), BKE_idtype_idcode_to_name(), BKE_lattice_transform(), BKE_main_id_newptr_and_tag_clear(), BKE_mball_transform(), BKE_mesh_transform(), BKE_object_apply_mat4(), BKE_object_calc_parent(), BKE_object_movieclip_get(), BKE_object_rot_to_mat3(), BKE_object_scale_to_mat3(), BKE_object_to_mat3(), BKE_object_transform_copy(), BKE_object_where_is_calc(), BKE_pose_where_is(), BKE_reportf(), BKE_tracking_reconstruction_scale(), compare_ff_relative(), copy_m4_m3(), copy_m4_m4(), copy_v3_fl(), copy_v3_v3(), copy_v4_v4(), CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CU_3D, Object::data, DEG_get_evaluated_object(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, GreasePencilFrame::drawing_index, ELEM, fabsf, ListBase::first, Curve::flag, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::foreach_item(), Curve::fsize, Curves::geometry, GP_DRAWING, GS, TextBox::h, bGPdata::id, Light::id, Object::id, ID_GD_LEGACY, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_REAL_USERS, ID_RECALC_GEOMETRY, ID_RECALC_PARAMETERS, ID_RECALC_TRANSFORM, id_us_min(), id_us_plus(), ignore_parent_tx(), blender::math::invert(), invert_m3_m3(), invert_m4_m4(), Curve::key, LA_AREA, LA_AREA_DISK, LA_AREA_ELLIPSE, LA_AREA_RECT, LA_AREA_SQUARE, bGPdata::layers, LISTBASE_FOREACH, Object::loc, mat3_to_scale(), mat4_to_scale(), max_fff(), mul_m3_m3m3(), mul_m3_v3(), mul_m4_m4_post(), multiresModifier_scale_disp(), ID::name, NC_WINDOW, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, OPERATOR_CANCELLED, Object::parentinv, ptr, Object::quat, blender::bke::greasepencil::Drawing::radii_for_write(), Object::rot, Object::rotAngle, Object::rotAxis, RPT_ERROR, Object::scale, single_obdata_user_make(), sorted_selected_editable_objects(), blender::bke::greasepencil::Drawing::strokes_for_write(), Curve::tb, Curve::totbox, transform_positions(), GreasePencilDrawingBase::type, Light::type, unit_axis_angle(), unit_m3(), unit_qt(), TextBox::w, WM_event_add_notifier(), wrap(), TextBox::x, TextBox::y, and zero_v3().
Referenced by apply_objects_internal(), and object_transform_apply_exec().
|
static |
Check if we need and can handle the special multiuser case.
Definition at line 612 of file object_transform.cc.
References CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, Object::data, ELEM, and ID_REAL_USERS.
Referenced by apply_objects_internal(), apply_objects_internal_need_single_user(), and object_transform_apply_invoke().
|
static |
Check if the current selection need to be made into single user.
It assumes that all selected objects share the same object data.
Definition at line 647 of file object_transform.cc.
References apply_objects_internal_can_multiuser(), BLI_assert, CTX_data_active_object(), CTX_DATA_COUNT, Object::data, and ID_REAL_USERS.
Referenced by apply_objects_internal(), and object_transform_apply_invoke().
Definition at line 1305 of file object_transform.cc.
References arithmetic_mean().
Referenced by arithmetic_mean(), and object_origin_set_exec().
|
static |
Definition at line 144 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4(), and unit_m4().
Referenced by data_xform_restore().
|
static |
Definition at line 136 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4_recurse(), BKE_armature_transform(), and bArmature::bonebase.
Referenced by armature_coords_and_quats_apply(), and data_xform_by_mat4().
|
static |
Definition at line 109 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4_recurse(), COPY_PTR, COPY_VAL, and LISTBASE_FOREACH.
Referenced by armature_coords_and_quats_apply_with_mat4(), and armature_coords_and_quats_apply_with_mat4_recurse().
|
static |
Definition at line 104 of file object_data_transform.cc.
References armature_coords_and_quats_get_recurse(), and bArmature::bonebase.
Referenced by data_xform_create_ex().
|
static |
Definition at line 77 of file object_data_transform.cc.
References armature_coords_and_quats_get_recurse(), COPY_PTR, COPY_VAL, and LISTBASE_FOREACH.
Referenced by armature_coords_and_quats_get(), and armature_coords_and_quats_get_recurse().
|
static |
Definition at line 1394 of file object_bake_api.cc.
References bake_mesh_new_from_object(), bake_targets_free(), bake_targets_init(), bake_targets_output(), bake_targets_populate_pixels(), bake_targets_refresh(), BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BASE_ENABLED_RENDER, Object::base_flag, BKE_id_free(), BKE_mesh_new_from_object(), BKE_modifier_free(), BKE_modifiers_findby_type(), BKE_object_eval_reset(), BKE_object_handle_data_update(), BKE_report(), BKE_reportf(), BKE_scene_graph_update_tagged(), BLI_assert, BLI_findstring(), BLI_remlink(), blender::ed::object::BakeAPIRender::cage_extrusion, CD_PROP_FLOAT2, BakeTargets::channels_num, copy_m4_m4(), Mesh::corners_num, blender::ed::object::BakeAPIRender::custom_cage, CustomData_get_named_layer(), DAG_EVAL_RENDER, Object::data, PointerRNA::data, DEG_get_evaluated_object(), DEG_graph_build_from_view_layer(), DEG_graph_free(), DEG_graph_new(), depsgraph, eModifierType_EdgeSplit, eModifierType_Multires, Mesh::faces_num, ListBase::first, MultiresModifierData::flags, Mesh::id, Object::id, invert_m4_m4(), blender::ed::object::BakeAPIRender::is_cage, BakeHighPolyData::is_flip_object, is_negative_m4(), blender::ed::object::BakeAPIRender::is_selected_to_active, blender::ed::object::BakeAPIRender::main, blender::ed::object::BakeAPIRender::max_ray_distance, MEM_callocN, MEM_freeN(), MEM_mallocN, BakeHighPolyData::mesh, ModifierData::mode, Object::modifiers, ID::name, ModifierData::next, blender::ed::object::BakeAPIRender::normal_space, blender::ed::object::BakeAPIRender::normal_swizzle, BakeHighPolyData::ob, BakeHighPolyData::ob_eval, OB_HIDE_RENDER, OB_MESH, Main::objects, offsetof, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::object::BakeAPIRender::pass_filter, blender::ed::object::BakeAPIRender::pass_type, BakeTargets::pixels_num, ptr, R_BAKE_POSX, R_BAKE_POSY, R_BAKE_POSZ, R_BAKE_SPACE_OBJECT, R_BAKE_SPACE_TANGENT, R_BAKE_SPACE_WORLD, R_BAKE_TARGET_VERTEX_COLORS, RE_bake_engine(), RE_bake_engine_set_engine_parameters(), RE_bake_has_engine(), RE_bake_normal_world_to_object(), RE_bake_normal_world_to_tangent(), RE_bake_normal_world_to_world(), RE_bake_pixels_populate_from_objects(), blender::ed::object::BakeAPIRender::render, BakeTargets::result, RPT_ERROR, SCE_PASS_NORMAL, blender::ed::object::BakeAPIRender::scene, SUBSURF_UV_SMOOTH_NONE, blender::ed::object::BakeAPIRender::target, ModifierData::type, Object::type, blender::ed::object::BakeAPIRender::uv_layer, MultiresModifierData::uv_smooth, blender::ed::object::BakeAPIRender::view_layer, and Object::visibility_flag.
Referenced by bake_exec(), and bake_startjob().
|
static |
for exec() when there is no render job NOTE: this won't check for the escape key being pressed, but doing so isn't thread-safe.
Definition at line 159 of file object_bake_api.cc.
References G.
Referenced by bake_exec(), and bake_invoke().
|
static |
Definition at line 1863 of file object_bake_api.cc.
References bake(), bake_break(), bake_init_api_data(), bake_objects_check(), bake_pass_filter_check(), bake_set_props(), bake_targets_clear(), CTX_data_scene(), PointerRNA::data, G, blender::ed::object::BakeAPIRender::is_clear, blender::ed::object::BakeAPIRender::is_selected_to_active, blender::ed::object::BakeAPIRender::main, blender::ed::object::BakeAPIRender::normal_space, blender::ed::object::BakeAPIRender::ob, OPERATOR_CANCELLED, blender::ed::object::BakeAPIRender::pass_filter, blender::ed::object::BakeAPIRender::pass_type, ptr, R_BAKE_SPACE_TANGENT, RE_SetReports(), RE_test_break_cb(), blender::ed::object::BakeAPIRender::render, blender::ed::object::BakeAPIRender::reports, result, SCE_PASS_NORMAL, blender::ed::object::BakeAPIRender::scene, blender::ed::object::BakeAPIRender::selected_objects, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::object::BakeAPIRender::target, and blender::ed::object::BakeAPIRender::view_layer.
Referenced by OBJECT_OT_bake().
|
static |
|
static |
Definition at line 628 of file object_bake.cc.
References BLI_assert, CTX_data_scene(), is_multires_bake(), multiresbake_image_exec_locked(), NC_SCENE, ND_RENDER_RESULT, OPERATOR_CANCELLED, result, and WM_event_add_notifier().
Referenced by OBJECT_OT_bake_image().
|
static |
Definition at line 1796 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::area, BKE_screen_find_big_area(), blender::ed::object::BakeAPIRender::cage_extrusion, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_selected_objects(), CTX_data_view_layer(), CTX_wm_screen(), blender::ed::object::BakeAPIRender::custom_cage, blender::ed::object::BakeAPIRender::height, blender::ed::object::BakeAPIRender::identifier, blender::ed::object::BakeAPIRender::is_automatic_name, blender::ed::object::BakeAPIRender::is_cage, blender::ed::object::BakeAPIRender::is_clear, blender::ed::object::BakeAPIRender::is_selected_to_active, blender::ed::object::BakeAPIRender::is_split_materials, blender::ed::object::BakeAPIRender::main, blender::ed::object::BakeAPIRender::margin, blender::ed::object::BakeAPIRender::margin_type, blender::ed::object::BakeAPIRender::max_ray_distance, blender::ed::object::BakeAPIRender::normal_space, blender::ed::object::BakeAPIRender::normal_swizzle, blender::ed::object::BakeAPIRender::ob, OPERATOR_CANCELLED, blender::ed::object::BakeAPIRender::pass_filter, blender::ed::object::BakeAPIRender::pass_type, wmOperator::ptr, R_BAKE_EXTEND, R_BAKE_SAVE_EXTERNAL, R_BAKE_SAVE_INTERNAL, R_BAKE_SPACE_TANGENT, R_BAKE_TARGET_IMAGE_TEXTURES, RE_NewSceneRender(), blender::ed::object::BakeAPIRender::render, blender::ed::object::BakeAPIRender::reports, wmOperator::reports, blender::ed::object::BakeAPIRender::result, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RNA_int_get(), RNA_property_enum_identifier(), RNA_string_get(), RNA_struct_find_property(), blender::ed::object::BakeAPIRender::save_mode, SCE_PASS_NORMAL, SCE_PASS_UV, blender::ed::object::BakeAPIRender::scene, blender::ed::object::BakeAPIRender::selected_objects, SPACE_IMAGE, blender::ed::object::BakeAPIRender::target, blender::ed::object::BakeAPIRender::uv_layer, blender::ed::object::BakeAPIRender::view_layer, and blender::ed::object::BakeAPIRender::width.
Referenced by bake_exec(), and bake_invoke().
|
static |
Definition at line 2103 of file object_bake_api.cc.
References bake_break(), bake_freejob(), bake_init_api_data(), bake_job_canceled(), bake_job_complete(), bake_progress_update(), bake_set_props(), bake_startjob(), BKE_callback_exec_id(), BKE_CB_EVT_OBJECT_BAKE_PRE, CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), G, Object::id, NC_GEOM, NC_IMAGE, NC_SCENE, ND_DATA, ND_RENDER_RESULT, blender::ed::object::BakeAPIRender::ob, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, R_BAKE_TARGET_VERTEX_COLORS, RE_progress_cb(), RE_test_break_cb(), blender::ed::object::BakeAPIRender::render, blender::ed::object::BakeAPIRender::target, WM_cursor_wait(), WM_event_add_modal_handler(), WM_event_add_notifier(), WM_JOB_EXCL_RENDER, WM_JOB_PRIORITY, WM_JOB_PROGRESS, WM_JOB_TYPE_OBJECT_BAKE, WM_jobs_callbacks_ex(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), WM_jobs_test(), and WM_jobs_timer().
Referenced by OBJECT_OT_bake().
|
static |
Definition at line 1981 of file object_bake_api.cc.
References BKE_callback_exec_id(), BKE_CB_EVT_OBJECT_BAKE_CANCEL, Object::id, blender::ed::object::BakeAPIRender::main, and blender::ed::object::BakeAPIRender::ob.
Referenced by bake_invoke().
|
static |
Definition at line 1976 of file object_bake_api.cc.
References BKE_callback_exec_id(), BKE_CB_EVT_OBJECT_BAKE_COMPLETE, Object::id, blender::ed::object::BakeAPIRender::main, and blender::ed::object::BakeAPIRender::ob.
Referenced by bake_invoke().
|
static |
Definition at line 711 of file object_bake_api.cc.
References BKE_mesh_new_from_object(), blender::bke::Corner, depsgraph, and ED_mesh_split_faces().
Referenced by bake().
|
static |
Catch escape key to cancel.
Definition at line 138 of file object_bake_api.cc.
References CTX_data_scene(), CTX_wm_manager(), EVT_ESCKEY, G, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmEvent::type, WM_JOB_TYPE_OBJECT_BAKE, and WM_jobs_test().
Referenced by OBJECT_OT_bake().
|
static |
Definition at line 467 of file object_bake_api.cc.
References BASE_ENABLED_RENDER, BKE_id_attributes_color_find(), BKE_image_acquire_ibuf(), BKE_image_release_ibuf(), BKE_imageuser_default(), BKE_object_material_get(), BKE_reportf(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CD_PROP_FLOAT2, CustomData_get_active_layer_index(), Object::data, ED_object_get_active_image(), Base::flag, Material::id, Object::id, ID_TAG_DOIT, image(), LISTBASE_FOREACH, lock, ID::name, blender::bke::node_is_connected_to_output(), OB_MESH, R_BAKE_TARGET_IMAGE_TEXTURES, R_BAKE_TARGET_VERTEX_COLORS, RPT_ERROR, RPT_INFO, ImageUser::tile, tile, Object::totcol, and Object::type.
Referenced by bake_objects_check().
Definition at line 48 of file object_bake.cc.
References ED_object_get_active_image(), and image().
Referenced by bake_object_image_get_array(), and multiresbake_check().
Definition at line 55 of file object_bake.cc.
References bake_object_image_get(), MEM_mallocN, and Object::totcol.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 643 of file object_bake_api.cc.
References bake_object_check(), BKE_main_id_tag_idcode(), BKE_report(), BKE_reportf(), PointerRNA::data, ELEM, Object::id, ID_IM, ID_TAG_DOIT, blender::Span< T >::is_empty(), ID::name, OB_CURVES_LEGACY, OB_FONT, OB_MBALL, OB_MESH, OB_SURF, ptr, RPT_ERROR, and Object::type.
Referenced by bake_exec(), and bake_startjob().
|
static |
Definition at line 586 of file object_bake_api.cc.
References BKE_report(), R_BAKE_PASS_FILTER_COLOR, R_BAKE_PASS_FILTER_DIFFUSE, R_BAKE_PASS_FILTER_DIRECT, R_BAKE_PASS_FILTER_EMIT, R_BAKE_PASS_FILTER_GLOSSY, R_BAKE_PASS_FILTER_INDIRECT, R_BAKE_PASS_FILTER_SUBSURFACE, R_BAKE_PASS_FILTER_TRANSM, RPT_ERROR, SCE_PASS_COMBINED, SCE_PASS_DIFFUSE_COLOR, SCE_PASS_GLOSSY_COLOR, SCE_PASS_SUBSURFACE_COLOR, and SCE_PASS_TRANSM_COLOR.
Referenced by bake_exec(), and bake_startjob().
|
static |
Definition at line 125 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::do_update, and blender::ed::object::BakeAPIRender::progress.
Referenced by bake_invoke().
|
static |
Definition at line 1148 of file object_bake_api.cc.
References add_v3_v3(), and add_v4_v4().
Referenced by bake_targets_output_vertex_colors().
|
static |
Definition at line 1996 of file object_bake_api.cc.
References wmOperator::ptr, R_BAKE_AUTO_NAME, R_BAKE_CAGE, R_BAKE_CLEAR, R_BAKE_SPLIT_MAT, R_BAKE_TO_ACTIVE, RNA_property_boolean_set(), RNA_property_enum_set(), RNA_property_float_set(), RNA_property_int_set(), RNA_property_is_set(), RNA_property_string_set(), and RNA_struct_find_property().
Referenced by bake_exec(), and bake_invoke().
|
static |
Definition at line 1924 of file object_bake_api.cc.
References bake(), bake_objects_check(), bake_pass_filter_check(), bake_targets_clear(), PointerRNA::data, blender::ed::object::BakeAPIRender::do_update, wmJobWorkerStatus::do_update, blender::ed::object::BakeAPIRender::is_clear, blender::ed::object::BakeAPIRender::is_selected_to_active, blender::ed::object::BakeAPIRender::main, blender::ed::object::BakeAPIRender::normal_space, blender::ed::object::BakeAPIRender::ob, OPERATOR_CANCELLED, blender::ed::object::BakeAPIRender::pass_filter, blender::ed::object::BakeAPIRender::pass_type, blender::ed::object::BakeAPIRender::progress, wmJobWorkerStatus::progress, ptr, R_BAKE_SPACE_TANGENT, RE_SetReports(), blender::ed::object::BakeAPIRender::render, blender::ed::object::BakeAPIRender::reports, blender::ed::object::BakeAPIRender::result, SCE_PASS_NORMAL, blender::ed::object::BakeAPIRender::scene, blender::ed::object::BakeAPIRender::selected_objects, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::object::BakeAPIRender::target, and blender::ed::object::BakeAPIRender::view_layer.
Referenced by bake_invoke().
|
static |
Definition at line 701 of file object_bake_api.cc.
References ID_TAG_DOIT, Main::images, LISTBASE_FOREACH, and RE_bake_ibuf_clear().
Referenced by bake_exec(), and bake_startjob().
|
static |
Definition at line 1385 of file object_bake_api.cc.
References BakeTargets::images, BakeTargets::material_to_image, MEM_SAFE_FREE, and BakeTargets::result.
Referenced by bake().
|
static |
Definition at line 1311 of file object_bake_api.cc.
References bake_targets_init_external(), bake_targets_init_internal(), bake_targets_init_vertex_colors(), BakeTargets::channels_num, BakeTargets::is_noncolor, is_noncolor_pass(), blender::ed::object::BakeAPIRender::main, MEM_callocN, blender::ed::object::BakeAPIRender::pass_type, BakeTargets::pixels_num, R_BAKE_SAVE_EXTERNAL, R_BAKE_SAVE_INTERNAL, R_BAKE_TARGET_IMAGE_TEXTURES, R_BAKE_TARGET_VERTEX_COLORS, RE_pass_depth(), BakeTargets::result, blender::ed::object::BakeAPIRender::save_mode, and blender::ed::object::BakeAPIRender::target.
Referenced by bake().
|
static |
Definition at line 870 of file object_bake_api.cc.
References bake_targets_init_image_textures(), BakeImage::height, blender::ed::object::BakeAPIRender::height, BakeImage::image, BakeTargets::images, BakeTargets::images_num, blender::ed::object::BakeAPIRender::is_split_materials, BakeTargets::material_to_image, BakeTargets::materials_num, BakeImage::offset, BakeTargets::pixels_num, BakeImage::width, and blender::ed::object::BakeAPIRender::width.
Referenced by bake_targets_init().
|
static |
Definition at line 726 of file object_bake_api.cc.
References BKE_main_id_tag_idcode(), BKE_report(), ED_object_get_active_image(), ID_IM, ID_TAG_DOIT, BakeImage::image, image(), BakeTargets::images, BakeTargets::images_num, blender::ed::object::BakeAPIRender::is_split_materials, LISTBASE_FOREACH, blender::ed::object::BakeAPIRender::main, BakeTargets::material_to_image, BakeTargets::materials_num, MEM_callocN, MEM_recallocN, R_BAKE_SAVE_INTERNAL, RPT_ERROR, blender::ed::object::BakeAPIRender::save_mode, tile, BakeImage::tile_number, and Object::totcol.
Referenced by bake_targets_init_external(), and bake_targets_init_internal().
|
static |
Definition at line 783 of file object_bake_api.cc.
References bake_targets_init_image_textures(), BKE_image_acquire_ibuf(), BKE_image_get_tile_uv(), BKE_image_release_ibuf(), BKE_imageuser_default(), BKE_reportf(), BakeImage::height, Image::id, BakeImage::image, BakeTargets::images, BakeTargets::images_num, lock, ID::name, BakeImage::offset, BakeTargets::pixels_num, RPT_ERROR, ImageUser::tile, BakeImage::tile_number, BakeImage::uv_offset, BakeImage::width, ImBuf::x, and ImBuf::y.
Referenced by bake_targets_init().
|
static |
Definition at line 991 of file object_bake_api.cc.
References BKE_id_attributes_color_find(), BKE_report(), Object::data, editmode_load(), BakeImage::height, BakeImage::image, BakeTargets::images, BakeTargets::images_num, BakeTargets::material_to_image, BakeTargets::materials_num, MEM_callocN, OB_MESH, BakeImage::offset, BakeTargets::pixels_num, RPT_ERROR, Object::totcol, Object::type, and BakeImage::width.
Referenced by bake_targets_init().
|
static |
Definition at line 1361 of file object_bake_api.cc.
References bake_targets_output_external(), bake_targets_output_internal(), bake_targets_output_vertex_colors(), R_BAKE_SAVE_EXTERNAL, R_BAKE_SAVE_INTERNAL, R_BAKE_TARGET_IMAGE_TEXTURES, R_BAKE_TARGET_VERTEX_COLORS, blender::ed::object::BakeAPIRender::save_mode, and blender::ed::object::BakeAPIRender::target.
Referenced by bake().
|
static |
Definition at line 904 of file object_bake_api.cc.
References RenderData::bake, BKE_image_path_from_imtype(), BKE_main_blendfile_path(), BKE_reportf(), BLI_path_suffix(), BakeTargets::channels_num, FILE_MAX, blender::ed::object::BakeAPIRender::filepath, BakeImage::height, Material::id, Object::id, blender::ed::object::BakeAPIRender::identifier, BakeTargets::images, BakeTargets::images_num, blender::ed::object::BakeAPIRender::is_automatic_name, BakeTargets::is_noncolor, blender::ed::object::BakeAPIRender::is_split_materials, blender::ed::object::BakeAPIRender::main, blender::ed::object::BakeAPIRender::margin, blender::ed::object::BakeAPIRender::margin_type, Mesh::mat, Object::mat, ID::name, blender::ed::object::BakeAPIRender::normal_space, BakeImage::offset, blender::ed::object::BakeAPIRender::pass_type, Scene::r, R_BAKE_SPACE_TANGENT, BakeTargets::result, RPT_ERROR, RPT_INFO, SCE_PASS_NORMAL, blender::ed::object::BakeAPIRender::scene, SNPRINTF, BakeImage::tile_number, blender::ed::object::BakeAPIRender::uv_layer, BakeImage::uv_offset, BakeImage::width, and write_external_bake_pixels().
Referenced by bake_targets_output().
|
static |
Definition at line 822 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::area, bake_update_image(), BKE_report(), BKE_reportf(), BakeTargets::channels_num, BakeImage::height, Object::id, BakeImage::image, BakeTargets::images, BakeTargets::images_num, blender::ed::object::BakeAPIRender::is_clear, BakeTargets::is_noncolor, blender::ed::object::BakeAPIRender::margin, blender::ed::object::BakeAPIRender::margin_type, ID::name, blender::ed::object::BakeAPIRender::normal_space, BakeImage::offset, blender::ed::object::BakeAPIRender::pass_type, R_BAKE_SPACE_TANGENT, BakeTargets::result, RPT_ERROR, RPT_INFO, SCE_PASS_NORMAL, BakeImage::tile_number, blender::ed::object::BakeAPIRender::uv_layer, BakeImage::uv_offset, BakeImage::width, and write_internal_bake_pixels().
Referenced by bake_targets_output().
|
static |
Definition at line 1182 of file object_bake_api.cc.
References bake_result_add_to_rgba(), BKE_attribute_domain(), BKE_id_attributes_color_find(), BLI_assert, BM_ELEM_CD_GET_VOID_P, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_VERTS_OF_MESH, CD_PROP_COLOR, BakeTargets::channels_num, convert_float_color_to_byte_color(), blender::bke::Corner, CustomData_get_offset_named(), CustomDataLayer::data, Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, BakeTargets::is_noncolor, l, MEM_callocN, MEM_freeN(), MEM_malloc_arrayN, MEM_SAFE_FREE, mul_v4_fl(), CustomDataLayer::name, blender::bke::Point, BakeTargets::result, CustomDataLayer::type, v, and zero_v4().
Referenced by bake_targets_output().
|
static |
Definition at line 1347 of file object_bake_api.cc.
References bake_targets_populate_pixels_color_attributes(), BakeTargets::pixels_num, R_BAKE_TARGET_VERTEX_COLORS, RE_bake_pixels_populate(), blender::ed::object::BakeAPIRender::target, and blender::ed::object::BakeAPIRender::uv_layer.
Referenced by bake().
|
static |
Definition at line 1056 of file object_bake_api.cc.
References CD_ORIGINDEX, blender::bke::mesh::corner_tris_calc(), Mesh::corners_num, CustomData_get_layer(), Object::data, Mesh::face_data, Mesh::faces_num, find_original_loop(), l, MEM_freeN(), MEM_mallocN, ORIGINDEX_NONE, BakeTargets::pixels_num, poly_to_tri_count(), BakePixel::primitive_id, v, and Mesh::vert_data.
Referenced by bake_targets_populate_pixels().
|
static |
Definition at line 348 of file object_bake_api.cc.
References BKE_image_free_gputextures(), BKE_image_partial_update_mark_full_update(), DEG_id_tag_update(), Image::id, BakeImage::image, BakeTargets::images, and BakeTargets::images_num.
Referenced by bake().
Definition at line 167 of file object_bake_api.cc.
References image(), SpaceImage::image, and SPACE_IMAGE.
Referenced by bake_targets_output_internal().
Change active base, it includes the notifier
Definition at line 108 of file object_select.cc.
References ViewLayer::basact, base_active_refresh(), CTX_data_main(), CTX_data_scene(), and CTX_data_view_layer().
Referenced by add_type_with_obdata(), base_activate_with_mode_exit_if_needed(), bone_select_menu_exec(), duplicate_exec(), ED_armature_edit_select_pick_bone(), ED_curve_editnurb_select_pick(), ED_lattice_select_pick(), ED_mball_select_pick(), ed_object_select_pick(), edbm_polybuild_delete_at_cursor_invoke(), edbm_polybuild_dissolve_at_cursor_invoke(), edbm_polybuild_face_at_cursor_invoke(), edbm_polybuild_split_at_cursor_invoke(), edbm_polybuild_transform_at_cursor_invoke(), EDBM_select_pick(), edbm_shortest_path_pick_invoke(), edcu_shortest_path_pick_invoke(), jump_to_object(), object_add_named_exec(), object_convert_exec(), object_select_menu_exec(), and select_grouped_parent().
Definition at line 116 of file object_select.cc.
References base_activate(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), editmode_exit_multi_ex(), EM_FREEDATA, Object::mode, OB_MODE_EDIT, Base::object, and Object::type.
Referenced by mouse_nla_tracks(), and blender::ed::outliner::tree_element_object_activate().
| void blender::ed::object::base_active_refresh | ( | Main * | bmain, |
| Scene * | scene, | ||
| ViewLayer * | view_layer ) |
Call when the active base has changed.
Definition at line 98 of file object_select.cc.
References DEG_id_tag_update(), ListBase::first, ID_RECALC_SELECT, NC_SCENE, ND_OB_ACTIVE, Main::wm, WM_main_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by base_activate().
| bool blender::ed::object::base_deselect_all | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| View3D * | v3d, | ||
| int | action ) |
Definition at line 190 of file object_select.cc.
References base_deselect_all_ex().
Referenced by jump_to_object(), object_add_named_exec(), object_select_by_type_exec(), object_select_grouped_exec(), and object_select_linked_exec().
| bool blender::ed::object::base_deselect_all_ex | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| View3D * | v3d, | ||
| int | action, | ||
| bool * | r_any_visible ) |
Definition at line 134 of file object_select.cc.
References BA_DESELECT, BA_SELECT, base_select(), BASE_SELECTED, FOREACH_VISIBLE_BASE_BEGIN, FOREACH_VISIBLE_BASE_END, View3D::object_type_exclude_select, SEL_DESELECT, SEL_INVERT, SEL_SELECT, and SEL_TOGGLE.
Referenced by base_deselect_all(), and object_select_all_exec().
Remove base from a specific scene.
Definition at line 2152 of file object_add.cc.
References BKE_lib_override_library_id_is_user_deletable(), BKE_library_ID_is_indirectly_used(), BKE_scene_collections_object_remove(), DEG_id_tag_update_ex(), Object::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_RECALC_BASE_FLAGS, ID::name, and printf.
Referenced by ED_armature_join_objects_exec(), ED_curve_join_objects_exec(), ED_grease_pencil_join_objects_exec(), ED_mesh_join_objects_exec(), blender::ed::outliner::id_override_library_create_hierarchy(), make_override_library_exec(), and object_convert_exec().
| void blender::ed::object::base_free_and_unlink_no_indirect_check | ( | Main * | bmain, |
| Scene * | scene, | ||
| Object * | ob ) |
Remove base from a specific scene. ob must not be indirectly used.
Definition at line 2174 of file object_add.cc.
References BKE_library_ID_is_indirectly_used(), BKE_scene_collections_object_remove(), BLI_assert, DEG_id_tag_update_ex(), Object::id, and ID_RECALC_BASE_FLAGS.
Referenced by object_delete_exec().
| void blender::ed::object::base_select | ( | Base * | base, |
| eObjectSelect_Mode | mode ) |
Simple API for object selection, rather than just using the flag this takes into account the 'restrict selection in 3d view' flag. deselect works always, the restriction just prevents selection
NC_SCENE | ND_OB_SELECT notifier (or a NC_SCENE | ND_OB_VISIBLE in case of visibility toggling). Definition at line 74 of file object_select.cc.
References BA_DESELECT, BA_INVERT, BA_SELECT, BASE_SELECTABLE, BASE_SELECTED, BKE_scene_object_base_flag_sync_from_base(), and Base::flag.
Referenced by base_deselect_all_ex(), bone_select_menu_exec(), clear_trans_object_base_flags(), do_lasso_select_objects(), do_object_box_select(), blender::ed::outliner::do_outliner_item_editmode_toggle(), blender::ed::outliner::do_outliner_item_posemode_toggle(), blender::ed::outliner::do_outliner_object_select_recursive(), duplibase_for_convert(), duplicate_exec(), ED_armature_pose_select_in_wpaint_mode(), ed_object_select_pick(), get_new_constraint_target(), jump_to_object(), localview_remove_from_exec(), make_local_all__instance_indirect_unused(), make_object_duplilist_real(), mesh_separate_arrays(), mesh_separate_tagged(), mouse_nla_tracks(), object_add_named_exec(), object_circle_select(), object_deselect_all_except(), object_deselect_all_visible(), object_hide_view_set_exec(), object_select_all_by_instance_collection(), object_select_all_by_library(), object_select_all_by_library_obdata(), object_select_all_by_material(), object_select_all_by_obdata(), object_select_all_by_particle(), object_select_by_type_exec(), blender::ed::outliner::object_select_fn(), object_select_menu_exec(), object_select_mirror_exec(), object_select_more_less(), object_select_random_exec(), object_select_same_collection_exec(), blender::ed::outliner::outliner_select_sync_to_object(), blender::ed::outliner::scene_drop_invoke(), select_grouped_children(), select_grouped_collection(), select_grouped_color(), select_grouped_exec(), select_grouped_index_object(), select_grouped_keyingset(), select_grouped_lighttype(), select_grouped_object_hooks(), select_grouped_parent(), select_grouped_siblings(), select_grouped_type(), and blender::ed::outliner::tree_element_object_activate().
|
static |
Definition at line 188 of file object_bake_api.cc.
References BLI_assert, channels(), and fabsf.
Referenced by write_external_bake_pixels(), and write_internal_bake_pixels().
|
static |
Definition at line 52 of file add_modifier_assets.cc.
References blender::asset_system::all_library_reference(), blender::asset_system::all_library_reload_catalogs_if_dirty(), BKE_asset_metadata_idprop_find(), blender::ed::asset::build_filtered_all_catalog_tree(), FILTER_ID_NT, GEO_NODE_ASSET_MODIFIER, blender::ed::asset::AssetFilterSettings::id_types, IDP_Int, and NTREE_GEOMETRY.
Referenced by root_catalogs_draw().
Definition at line 110 of file object_utils.cc.
References Object::base_flag, BASE_SELECTED, calc_active_center_for_editmode(), calc_active_center_for_posemode(), copy_v3_v3(), Object::mode, mul_m4_v3(), OB_MODE_EDIT, and OB_MODE_POSE.
Referenced by gizmo_3d_calc_pos(), and snap_calc_active_center().
| bool blender::ed::object::calc_active_center_for_editmode | ( | Object * | obedit, |
| bool | select_only, | ||
| float | r_center[3] ) |
Definition at line 43 of file object_utils.cc.
References bArmature::act_edbone, BKE_editmesh_from_object(), BKE_lattice_active_point_get(), BMEditMesh::bm, BM_editselection_center(), BM_select_history_active_get(), BONE_ROOTSEL, BONE_SELECTED, copy_v3_v3(), Object::data, ED_curve_active_center(), EditBone::flag, MetaElem::flag, EditBone::head, MetaBall::lastelem, OB_ARMATURE, OB_CURVES_LEGACY, OB_LATTICE, OB_MBALL, OB_MESH, OB_SURF, SELECT, Object::type, BPoint::vec, and MetaElem::x.
Referenced by calc_active_center(), calculateCenterActive(), and edbm_point_normals_modal().
| bool blender::ed::object::calc_active_center_for_posemode | ( | Object * | ob, |
| bool | select_only, | ||
| float | r_center[3] ) |
Definition at line 100 of file object_utils.cc.
References BKE_pose_channel_active_if_bonecoll_visible(), bPoseChannel::bone, BONE_SELECTED, copy_v3_v3(), Bone::flag, and bPoseChannel::pose_head.
Referenced by calc_active_center(), and calculateCenterActive().
Definition at line 79 of file add_modifier_assets.cc.
References BLI_assert, CTX_data_string_get(), blender::ed::asset::draw_menu_for_catalog(), blender::asset_system::AssetCatalogTreeItem::foreach_child(), get_static_item_tree(), blender::asset_system::AssetCatalogTreeItem::has_children(), IFACE_, blender::Span< T >::is_empty(), Menu::layout, blender::ed::asset::operator_asset_reference_props_set(), ot, tree, UI_ITEM_NONE, uiItemFullO_ptr(), uiItemS(), WM_OP_INVOKE_DEFAULT, and WM_operatortype_find().
Referenced by modifier_add_catalog_assets_menu_type().
Definition at line 1108 of file object_edit.cc.
References BKE_modifiers_findby_type(), ELEM, eModifierType_Surface, PartDeflect::forcefield, modifier_add(), modifier_remove(), OB_CURVES_LEGACY, OB_FONT, OB_MESH, OB_SURF, PFIELD_GUIDE, PFIELD_SHAPE_SURFACE, PFIELD_TEXTURE, and PartDeflect::shape.
Referenced by forcefield_toggle_exec().
|
static |
Definition at line 3011 of file object_relations.cc.
References BKE_report(), wmOperator::reports, RPT_ERROR, SOCK_CUSTOM, SOCK_GEOMETRY, tree, and blender::bke::bNodeSocketType::type.
Referenced by drop_geometry_nodes_invoke().
|
static |
Definition at line 4030 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BKE_report(), BLI_findlink(), DG_LOCK_WEIGHT, bDeformGroup::flag, wmOperator::reports, and RPT_ERROR.
Referenced by vertex_weight_delete_exec(), and vertex_weight_paste_exec().
|
static |
Definition at line 1009 of file object_constraint.cc.
References BKE_report(), CONSTRAINT_TYPE_CHILDOF, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, unit_m4(), and WM_event_add_notifier().
Referenced by childof_clear_inverse_invoke(), and CONSTRAINT_OT_childof_clear_inverse().
|
static |
Definition at line 1030 of file object_constraint.cc.
References childof_clear_inverse_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_childof_clear_inverse().
|
static |
Definition at line 955 of file object_constraint.cc.
References BKE_report(), CHILDOF_SET_INVERSE, CONSTRAINT_TYPE_CHILDOF, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), force_evaluation_if_constraint_disabled(), Object::id, ID::name, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, printf, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by childof_set_inverse_invoke(), and CONSTRAINT_OT_childof_set_inverse().
|
static |
Definition at line 981 of file object_constraint.cc.
References childof_set_inverse_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_childof_set_inverse().
|
static |
Definition at line 304 of file object_bake.cc.
References clear_single_image(), flag, Image::id, and ID::tag.
Referenced by multiresbake_image_exec_locked(), and multiresbake_startjob().
|
static |
Definition at line 2735 of file object_relations.cc.
References ViewLayer::basact, BKE_id_delete(), BKE_lib_override_library_id_reset(), BKE_lib_override_library_is_hierarchy_leaf(), BKE_libblock_remap(), BKE_view_layer_active_object_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_linklist_prepend_alloca, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, Object::id, ID_IS_LINKED, ID_RECALC_BASE_FLAGS, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, ID_REMAP_SKIP_INDIRECT_USAGE, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, LinkNode::next, OPERATOR_FINISHED, ID::override_library, IDOverrideLibrary::reference, and WM_event_add_notifier().
Referenced by OBJECT_OT_clear_override_library().
Definition at line 270 of file object_bake.cc.
References BKE_image_acquire_ibuf(), BKE_image_release_ibuf(), BKE_imageuser_default(), CLEAR_DISPLACEMENT, CLEAR_TANGENT_NORMAL, flag, ID_TAG_DOIT, IMB_rectfill(), LISTBASE_FOREACH, ImBuf::planes, R_IMF_PLANES_RGBA, ImageUser::tile, and tile.
Referenced by clear_images_poly().
|
static |
Definition at line 857 of file object_collection.cc.
References BKE_collection_add(), BKE_collection_object_add(), context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), id_fake_user_set(), ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_collection_add().
|
static |
Definition at line 1644 of file object_add.cc.
References add_generic_get_opts(), BKE_collection_cycle_find(), BKE_layer_collection_activate_parent(), BKE_layer_collection_get_active(), BLI_findlink(), LayerCollection::collection, Main::collections, CTX_data_main(), CTX_data_view_layer(), CTX_wm_region_view3d(), ED_view3d_cursor3d_position(), ID_GR, location_from_view(), object_add_drop_xy_get(), wmOperator::ptr, RNA_enum_get(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by collection_drop_exec(), and collection_instance_add_exec().
|
static |
Definition at line 402 of file object_collection.cc.
References BKE_collection_add(), BKE_collection_object_add(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), id_fake_user_set(), ID_RECALC_SYNC_TO_EVAL, MAX_ID_NAME, NA_EDITED, NC_GROUP, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_event_add_notifier().
Referenced by COLLECTION_OT_create().
|
static |
Definition at line 1786 of file object_add.cc.
References add_type(), BKE_collection_child_remove(), BKE_view_layer_array_selected_objects_params(), LayerCollection::collection, collection_add_info_get_from_op(), CTX_data_layer_collection(), CTX_data_main(), CTX_data_view_layer(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::empty_drawsize, Collection::id, ID_IS_EDITABLE, ID_RECALC_SYNC_TO_EVAL, id_us_plus(), Object::instance_collection, loc_eul_size_to_mat4(), negate_v3_v3(), OB_DUPLICOLLECTION, OB_EMPTY, object_xform_array_m4(), OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_boolean_get(), Object::transflag, translate_m4(), unit_m4(), and UNPACK3.
Referenced by OBJECT_OT_collection_external_asset_drop().
|
static |
Definition at line 695 of file object_collection.cc.
References collection_exporter_export(), blender::ed::object::CollectionExportStats::collections_num, LISTBASE_FOREACH, OPERATOR_CANCELLED, OPERATOR_FINISHED, and blender::ed::object::CollectionExportStats::successful_exports_num.
Referenced by collection_export_recursive(), and collection_io_export_all_exec().
|
static |
Definition at line 466 of file object_collection.cc.
References CTX_data_view_layer().
Referenced by WM_OT_collection_export_all().
|
static |
Definition at line 754 of file object_collection.cc.
References LayerCollection::collection, collection_export(), collection_export_recursive(), collection_exporter_common_check(), LayerCollection::flag, LAYER_COLLECTION_EXCLUDE, LayerCollection::layer_collections, LISTBASE_FOREACH, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by collection_export_recursive(), and wm_collection_export_all_exec().
|
static |
Definition at line 471 of file object_collection.cc.
References BKE_collection_exporter_name_set(), BKE_reportf(), BKE_view_layer_need_resync_tag(), BLI_addtail(), BLI_listbase_count(), CTX_data_collection(), CTX_data_view_layer(), DEG_id_tag_update(), blender::bke::FileHandlerType::export_operator, blender::bke::file_handler_find(), ID_RECALC_SYNC_TO_EVAL, blender::bke::FileHandlerType::idname, IDP_GROUP, IDP_New(), IO_HANDLER_PANEL_OPEN, blender::bke::FileHandlerType::label, MAX_ID_NAME, NC_SPACE, ND_SPACE_OUTLINER, ND_SPACE_PROPERTIES, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_string_get(), RPT_ERROR, STRNCPY, WM_event_add_notifier(), and WM_operatortype_find().
Referenced by COLLECTION_OT_exporter_add().
|
static |
Definition at line 447 of file object_collection.cc.
References ID_IS_LINKED, and ID_IS_OVERRIDE_LIBRARY.
Referenced by collection_export_recursive(), collection_exporter_poll(), and collection_exporter_remove_poll().
|
static |
Definition at line 587 of file object_collection.cc.
References BKE_main_blendfile_path(), BKE_reportf(), BLI_path_abs(), BLI_path_basename(), BLI_path_extension(), BLI_path_join, CTX_data_main(), blender::bke::FileHandlerType::export_operator, blender::bke::file_handler_find(), FILE_MAX, blender::bke::FileHandlerType::get_default_filename(), IDP_CopyProperty(), IDP_FreeProperty(), wmOperatorType::last_properties, OPERATOR_CANCELLED, OPERATOR_FINISHED, ot, wmOperator::reports, RNA_pointer_create(), RNA_string_get(), RNA_string_set(), RPT_ERROR, RPT_INFO, wmOperatorType::srna, WM_OP_EXEC_DEFAULT, WM_operator_name_call_ptr(), and WM_operatortype_find().
Referenced by collection_export(), and collection_exporter_export_exec().
|
static |
Definition at line 659 of file object_collection.cc.
References BLI_findlink(), collection_exporter_export(), CTX_data_collection(), OPERATOR_CANCELLED, wmOperator::ptr, and RNA_int_get().
Referenced by COLLECTION_OT_exporter_export().
|
static |
Definition at line 820 of file object_collection.cc.
References blender::bke::file_handlers(), IFACE_, Menu::layout, uiItemL(), uiItemStringO(), and WM_operatortype_find().
Referenced by collection_exporter_register().
|
static |
Definition at line 453 of file object_collection.cc.
References collection_exporter_common_check(), and CTX_data_collection().
Referenced by COLLECTION_OT_export_all(), COLLECTION_OT_exporter_add(), and COLLECTION_OT_exporter_export().
| void blender::ed::object::collection_exporter_register | ( | ) |
Definition at line 840 of file object_collection.cc.
References collection_exporter_menu_draw(), COLLECTION_OT_export_all(), COLLECTION_OT_exporter_add(), COLLECTION_OT_exporter_export(), COLLECTION_OT_exporter_remove(), MenuType::draw, MenuType::idname, MenuType::label, N_, STRNCPY, WM_menutype_add(), WM_operatortype_append(), and WM_OT_collection_export_all().
Referenced by operatortypes_object().
|
static |
Definition at line 532 of file object_collection.cc.
References BKE_collection_exporter_free_data(), BKE_view_layer_need_resync_tag(), BLI_findlink(), BLI_listbase_count(), BLI_remlink(), count, CTX_data_collection(), CTX_data_view_layer(), DEG_id_tag_update(), ID_RECALC_SYNC_TO_EVAL, MEM_freeN(), NC_SPACE, ND_SPACE_OUTLINER, ND_SPACE_PROPERTIES, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), and WM_event_add_notifier().
Referenced by COLLECTION_OT_exporter_remove().
|
static |
Definition at line 561 of file object_collection.cc.
References ALERT_ICON_NONE, IFACE_, and WM_operator_confirm_ex().
Referenced by COLLECTION_OT_exporter_remove().
|
static |
Definition at line 459 of file object_collection.cc.
References BLI_listbase_is_empty(), collection_exporter_common_check(), and CTX_data_collection().
Referenced by COLLECTION_OT_exporter_remove().
Definition at line 433 of file object_edit.cc.
References BKE_layer_collection_findindex(), BKE_layer_collection_has_selected_objects(), COLLECTION_HIDE_VIEWPORT, CTX_data_scene(), CTX_data_view_layer(), ListBase::first, LAYER_COLLECTION_EXCLUDE, LAYER_COLLECTION_HAS_OBJECTS, LayerCollection::layer_collections, ViewLayer::layer_collections, LISTBASE_FOREACH, uiItemIntO(), uiLayoutRow(), uiLayoutSetOperatorContext(), and WM_OP_EXEC_REGION_WIN.
Referenced by hide_collections_menu_draw(), and object_hide_collection_invoke().
|
static |
Definition at line 1699 of file object_add.cc.
References add_type(), collection_add_info_get_from_op(), Object::empty_drawsize, id_us_plus(), Object::instance_collection, OB_DUPLICOLLECTION, OB_EMPTY, OPERATOR_CANCELLED, OPERATOR_FINISHED, and Object::transflag.
Referenced by OBJECT_OT_collection_instance_add().
|
static |
Definition at line 720 of file object_collection.cc.
References BKE_reportf(), collection_export(), CTX_data_collection(), OPERATOR_FINISHED, wmOperator::reports, result, RPT_INFO, and blender::ed::object::CollectionExportStats::successful_exports_num.
Referenced by COLLECTION_OT_export_all().
|
static |
Definition at line 893 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_add(), BKE_collection_object_cyclic_check(), BKE_report(), BLI_findlink(), Main::collections, context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_collection_link().
|
static |
Definition at line 109 of file object_collection.cc.
References BKE_collection_object_find().
Referenced by collection_objects_remove_exec(), objects_add_active_exec(), and objects_remove_active_exec().
|
static |
Definition at line 56 of file object_collection.cc.
References BKE_collection_object_find(), context_object(), count, CTX_data_main(), CTX_data_scene(), rna_enum_dummy_NULL_items, RNA_enum_item_add(), RNA_enum_item_add_separator(), RNA_enum_item_end(), and UI_icon_color_from_collection().
Referenced by COLLECTION_OT_objects_add_active(), COLLECTION_OT_objects_remove(), and COLLECTION_OT_objects_remove_active().
|
static |
Definition at line 295 of file object_collection.cc.
References BKE_object_groups_clear(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), NA_EDITED, NC_GROUP, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by COLLECTION_OT_objects_remove_all().
|
static |
Definition at line 326 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_remove(), collection_object_active_find_index(), context_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), FOREACH_COLLECTION_BEGIN, FOREACH_COLLECTION_END, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GROUP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by COLLECTION_OT_objects_remove().
| void blender::ed::object::COLLECTION_OT_create | ( | wmOperatorType * | ot | ) |
Definition at line 429 of file object_collection.cc.
References collection_create_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by operatortypes_object().
|
static |
Definition at line 739 of file object_collection.cc.
References collection_exporter_poll(), collection_io_export_all_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by collection_exporter_register().
|
static |
Definition at line 515 of file object_collection.cc.
References collection_exporter_add_exec(), collection_exporter_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by collection_exporter_register().
|
static |
Definition at line 673 of file object_collection.cc.
References collection_exporter_export_exec(), collection_exporter_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by collection_exporter_register().
|
static |
Definition at line 569 of file object_collection.cc.
References collection_exporter_remove_exec(), collection_exporter_remove_invoke(), collection_exporter_remove_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by collection_exporter_register().
| void blender::ed::object::COLLECTION_OT_objects_add_active | ( | wmOperatorType * | ot | ) |
Definition at line 187 of file object_collection.cc.
References collection_object_active_itemf(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, objects_add_active_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove | ( | wmOperatorType * | ot | ) |
Definition at line 373 of file object_collection.cc.
References collection_object_active_itemf(), collection_objects_remove_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove_active | ( | wmOperatorType * | ot | ) |
Definition at line 266 of file object_collection.cc.
References collection_object_active_itemf(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, objects_remove_active_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove_all | ( | wmOperatorType * | ot | ) |
Definition at line 311 of file object_collection.cc.
References collection_objects_remove_all_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
|
static |
Definition at line 970 of file object_collection.cc.
References BKE_collection_object_remove(), BKE_report(), context_object(), CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_collection_remove().
|
static |
Definition at line 1012 of file object_collection.cc.
References BKE_id_delete(), BKE_report(), BLI_assert, COLLECTION_IS_MASTER, CTX_data_collection(), CTX_data_main(), DEG_relations_tag_update(), ID_FLAG_EMBEDDED_DATA, ID_IS_OVERRIDE_LIBRARY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_collection_unlink().
|
static |
Definition at line 1043 of file object_collection.cc.
References BLI_assert, COLLECTION_IS_MASTER, CTX_data_collection(), ED_operator_objectmode(), ID_FLAG_EMBEDDED_DATA, and ID_IS_OVERRIDE_LIBRARY.
Referenced by OBJECT_OT_collection_unlink().
| bConstraint * blender::ed::object::constraint_active_get | ( | Object * | ob | ) |
Single constraint.
Definition at line 147 of file object_constraint.cc.
References BKE_constraints_active_get(), and constraint_active_list().
If object is in pose-mode, return active bone constraints, else object constraints. No constraints are returned for a bone on an inactive bone-layer.
Definition at line 77 of file object_constraint.cc.
References BKE_pose_channel_active_if_bonecoll_visible(), bPoseChannel::constraints, Object::constraints, Object::mode, and OB_MODE_POSE.
Referenced by constraint_active_get(), BCAnimationSampler::find_depending_animated(), pose_constraint_add_exec(), and pose_ik_add_exec().
| void blender::ed::object::constraint_active_set | ( | Object * | ob, |
| bConstraint * | con ) |
Definition at line 1318 of file object_constraint.cc.
References BKE_constraints_active_set(), CONSTRAINT_ACTIVE, constraint_list_from_constraint(), and bConstraint::flag.
Referenced by constraint_active_func().
|
static |
Definition at line 2365 of file object_constraint.cc.
References BKE_constraint_add_for_object(), BKE_constraint_add_for_pose(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_pose_tag_recalc(), BKE_pose_update_constraint_flags(), BKE_report(), BPY_pyconstraint_update(), CONSTRAINT_TYPE_NULL, CONSTRAINT_TYPE_PYTHON, Object::constraints, CTX_data_main(), bConstraint::data, DEG_id_tag_update(), DEG_relations_tag_update(), get_new_constraint_target(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, MEM_freeN(), NA_ADDED, bPoseChannel::name, NC_OBJECT, ND_CONSTRAINT, OB_ARMATURE, object_test_constraints(), OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, wmOperator::reports, RPT_ERROR, set_constraint_nth_target(), Object::type, and WM_event_add_notifier().
Referenced by object_constraint_add_exec(), pose_constraint_add_exec(), and pose_ik_add_exec().
|
static |
Definition at line 1515 of file object_constraint.cc.
References BKE_constraint_apply_and_remove_for_object(), BKE_constraint_apply_and_remove_for_pose(), BKE_report(), BKE_reportf(), constraint_list_from_constraint(), constraint_update(), constraints, context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, edit_constraint_property_get(), Object::id, ID_RECALC_TRANSFORM, MAX_NAME, NA_REMOVED, bConstraint::name, NC_OBJECT, ND_CONSTRAINT, ND_POSE, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, STRNCPY, and WM_event_add_notifier().
Referenced by constraint_apply_invoke(), and CONSTRAINT_OT_apply().
|
static |
Definition at line 1581 of file object_constraint.cc.
References constraint_apply_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_apply().
|
static |
Definition at line 1614 of file object_constraint.cc.
References BKE_constraint_copy_for_object(), BKE_constraint_copy_for_pose(), BKE_reportf(), BLI_assert, BLI_findindex(), BLI_listbase_link_move(), constraint_list_from_constraint(), CONSTRAINT_OVERRIDE_LIBRARY_LOCAL, constraint_update(), constraints, context_active_object(), CTX_data_main(), DEG_relations_tag_update(), edit_constraint_property_get(), bConstraint::flag, MAX_NAME, NA_ADDED, bConstraint::name, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, STRNCPY, and WM_event_add_notifier().
Referenced by constraint_copy_invoke(), and CONSTRAINT_OT_copy().
| void blender::ed::object::constraint_copy_for_object | ( | Main * | bmain, |
| Object * | ob_dst, | ||
| bConstraint * | con ) |
Definition at line 1421 of file object_constraint.cc.
References BKE_constraint_copy_for_object(), constraint_dependency_tag_update(), CONSTRAINT_OVERRIDE_LIBRARY_LOCAL, bConstraint::flag, NA_ADDED, NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_copy().
| void blender::ed::object::constraint_copy_for_pose | ( | Main * | bmain, |
| Object * | ob_dst, | ||
| bPoseChannel * | pchan, | ||
| bConstraint * | con ) |
Definition at line 1430 of file object_constraint.cc.
References BKE_constraint_copy_for_pose(), constraint_dependency_tag_update(), CONSTRAINT_OVERRIDE_LIBRARY_LOCAL, bConstraint::flag, NA_ADDED, NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_copy().
|
static |
Definition at line 1666 of file object_constraint.cc.
References constraint_copy_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_copy().
|
static |
Definition at line 1699 of file object_constraint.cc.
References BKE_constraint_copy_for_object(), BKE_constraint_copy_for_pose(), BKE_pose_tag_recalc(), BKE_report(), bPoseChannel::constflag, constraint_list_from_constraint(), CONSTRAINT_OVERRIDE_LIBRARY_LOCAL, bPoseChannel::constraints, context_active_object(), CTX_DATA_BEGIN, CTX_DATA_BEGIN_WITH_ID, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), edit_constraint_property_get(), ListBase::first, bConstraint::flag, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by constraint_copy_to_selected_invoke(), and CONSTRAINT_OT_copy_to_selected().
|
static |
Definition at line 1768 of file object_constraint.cc.
References constraint_copy_to_selected_exec(), and edit_constraint_invoke_properties().
Referenced by CONSTRAINT_OT_copy_to_selected().
|
static |
NOTE: Can not return here, because CTX_DATA_BEGIN_WITH_ID allocated a list that needs to be freed by CTX_DATA_END.
NOTE: Can not return here, because CTX_DATA_BEGIN allocated a list that needs to be freed by CTX_DATA_END.
Definition at line 1777 of file object_constraint.cc.
References constraint_list_from_constraint(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_BEGIN_WITH_ID, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), PointerRNA::data, PointerRNA::owner_id, ptr, and UNUSED_VARS.
Referenced by CONSTRAINT_OT_copy_to_selected().
|
static |
Definition at line 1445 of file object_constraint.cc.
References BKE_constraint_remove_ex(), BKE_reportf(), constraint_list_from_constraint(), constraint_update(), context_active_object(), CTX_data_main(), DEG_relations_tag_update(), edit_constraint_property_get(), MAX_NAME, NA_REMOVED, bConstraint::name, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, STRNCPY, and WM_event_add_notifier().
Referenced by constraint_delete_invoke(), and CONSTRAINT_OT_delete().
|
static |
Definition at line 1482 of file object_constraint.cc.
References constraint_delete_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_delete().
| void blender::ed::object::constraint_dependency_tag_update | ( | Main * | bmain, |
| Object * | ob, | ||
| bConstraint * | con ) |
Definition at line 1385 of file object_constraint.cc.
References constraint_tag_update(), DEG_relations_tag_update(), object_pose_tag_update(), and Object::pose.
Referenced by constraint_copy_for_object(), constraint_copy_for_pose(), and constraint_link().
Definition at line 1352 of file object_constraint.cc.
References constraint_update(), DEG_relations_tag_update(), object_pose_tag_update(), and Object::pose.
| void blender::ed::object::constraint_link | ( | Main * | bmain, |
| Object * | ob_dst, | ||
| ListBase * | dst, | ||
| ListBase * | src ) |
Definition at line 1411 of file object_constraint.cc.
References BKE_constraints_copy(), BKE_constraints_free(), constraint_dependency_tag_update(), LISTBASE_FOREACH, NA_ADDED, NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_link().
| ListBase * blender::ed::object::constraint_list_from_constraint | ( | Object * | ob, |
| bConstraint * | con, | ||
| bPoseChannel ** | r_pchan ) |
Find the list that a given constraint belongs to, and/or also get the posechannel this is from (if applicable).
Definition at line 111 of file object_constraint.cc.
References BLI_findindex(), bPose::chanbase, bPoseChannel::constraints, Object::constraints, ELEM, LISTBASE_FOREACH, and Object::pose.
Referenced by constraint_active_set(), constraint_apply_exec(), constraint_copy_exec(), constraint_copy_to_selected_exec(), constraint_copy_to_selected_poll(), constraint_delete_exec(), constraint_move_down_exec(), constraint_move_to_index(), constraint_move_up_exec(), constraint_ops_extra_draw(), and edit_constraint_invoke_properties().
|
static |
Definition at line 1851 of file object_constraint.cc.
References BLI_insertlinkafter(), BLI_remlink(), constraint_list_from_constraint(), constraint_update(), context_active_object(), CTX_data_main(), edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, bConstraint::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by constraint_move_down_invoke(), and CONSTRAINT_OT_move_down().
|
static |
Definition at line 1873 of file object_constraint.cc.
References constraint_move_down_exec(), and edit_constraint_invoke_properties().
Referenced by CONSTRAINT_OT_move_down().
| bool blender::ed::object::constraint_move_to_index | ( | Object * | ob, |
| bConstraint * | con, | ||
| int | index ) |
Definition at line 1395 of file object_constraint.cc.
References BLI_assert, BLI_findindex(), BLI_listbase_link_move(), constraint_list_from_constraint(), NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by constraint_move_to_index_exec(), and blender::ed::outliner::datastack_drop_reorder().
|
static |
Definition at line 1961 of file object_constraint.cc.
References constraint_move_to_index(), constraint_update(), context_active_object(), CTX_data_main(), edit_constraint_property_get(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, and RNA_int_get().
Referenced by constraint_move_to_index_invoke(), and CONSTRAINT_OT_move_to_index().
|
static |
Definition at line 1982 of file object_constraint.cc.
References constraint_move_to_index_exec(), and edit_constraint_invoke_properties().
Referenced by CONSTRAINT_OT_move_to_index().
|
static |
Definition at line 1907 of file object_constraint.cc.
References BLI_insertlinkbefore(), BLI_remlink(), constraint_list_from_constraint(), constraint_update(), context_active_object(), CTX_data_main(), edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, bConstraint::prev, and WM_event_add_notifier().
Referenced by constraint_move_up_invoke(), and CONSTRAINT_OT_move_up().
|
static |
Definition at line 1929 of file object_constraint.cc.
References constraint_move_up_exec(), and edit_constraint_invoke_properties().
Referenced by CONSTRAINT_OT_move_up().
| void blender::ed::object::CONSTRAINT_OT_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1590 of file object_constraint.cc.
References constraint_apply_exec(), constraint_apply_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_childof_clear_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 1038 of file object_constraint.cc.
References childof_clear_inverse_exec(), childof_clear_inverse_invoke(), wmOperatorType::description, edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_childof_set_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 989 of file object_constraint.cc.
References childof_set_inverse_exec(), childof_set_inverse_invoke(), wmOperatorType::description, edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 1675 of file object_constraint.cc.
References constraint_copy_exec(), constraint_copy_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1828 of file object_constraint.cc.
References constraint_copy_to_selected_exec(), constraint_copy_to_selected_invoke(), constraint_copy_to_selected_poll(), wmOperatorType::description, edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1491 of file object_constraint.cc.
References constraint_delete_exec(), constraint_delete_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_followpath_path_animate | ( | wmOperatorType * | ot | ) |
Definition at line 1158 of file object_constraint.cc.
References wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, followpath_path_animate_exec(), followpath_path_animate_invoke(), wmOperatorType::idname, wmOperatorType::invoke, MAXFRAME, MINAFRAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_limitdistance_reset | ( | wmOperatorType * | ot | ) |
Definition at line 911 of file object_constraint.cc.
References wmOperatorType::description, edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, limitdistance_reset_exec(), limitdistance_reset_invoke(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 1882 of file object_constraint.cc.
References constraint_move_down_exec(), constraint_move_down_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_to_index | ( | wmOperatorType * | ot | ) |
Definition at line 1991 of file object_constraint.cc.
References constraint_move_to_index_exec(), constraint_move_to_index_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 1938 of file object_constraint.cc.
References constraint_move_up_exec(), constraint_move_up_invoke(), wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_objectsolver_clear_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 1293 of file object_constraint.cc.
References wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, objectsolver_clear_inverse_exec(), objectsolver_clear_inverse_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_objectsolver_set_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 1237 of file object_constraint.cc.
References wmOperatorType::description, edit_constraint_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, objectsolver_set_inverse_exec(), objectsolver_set_inverse_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_stretchto_reset | ( | wmOperatorType * | ot | ) |
Definition at line 856 of file object_constraint.cc.
References wmOperatorType::description, edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stretchto_reset_exec(), and stretchto_reset_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::constraint_tag_update | ( | Main * | bmain, |
| Object * | ob, | ||
| bConstraint * | con ) |
Definition at line 1362 of file object_constraint.cc.
References BKE_pose_tag_update_constraint_flags(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, OB_ARMATURE, object_test_constraint(), Object::pose, and Object::type.
Referenced by constraint_dependency_tag_update().
|
static |
Definition at line 565 of file object_constraint.cc.
References CONSTRAINT_OBTYPE_BONE, CONSTRAINT_OBTYPE_OBJECT, OB_ARMATURE, and Object::type.
Referenced by test_constraints().
Definition at line 1331 of file object_constraint.cc.
References BKE_pose_update_constraint_flags(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, OB_ARMATURE, object_test_constraints(), Object::pose, and Object::type.
Referenced by childof_clear_inverse_exec(), childof_set_inverse_exec(), constraint_apply_exec(), constraint_copy_exec(), constraint_delete_exec(), constraint_dependency_update(), blender::ed::outliner::constraint_fn(), constraint_move_down_exec(), constraint_move_to_index_exec(), constraint_move_up_exec(), limitdistance_reset_exec(), objectsolver_clear_inverse_exec(), objectsolver_set_inverse_exec(), and stretchto_reset_exec().
Find the correct active object per context (context.object or context.active_object)
Definition at line 133 of file object_edit.cc.
References context_object(), and CTX_data_active_object().
Referenced by blender::ed::object::bake_simulation::bake_simulation_poll(), childof_clear_inverse_exec(), childof_set_inverse_exec(), constraint_apply_exec(), constraint_copy_exec(), constraint_copy_to_selected_exec(), constraint_copy_to_selected_poll(), constraint_delete_exec(), constraint_move_down_exec(), constraint_move_to_index_exec(), constraint_move_up_exec(), constraint_ops_extra_draw(), copy_particle_systems_exec(), copy_particle_systems_poll(), correctivesmooth_bind_exec(), blender::ed::curves::convert_from_particle_system::curves_convert_from_particle_system_exec(), blender::ed::curves::convert_from_particle_system::curves_convert_from_particle_system_poll(), dash_modifier_segment_add_exec(), dash_modifier_segment_move_exec(), dash_modifier_segment_remove_exec(), data_transfer_exec(), data_transfer_poll(), datalayout_transfer_exec(), dt_layers_select_src_itemf(), duplicate_particle_systems_exec(), duplicate_particle_systems_poll(), ED_armature_context(), ED_mesh_context(), ED_operator_object_active(), ED_operator_object_active_editable(), ED_operator_object_active_editable_font(), ED_operator_object_active_editable_mesh(), ED_operator_object_active_local_editable(), ED_operator_object_active_local_editable_posemode_exclusive(), ED_operator_outliner_active_no_editobject(), ED_operator_posemode_exclusive(), ED_operator_rigidbody_active_poll(), ED_operator_rigidbody_add_poll(), ED_operator_rigidbody_con_active_poll(), ED_pose_object_from_context(), edit_constraint_invoke_properties(), edit_constraint_poll_generic(), edit_modifier_poll_generic(), edit_shaderfx_poll_generic(), explode_refresh_exec(), fluid_free_exec(), fluid_initjob(), fluid_pause_exec(), followpath_path_animate_exec(), geometry_node_tree_copy_assign_exec(), geometry_nodes_input_attribute_toggle_exec(), get_new_constraint_target(), gpencil_shaderfx_ops_extra_draw(), laplaciandeform_bind_exec(), light_linking_collection_new_exec(), light_linking_link_exec(), light_linking_select_exec(), limitdistance_reset_exec(), make_links_data_exec(), make_override_library_invoke(), meshdeform_bind_exec(), modifier_add_itemf(), modifier_apply_invoke(), modifier_apply_poll(), modifier_convert_exec(), modifier_copy_to_selected_exec(), modifier_copy_to_selected_poll(), modifier_get_edit_objects(), modifier_move_down_exec(), modifier_move_up_exec(), modifier_ops_extra_draw(), modifier_set_active_exec(), modifier_ui_poll(), modifiers_clear_poll(), modifiers_copy_to_selected_poll(), multires_base_apply_exec(), multires_external_pack_exec(), multires_external_save_exec(), multires_external_save_invoke(), multires_higher_levels_delete_exec(), multires_rebuild_subdiv_exec(), multires_reshape_exec(), multires_subdivide_exec(), multires_unsubdivide_exec(), object_constraint_add_exec(), object_constraint_copy_exec(), object_modifiers_copy_exec(), object_transform_apply_invoke(), object_update_paths_poll(), objectsolver_clear_inverse_exec(), objectsolver_set_inverse_exec(), ocean_bake_exec(), parent_noinv_set_exec(), parent_set_exec(), parent_set_invoke_menu(), pose_constraint_add_exec(), proj_paint_add_slot(), rigidbody_object_add_exec(), rigidbody_object_remove_exec(), root_catalogs_draw(), shaderfx_add_exec(), shaderfx_add_itemf(), shaderfx_copy_exec(), shaderfx_move_down_exec(), shaderfx_move_to_index_exec(), shaderfx_move_up_exec(), shaderfx_remove_exec(), shaderfx_ui_poll(), stretchto_reset_exec(), surfacedeform_bind_exec(), texture_paint_add_texture_paint_slot_invoke(), texture_paint_add_texture_paint_slot_ui(), time_modifier_segment_add_exec(), time_modifier_segment_move_exec(), time_modifier_segment_remove_exec(), track_set_exec(), uiTemplateConstraints(), uiTemplateModifiers(), and uiTemplateShaderFx().
context.object
Definition at line 128 of file object_edit.cc.
References CTX_data_pointer_get_type(), and PointerRNA::data.
Referenced by add_or_move_to_collection_exec(), armature_bone_select_poll(), bone_collection_assign_exec(), bone_collection_assign_poll(), bone_collection_create_and_assign_exec(), bone_collection_create_and_assign_poll(), bone_collection_deselect_exec(), bone_collection_select_exec(), bone_collection_unassign_exec(), bone_collection_unassign_named_exec(), collection_add_exec(), collection_link_exec(), collection_object_active_itemf(), collection_objects_remove_exec(), collection_remove_exec(), connect_hair_exec(), context_active_object(), disconnect_hair_exec(), dynamicpaint_bake_exec(), blender::ed::geometry::geometry_attribute_add_exec(), blender::ed::geometry::geometry_attribute_convert_exec(), blender::ed::geometry::geometry_attribute_convert_invoke(), blender::ed::geometry::geometry_attribute_convert_poll(), blender::ed::geometry::geometry_attribute_domain_itemf(), blender::ed::geometry::geometry_attribute_remove_exec(), blender::ed::geometry::geometry_attributes_poll(), blender::ed::geometry::geometry_attributes_remove_poll(), blender::ed::geometry::geometry_color_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_convert_exec(), blender::ed::geometry::geometry_color_attribute_convert_invoke(), blender::ed::geometry::geometry_color_attribute_convert_poll(), blender::ed::geometry::geometry_color_attribute_duplicate_exec(), blender::ed::geometry::geometry_color_attribute_remove_exec(), blender::ed::geometry::geometry_color_attribute_set_render_exec(), blender::ed::geometry::geometry_color_attributes_duplicate_poll(), blender::ed::geometry::geometry_color_attributes_remove_poll(), layers_poll(), material_slot_add_exec(), material_slot_copy_exec(), material_slot_move_exec(), material_slot_remove_exec(), mesh_customdata_mask_clear_exec(), mesh_customdata_mask_clear_poll(), mesh_customdata_skin_add_exec(), mesh_customdata_skin_state(), mesh_uv_texture_add_exec(), mesh_uv_texture_remove_exec(), move_to_collection_menu_create(), move_to_collection_poll(), object_materials_supported_poll(), objects_add_active_exec(), output_toggle_exec(), particle_system_add_exec(), particle_system_remove_exec(), set_active_group_exec(), shape_key_add_exec(), shape_key_clear_exec(), shape_key_exists_poll(), shape_key_mirror_exec(), shape_key_mode_exists_poll(), shape_key_mode_poll(), shape_key_move_exec(), shape_key_move_poll(), shape_key_poll(), shape_key_remove_exec(), shape_key_retime_exec(), surface_slot_add_exec(), surface_slot_remove_exec(), type_toggle_exec(), uv_texture_remove_poll(), vertex_group_add_exec(), vertex_group_assign_exec(), vertex_group_assign_new_exec(), vertex_group_copy_exec(), vertex_group_copy_to_selected_exec(), vertex_group_deselect_exec(), vertex_group_invert_exec(), vertex_group_levels_exec(), vertex_group_mirror_exec(), vertex_group_normalize_all_exec(), vertex_group_normalize_exec(), vertex_group_poll(), vertex_group_poll_edit(), vertex_group_quantize_exec(), vertex_group_remove_exec(), vertex_group_remove_from_exec(), vertex_group_select_exec(), vertex_group_sort_exec(), vertex_group_supported_poll(), vertex_group_vert_poll_ex(), vertex_group_vert_select_mesh_poll(), vertex_group_vert_select_unlocked_poll(), vertex_weight_copy_exec(), vertex_weight_delete_exec(), vertex_weight_normalize_active_vertex_exec(), vertex_weight_paste_exec(), vertex_weight_set_active_exec(), vgroup_itemf(), and vgroup_move_exec().
|
static |
Definition at line 1165 of file object_bake_api.cc.
References MPropCol::color, linearrgb_to_srgb_uchar4(), MLoopCol::r, and unit_float_to_uchar_clamp_v4.
Referenced by bake_targets_output_vertex_colors().
| bool blender::ed::object::convert_psys_to_mesh | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Depsgraph * | depsgraph, | ||
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 636 of file object_modifier.cc.
References BKE_object_add(), CD_CONSTRUCT, CD_MFACE, CD_PROP_FLOAT3, CD_PROP_INT32_2D, CD_SET_DEFAULT, ParticleSystem::childcache, ParticleCacheKey::co, copy_v3_v3(), CustomData_add_layer(), CustomData_add_layer_named(), Object::data, DEG_relations_tag_update(), depsgraph, eModifierType_ParticleSystem, blender::bke::SpanAttributeWriter< T >::finish(), Object::mode, OB_MESH, OB_MODE_PARTICLE_EDIT, ParticleSystem::part, PART_DRAW_PARENT, PART_DRAW_PATH, ParticleSystem::pathcache, blender::bke::Point, psys_eval_get(), ParticleCacheKey::segments, blender::bke::SpanAttributeWriter< T >::span, ParticleSystem::totcached, ParticleSystem::totchildcache, ModifierData::type, and Mesh::verts_num.
Referenced by modifier_convert_exec().
|
static |
Definition at line 2764 of file object_add.cc.
References convert_target_itemf(), convert_target_items, OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_POINTCLOUD, RNA_enum_item_end(), and RNA_enum_items_add_value().
Referenced by convert_target_itemf(), and OBJECT_OT_convert().
|
static |
Definition at line 2332 of file object_add.cc.
References BKE_libblock_relink_to_newid(), BKE_main_id_newptr_and_tag_clear(), BLI_assert, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, GS, ID_OB, ID_TAG_NEW, ID::name, and ID::tag.
Referenced by duplicate_exec(), and object_add_named_exec().
|
static |
Definition at line 3178 of file object_modifier.cc.
References CorrectiveSmoothModifierData::bind_coords, CorrectiveSmoothModifierData::bind_coords_num, BKE_modifier_get_evaluated(), BKE_modifier_is_enabled(), BKE_report(), context_active_object(), correctivesmooth_bind_exec(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), DEG_id_tag_update(), CorrectiveSmoothModifierData::delta_cache, CorrectiveSmoothDeltaCache::deltas, depsgraph, edit_modifier_property_get(), eModifierMode_Realtime, eModifierType_CorrectiveSmooth, Object::id, ID_RECALC_GEOMETRY, MEM_SAFE_FREE, CorrectiveSmoothModifierData::modifier, NC_OBJECT, ND_MODIFIER, object_force_modifier_bind_simple_options(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by correctivesmooth_bind_exec(), correctivesmooth_bind_invoke(), and OBJECT_OT_correctivesmooth_bind().
|
static |
Definition at line 3221 of file object_modifier.cc.
References correctivesmooth_bind_exec(), correctivesmooth_bind_invoke(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by correctivesmooth_bind_invoke(), and OBJECT_OT_correctivesmooth_bind().
|
static |
Definition at line 3173 of file object_modifier.cc.
References correctivesmooth_poll(), and edit_modifier_poll_generic().
Referenced by correctivesmooth_poll(), and OBJECT_OT_correctivesmooth_bind().
|
static |
| use_virtual_modifiers | When enabled, calculate virtual-modifiers before applying md_eval. This is supported because virtual-modifiers are not modifiers from a user perspective, allowing shape keys to be included with the modifier being applied, see: #91923. |
Definition at line 797 of file object_modifier.cc.
References add_shapekey_layers(), BKE_id_copy_ex(), BKE_id_free(), BKE_keyblock_convert_to_mesh(), BKE_modifier_get_info(), BKE_modifier_is_enabled(), BKE_modifiers_get_virtual_modifierlist(), BKE_report(), BLI_assert, BLI_findlink(), Object::data, ModifierTypeInfo::deform_verts, depsgraph, eModifierMode_Realtime, ListBase::first, blender::bke::GeometrySet::from_mesh(), blender::bke::GeometrySet::get_component_for_write(), blender::bke::GeometrySet::has_mesh(), ModifierTypeInfo::is_disabled, LIB_ID_COPY_LOCALIZE, MOD_APPLY_TO_ORIGINAL, ModifierData::mode, Object::modifiers, ModifierTypeInfo::modify_geometry_set, ModifierTypeInfo::modify_mesh, ModifierData::next, OnlyDeform, blender::bke::Owned, result, RPT_ERROR, Object::runtime, Object::shapenr, ModifierData::type, and ModifierTypeInfo::type.
Referenced by modifier_apply_obdata(), and modifier_apply_shape().
|
static |
Definition at line 3843 of file object_modifier.cc.
References BLI_uniquename_cb(), context_active_object(), dash_modifier_segment_add_exec(), DEG_id_tag_update(), DNA_struct_default_get, edit_modifier_property_get(), eModifierType_GreasePencilDash, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, MEM_malloc_arrayN, MEM_SAFE_FREE, GreasePencilDashModifierSegment::name, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, STREQ, and WM_event_add_notifier().
Referenced by dash_modifier_segment_add_exec(), dash_modifier_segment_add_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_add().
|
static |
Definition at line 3896 of file object_modifier.cc.
References dash_modifier_segment_add_exec(), dash_modifier_segment_add_invoke(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by dash_modifier_segment_add_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_add().
|
static |
Definition at line 3921 of file object_modifier.cc.
References dash_modifier_segment_free().
Referenced by dash_modifier_segment_free(), and dash_modifier_segment_remove_exec().
|
static |
Definition at line 3984 of file object_modifier.cc.
References context_active_object(), dash_modifier_segment_move_exec(), DEG_id_tag_update(), edit_modifier_property_get(), eModifierType_GreasePencilDash, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by dash_modifier_segment_move_exec(), dash_modifier_segment_move_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_move().
|
static |
Definition at line 4031 of file object_modifier.cc.
References dash_modifier_segment_move_exec(), dash_modifier_segment_move_invoke(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by dash_modifier_segment_move_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_move().
|
static |
Definition at line 3838 of file object_modifier.cc.
References dash_modifier_segment_poll(), and edit_modifier_poll_generic().
Referenced by dash_modifier_segment_poll(), OBJECT_OT_grease_pencil_dash_modifier_segment_add(), OBJECT_OT_grease_pencil_dash_modifier_segment_move(), and OBJECT_OT_grease_pencil_dash_modifier_segment_remove().
|
static |
Definition at line 3923 of file object_modifier.cc.
References context_active_object(), dash_modifier_segment_free(), dash_modifier_segment_remove_exec(), DEG_id_tag_update(), edit_modifier_property_get(), eModifierType_GreasePencilDash, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by dash_modifier_segment_remove_exec(), dash_modifier_segment_remove_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_remove().
|
static |
Definition at line 3949 of file object_modifier.cc.
References dash_modifier_segment_remove_exec(), dash_modifier_segment_remove_invoke(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by dash_modifier_segment_remove_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_remove().
|
static |
Definition at line 337 of file object_data_transfer.cc.
References DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, DT_LAYERS_NAME_DST, wmOperator::ptr, RNA_enum_get(), RNA_property_enum_get(), RNA_property_enum_set(), and RNA_struct_find_property().
Referenced by OBJECT_OT_data_transfer(), and OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 422 of file object_data_transfer.cc.
References BKE_object_data_transfer_dttype_to_srcdst_index(), BKE_object_data_transfer_mesh(), BKE_report(), BLI_SPACE_TRANSFORM_SETUP, context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), Object::data, PointerRNA::data, data_transfer_exec_is_object_valid(), data_transfer_exec_preprocess_objects(), DEG_get_evaluated_object(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, DT_MULTILAYER_INDEX_INVALID, DT_MULTILAYER_INDEX_MAX, FLT_MAX, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RPT_INFO, and WM_event_add_notifier().
Referenced by OBJECT_OT_data_transfer().
|
static |
Definition at line 390 of file object_data_transfer.cc.
References BKE_reportf(), Object::data, Mesh::id, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_TAG_DOIT, ID::name, OB_MESH, wmOperator::reports, RPT_WARNING, ID::tag, and Object::type.
Referenced by data_transfer_exec(), and datalayout_transfer_exec().
|
static |
Definition at line 354 of file object_data_transfer.cc.
References BKE_reportf(), CTX_data_selected_editable_objects(), Object::data, PointerRNA::data, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_TAG_DOIT, ID::name, OB_MESH, ptr, wmOperator::reports, RPT_WARNING, and Object::type.
Referenced by data_transfer_exec(), and datalayout_transfer_exec().
|
static |
Definition at line 637 of file object_data_transfer.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_data_transfer().
|
static |
Definition at line 552 of file object_data_transfer.cc.
References context_active_object(), Object::data, OB_MESH, and Object::type.
Referenced by datalayout_transfer_poll(), and OBJECT_OT_data_transfer().
|
static |
Definition at line 560 of file object_data_transfer.cc.
References DT_DATATYPE_IS_EDGE, DT_DATATYPE_IS_FACE, DT_DATATYPE_IS_LOOP, DT_DATATYPE_IS_MULTILAYERS, DT_DATATYPE_IS_VERT, ptr, wmOperator::ptr, RNA_enum_get(), RNA_property_boolean_get(), RNA_property_identifier(), RNA_property_is_set(), RNA_struct_find_property(), STR_ELEM, and STREQ.
Referenced by OBJECT_OT_data_transfer(), and OBJECT_OT_datalayout_transfer().
| void blender::ed::object::data_xform_by_mat4 | ( | XFormObjectData * | xod, |
| const float | mat[4][4] ) |
Definition at line 546 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4(), BKE_curve_nurbs_vert_coords_apply_with_mat4(), BKE_gpencil_point_coords_apply_with_mat4(), BKE_grease_pencil_point_coords_apply_with_mat4(), BKE_keyblock_curve_data_set_with_mat4(), BKE_keyblock_data_set_with_mat4(), BKE_lattice_vert_coords_apply_with_mat4(), BLI_assert, bm, BM_mesh_vert_coords_apply_with_mat4(), CU_IS_2D, edit_armature_coords_and_quats_apply_with_mat4(), Lattice::editlatt, Curve::editnurb, blender::ed::object::XFormObjectData_Armature::elem_array, blender::ed::object::XFormObjectData_Curve::elem_array, blender::ed::object::XFormObjectData_GPencil::elem_array, blender::ed::object::XFormObjectData_GreasePencil::elem_array, blender::ed::object::XFormObjectData_Lattice::elem_array, blender::ed::object::XFormObjectData_Mesh::elem_array, blender::ed::object::XFormObjectData_MetaBall::elem_array, GS, blender::ed::object::XFormObjectData::id, ID_AR, ID_CU_LEGACY, ID_GD_LEGACY, ID_GP, ID_LT, ID_MB, ID_ME, blender::ed::object::XFormObjectData::is_edit_mode, Curve::key, Lattice::key, blender::ed::object::XFormObjectData_Curve::key_data, blender::ed::object::XFormObjectData_Lattice::key_data, blender::ed::object::XFormObjectData_Mesh::key_data, EditLatt::latt, metaball_coords_and_quats_apply_with_mat4(), mul_v3_m4v3(), ID::name, Curve::nurb, and EditNurb::nurbs.
Referenced by data_xform_container_update_all().
| XFormObjectData_Container * blender::ed::object::data_xform_container_create | ( | ) |
Definition at line 406 of file object_utils.cc.
References BLI_ghash_ptr_new(), MEM_callocN, and blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map.
Referenced by object_clear_transform_generic_exec().
| void blender::ed::object::data_xform_container_destroy | ( | XFormObjectData_Container * | xds | ) |
Definition at line 414 of file object_utils.cc.
References BLI_ghash_free(), MEM_freeN(), blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map, and trans_obdata_in_obmode_free_elem().
Referenced by freeTransObjectCustomData(), and object_clear_transform_generic_exec().
| void blender::ed::object::data_xform_container_item_ensure | ( | XFormObjectData_Container * | xds, |
| Object * | ob ) |
Definition at line 343 of file object_utils.cc.
References BLI_ghash_ensure_p(), BLI_ghash_ptr_new(), copy_m4_m4(), Object::data, data_xform_create(), MEM_mallocN, blender::ed::object::XFormObjectData_Extra::ob, blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map, blender::ed::object::XFormObjectData_Extra::obmat_orig, and blender::ed::object::XFormObjectData_Extra::xod.
Referenced by object_clear_transform_generic_exec().
| void blender::ed::object::data_xform_container_update_all | ( | XFormObjectData_Container * | xds, |
| Main * | bmain, | ||
| Depsgraph * | depsgraph ) |
This may be called multiple times with the same data. Each time, the original transformations are re-applied, instead of accumulating the changes.
Definition at line 361 of file object_utils.cc.
References BKE_scene_graph_evaluated_ensure(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), data_xform_by_mat4(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, GHASH_ITER, ID_RECALC_GEOMETRY, invert_m4(), invert_m4_m4(), mul_m4_m4m4(), blender::ed::object::XFormObjectData_Extra::ob, OB_ARMATURE, blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map, blender::ed::object::XFormObjectData_Extra::obmat_orig, Object::type, and blender::ed::object::XFormObjectData_Extra::xod.
Referenced by object_clear_transform_generic_exec(), and trans_obdata_in_obmode_update_all().
| XFormObjectData * blender::ed::object::data_xform_create | ( | ID * | id | ) |
Definition at line 505 of file object_data_transform.cc.
References data_xform_create_ex().
Referenced by data_xform_container_item_ensure().
| XFormObjectData * blender::ed::object::data_xform_create_ex | ( | ID * | id, |
| bool | is_edit_mode ) |
Definition at line 311 of file object_data_transform.cc.
References armature_coords_and_quats_get(), blender::ed::object::XFormObjectData_Armature::base, blender::ed::object::XFormObjectData_Curve::base, blender::ed::object::XFormObjectData_GPencil::base, blender::ed::object::XFormObjectData_GreasePencil::base, blender::ed::object::XFormObjectData_Lattice::base, blender::ed::object::XFormObjectData_Mesh::base, blender::ed::object::XFormObjectData_MetaBall::base, BKE_armature_bonelist_count(), BKE_curve_nurbs_vert_coords_get(), BKE_curve_type_get(), BKE_gpencil_point_coords_get(), BKE_gpencil_stroke_point_count(), BKE_grease_pencil_point_coords_get(), BKE_grease_pencil_stroke_point_count(), BKE_keyblock_data_get_from_shape(), BKE_keyblock_element_calc_size_from_shape(), BKE_lattice_vert_coords_get(), BKE_nurbList_verts_count(), BLI_listbase_count(), bm, BM_mesh_vert_coords_get(), bArmature::bonebase, blender::MutableSpan< T >::copy_from(), bArmature::edbo, edit_armature_coords_and_quats_get(), Lattice::editlatt, Curve::editnurb, blender::ed::object::XFormObjectData_Armature::elem_array, blender::ed::object::XFormObjectData_Curve::elem_array, blender::ed::object::XFormObjectData_GPencil::elem_array, blender::ed::object::XFormObjectData_GreasePencil::elem_array, blender::ed::object::XFormObjectData_Lattice::elem_array, blender::ed::object::XFormObjectData_Mesh::elem_array, blender::ed::object::XFormObjectData_MetaBall::elem_array, MetaBall::elems, GS, blender::ed::object::XFormObjectData::id, ID_AR, ID_CU_LEGACY, ID_GD_LEGACY, ID_GP, ID_LT, ID_MB, ID_ME, blender::ed::object::XFormObjectData::is_edit_mode, Curve::key, Lattice::key, blender::ed::object::XFormObjectData_Curve::key_data, blender::ed::object::XFormObjectData_Lattice::key_data, blender::ed::object::XFormObjectData_Mesh::key_data, EditLatt::latt, MEM_mallocN, metaball_coords_and_quats_get(), Curve::nurb, EditNurb::nurbs, OB_FONT, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, and BMesh::totvert.
Referenced by data_xform_create(), and data_xform_create_from_edit_mode().
| XFormObjectData * blender::ed::object::data_xform_create_from_edit_mode | ( | ID * | id | ) |
Definition at line 510 of file object_data_transform.cc.
References data_xform_create_ex().
Referenced by op_generic_value_invoke().
| void blender::ed::object::data_xform_destroy | ( | XFormObjectData * | xod_base | ) |
Definition at line 515 of file object_data_transform.cc.
References GS, blender::ed::object::XFormObjectData::id, ID_CU_LEGACY, ID_LT, ID_ME, blender::ed::object::XFormObjectData_Curve::key_data, blender::ed::object::XFormObjectData_Lattice::key_data, blender::ed::object::XFormObjectData_Mesh::key_data, MEM_freeN(), and ID::name.
Referenced by op_generic_value_exit(), and trans_obdata_in_obmode_free_elem().
| void blender::ed::object::data_xform_restore | ( | XFormObjectData * | xod | ) |
Definition at line 671 of file object_data_transform.cc.
References armature_coords_and_quats_apply(), BKE_curve_nurbs_vert_coords_apply(), BKE_gpencil_point_coords_apply(), BKE_grease_pencil_point_coords_apply(), BKE_keyblock_data_set(), BKE_lattice_vert_coords_apply(), bm, BM_mesh_vert_coords_apply(), CU_IS_2D, edit_armature_coords_and_quats_apply(), Lattice::editlatt, Curve::editnurb, blender::ed::object::XFormObjectData_Armature::elem_array, blender::ed::object::XFormObjectData_Curve::elem_array, blender::ed::object::XFormObjectData_GPencil::elem_array, blender::ed::object::XFormObjectData_GreasePencil::elem_array, blender::ed::object::XFormObjectData_Lattice::elem_array, blender::ed::object::XFormObjectData_Mesh::elem_array, blender::ed::object::XFormObjectData_MetaBall::elem_array, GS, blender::ed::object::XFormObjectData::id, ID_AR, ID_CU_LEGACY, ID_GD_LEGACY, ID_GP, ID_LT, ID_MB, ID_ME, blender::ed::object::XFormObjectData::is_edit_mode, Curve::key, Lattice::key, blender::ed::object::XFormObjectData_Curve::key_data, blender::ed::object::XFormObjectData_Lattice::key_data, blender::ed::object::XFormObjectData_Mesh::key_data, EditLatt::latt, metaball_coords_and_quats_apply(), ID::name, Curve::nurb, and EditNurb::nurbs.
Referenced by op_generic_value_restore().
| void blender::ed::object::data_xform_tag_update | ( | XFormObjectData * | xod | ) |
Definition at line 778 of file object_data_transform.cc.
References DEG_id_tag_update(), EDBM_update(), GS, bArmature::id, bGPdata::id, blender::ed::object::XFormObjectData::id, Curve::id, GreasePencil::id, Lattice::id, MetaBall::id, ID_AR, ID_CU_LEGACY, ID_GD_LEGACY, ID_GP, ID_LT, ID_MB, ID_ME, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, blender::ed::object::XFormObjectData::is_edit_mode, ID::name, and params.
Referenced by op_generic_value_restore().
|
static |
Definition at line 822 of file object_data_transfer.cc.
References BKE_object_data_transfer_dttype_to_srcdst_index(), BKE_object_data_transfer_layout(), context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), PointerRNA::data, data_transfer_exec_is_object_valid(), data_transfer_exec_preprocess_objects(), DataTransferModifierData::data_types, DEG_get_evaluated_object(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, DT_MULTILAYER_INDEX_INVALID, DT_MULTILAYER_INDEX_MAX, edit_modifier_property_get(), eModifierType_DataTransfer, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_GEOMETRY, DataTransferModifierData::layers_select_dst, DataTransferModifierData::layers_select_src, NC_OBJECT, ND_DRAW, DataTransferModifierData::ob_source, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by datalayout_transfer_invoke(), and OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 900 of file object_data_transfer.cc.
References datalayout_transfer_exec(), edit_modifier_invoke_properties(), and WM_menu_invoke().
Referenced by OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 816 of file object_data_transfer.cc.
References data_transfer_poll(), edit_modifier_poll_generic(), and OB_MESH.
Referenced by OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 3030 of file object_relations.cc.
References BKE_libblock_find_session_uid(), BKE_report(), check_geometry_node_group_sockets(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), ED_view3d_give_object_under_cursor(), eModifierType_Nodes, NodesModifierData::flag, Object::id, ID_NT, ID_RECALC_GEOMETRY, id_us_plus(), MOD_nodes_update_interface(), modifier_add(), wmEvent::mval, ID::name, NC_OBJECT, ND_MODIFIER, NodesModifierData::node_group, node_tree, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, NTREE_GEOMETRY, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_int_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_drop_geometry_nodes().
| std::string blender::ed::object::drop_geometry_nodes_tooltip | ( | bContext * | C, |
| PointerRNA * | properties, | ||
| const int | mval[2] ) |
Definition at line 2994 of file object_relations.cc.
References BKE_libblock_find_session_uid(), CTX_data_main(), ED_view3d_give_object_under_cursor(), Object::id, ID_NT, ID::name, RNA_int_get(), and TIP_.
Referenced by view3d_geometry_nodes_drop_tooltip().
|
static |
Definition at line 2946 of file object_relations.cc.
References BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), CTX_data_main(), DEG_id_tag_update(), ED_view3d_give_material_slot_under_cursor(), Object::id, ID_MA, ID_RECALC_TRANSFORM, max_ii(), wmEvent::mval, NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, WM_event_add_notifier(), and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by OBJECT_OT_drop_named_material().
| std::string blender::ed::object::drop_named_material_tooltip | ( | bContext * | C, |
| const char * | name, | ||
| const int | mval[2] ) |
Definition at line 2925 of file object_relations.cc.
References BKE_object_material_get(), ED_view3d_give_material_slot_under_cursor(), Material::id, Object::id, max_ii(), ID::name, and TIP_.
Referenced by view3d_mat_drop_tooltip().
|
static |
Definition at line 100 of file object_data_transfer.cc.
References CD_PROP_BYTE_COLOR, CD_PROP_COLOR, CD_TYPE_AS_MASK, CustomData_get_layer_name(), CustomData_number_of_layers(), EnumPropertyItem::identifier, EnumPropertyItem::name, RNA_enum_item_add(), RNA_enum_item_add_separator(), and EnumPropertyItem::value.
Referenced by dt_layers_select_src_itemf().
|
static |
Definition at line 242 of file object_data_transfer.cc.
References DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, DT_LAYERS_INDEX_DST, DT_LAYERS_NAME_DST, ptr, rna_enum_dt_layers_select_dst_items, RNA_enum_get(), RNA_enum_item_end(), RNA_enum_items_add_value(), RNA_property_boolean_get(), and RNA_struct_find_property().
Referenced by dt_layers_select_itemf(), and OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 276 of file object_data_transfer.cc.
References dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), ptr, RNA_boolean_get(), RNA_property_identifier(), and STREQ.
Referenced by OBJECT_OT_data_transfer().
|
static |
Definition at line 127 of file object_data_transfer.cc.
References BKE_object_defgroup_list(), BKE_object_get_evaluated_mesh_no_subsurf(), BKE_object_pose_armature_get(), BKE_object_supports_vertex_groups(), CD_MASK_BAREMESH, CD_MASK_PROP_BYTE_COLOR, CD_MASK_PROP_COLOR, CD_PROP_FLOAT2, context_active_object(), Mesh::corner_data, CTX_data_ensure_evaluated_depsgraph(), CustomData_get_layer_name(), CustomData_number_of_layers(), DEG_get_evaluated_object(), depsgraph, dt_add_vcol_layers(), DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, DT_LAYERS_ALL_SRC, DT_LAYERS_VGROUP_SRC_BONE_DEFORM, DT_LAYERS_VGROUP_SRC_BONE_SELECT, DT_TYPE_MDEFORMVERT, DT_TYPE_MLOOPCOL_LOOP, DT_TYPE_MLOOPCOL_VERT, DT_TYPE_MPROPCOL_LOOP, DT_TYPE_MPROPCOL_VERT, DT_TYPE_SHAPEKEY, DT_TYPE_UV, DT_TYPE_VCOL_ALL, ListBase::first, CustomData_MeshMasks::lmask, bDeformGroup::name, bDeformGroup::next, ptr, rna_enum_dt_layers_select_src_items, RNA_enum_get(), RNA_enum_item_add(), RNA_enum_item_add_separator(), RNA_enum_item_end(), RNA_enum_items_add_value(), RNA_property_boolean_get(), RNA_struct_find_property(), Mesh::vert_data, and CustomData_MeshMasks::vmask.
Referenced by dt_layers_select_itemf(), and OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 296 of file object_data_transfer.cc.
References BKE_object_data_transfer_get_dttypes_capacity(), CDT_MIX_ADD, CDT_MIX_MIX, CDT_MIX_MUL, CDT_MIX_REPLACE_ABOVE_THRESHOLD, CDT_MIX_REPLACE_BELOW_THRESHOLD, CDT_MIX_SUB, CDT_MIX_TRANSFER, ptr, rna_enum_dt_mix_mode_items, RNA_enum_get(), RNA_enum_item_add_separator(), RNA_enum_item_end(), and RNA_enum_items_add_value().
Referenced by OBJECT_OT_data_transfer().
|
static |
Definition at line 2841 of file object_add.cc.
References BA_DESELECT, BA_SELECT, base_select(), BKE_collection_object_add_from(), BKE_id_copy(), BKE_scene_graph_update_tagged(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CD_MASK_MESH, CustomData_MeshMasks_update(), Object::data, DEG_graph_tag_relations_update(), DEG_id_tag_update(), depsgraph, duplibase_for_convert(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, id_us_min(), OB_EMPTY, OB_MBALL, Base::object, and Object::type.
Referenced by duplibase_for_convert(), and object_convert_exec().
|
static |
Definition at line 3900 of file object_add.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BA_DESELECT, BA_SELECT, base_activate(), base_select(), BKE_main_id_newptr_and_tag_clear(), BKE_view_layer_active_base_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, copy_object_set_idnew(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, LIB_ID_DUPLICATE_IS_ROOT_ID, LIB_ID_DUPLICATE_IS_SUBPROCESS, NC_SCENE, ND_LAYER_CONTENT, ND_OB_SELECT, object_add_duplicate_internal(), object_add_sync_base_collection(), object_add_sync_local_view(), object_add_sync_rigid_body(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
|
static |
Compare function that matches dupliobject_hash.
Definition at line 2418 of file object_add.cc.
References b, MAX_DUPLI_RECUR, and OB_DUPLICOLLECTION.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2383 of file object_add.cc.
References BLI_ghashutil_ptrhash(), hash, MAX_DUPLI_RECUR, DupliObject::ob, OB_DUPLICOLLECTION, DupliObject::persistent_id, ptr, and DupliObject::type.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2452 of file object_add.cc.
References b, and MAX_DUPLI_RECUR.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2405 of file object_add.cc.
References BLI_ghashutil_inthash, hash, MAX_DUPLI_RECUR, DupliObject::persistent_id, and ptr.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 1939 of file object_vgroup.cc.
References BKE_defvert_copy(), BKE_defvert_copy_index(), BKE_defvert_ensure_index(), BKE_defvert_find_index(), BKE_defvert_flip(), BKE_defvert_remove_group(), BLI_assert, and MDeformWeight::weight.
Referenced by vgroup_mirror().
|
static |
Definition at line 525 of file object_vgroup.cc.
References BM_ELEM_CD_GET_VOID_P, BMVert::co, Object::data, editbmesh_get_x_mirror_vert(), ME_EDIT_MIRROR_TOPO, and mesh_defvert_mirror_update_internal().
Referenced by vgroup_copy_active_to_sel(), vgroup_copy_active_to_sel_single(), vgroup_normalize_active_vertex(), and vgroup_vert_active_mirror().
|
static |
Definition at line 544 of file object_vgroup.cc.
References Object::data, ME_EDIT_MIRROR_TOPO, mesh_defvert_mirror_update_internal(), and mesh_get_x_mirror_vert().
Referenced by vgroup_copy_active_to_sel(), vgroup_copy_active_to_sel_single(), vgroup_normalize_active_vertex(), and vgroup_vert_active_mirror().
|
static |
Use for changing works-paces or changing active object. Caller can check OB_MODE_ALL_MODE_DATA to test if this needs to be run.
Definition at line 239 of file object_modes.cc.
References BKE_object_is_in_editmode(), BLI_assert, DEG_id_tag_update_ex(), depsgraph, ED_object_particle_edit_mode_exit_ex(), ED_object_posemode_exit_ex(), ED_object_texture_paint_mode_exit_ex(), ED_object_vpaintmode_exit_ex(), ED_object_wpaintmode_exit_ex(), editmode_exit_ex(), EM_FREEDATA, Object::id, ID_RECALC_SYNC_TO_EVAL, Object::mode, SculptSession::mode_type, OB_GREASE_PENCIL, OB_MODE_ALL_MODE_DATA, OB_MODE_EDIT, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_PARTICLE_EDIT, OB_MODE_POSE, OB_MODE_SCULPT, OB_MODE_SCULPT_GREASE_PENCIL, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_GREASE_PENCIL, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_GREASE_PENCIL, OB_MODE_WEIGHT_PAINT, blender::ed::sculpt_paint::object_sculpt_mode_exit(), Object::pose, Object::restore_mode, Object::sculpt, and Object::type.
Referenced by mode_generic_exit(), and mode_generic_has_data().
|
static |
Definition at line 324 of file object_modes.cc.
References BASE_SELECTED, BASE_VISIBLE, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), ED_object_posemode_enter_ex(), ED_object_posemode_exit_ex(), Base::flag, Object::mode, and OB_MODE_POSE.
Referenced by posemode_set_for_weight_paint().
|
static |
Definition at line 136 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_object_shapekey_insert(), BLI_findindex(), Key::block, CTX_data_main(), NC_OBJECT, ND_DRAW, Object::shapenr, and WM_event_add_notifier().
Referenced by shape_key_add_exec().
|
static |
Definition at line 202 of file object_data_transform.cc.
References edit_armature_coords_and_quats_apply_with_mat4(), and unit_m4().
Referenced by data_xform_restore().
|
static |
Definition at line 176 of file object_data_transform.cc.
References COPY_PTR, COPY_VAL, ED_armature_edit_transform(), bArmature::edbo, and ListBase::first.
Referenced by data_xform_by_mat4(), and edit_armature_coords_and_quats_apply().
|
static |
Definition at line 153 of file object_data_transform.cc.
References COPY_PTR, COPY_VAL, bArmature::edbo, and ListBase::first.
Referenced by data_xform_create_ex().
|
static |
Definition at line 727 of file object_constraint.cc.
References BLI_assert, constraint_list_from_constraint(), Object::constraints, context_active_object(), CTX_data_pointer_get_type(), PointerRNA::data, EDIT_CONSTRAINT_OWNER_BONE, EDIT_CONSTRAINT_OWNER_OBJECT, bConstraint::name, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, PointerRNA::owner_id, ptr, wmOperator::ptr, RNA_enum_set(), RNA_pointer_is_null(), RNA_string_set(), RNA_struct_is_a(), RNA_struct_property_is_set(), PointerRNA::type, and UI_region_panel_custom_data_under_cursor().
Referenced by childof_clear_inverse_invoke(), childof_set_inverse_invoke(), constraint_apply_invoke(), constraint_copy_invoke(), constraint_copy_to_selected_invoke(), constraint_delete_invoke(), constraint_move_down_invoke(), constraint_move_to_index_invoke(), constraint_move_up_invoke(), followpath_path_animate_invoke(), limitdistance_reset_invoke(), objectsolver_clear_inverse_invoke(), objectsolver_set_inverse_invoke(), and stretchto_reset_invoke().
|
static |
Definition at line 704 of file object_constraint.cc.
References edit_constraint_poll_generic().
Referenced by CONSTRAINT_OT_childof_clear_inverse(), CONSTRAINT_OT_childof_set_inverse(), CONSTRAINT_OT_limitdistance_reset(), and CONSTRAINT_OT_stretchto_reset().
|
static |
Definition at line 697 of file object_constraint.cc.
References edit_constraint_poll_generic().
Referenced by CONSTRAINT_OT_apply(), CONSTRAINT_OT_copy(), CONSTRAINT_OT_delete(), CONSTRAINT_OT_followpath_path_animate(), CONSTRAINT_OT_move_down(), CONSTRAINT_OT_move_to_index(), CONSTRAINT_OT_move_up(), CONSTRAINT_OT_objectsolver_clear_inverse(), and CONSTRAINT_OT_objectsolver_set_inverse().
|
static |
Definition at line 671 of file object_constraint.cc.
References BKE_constraint_is_nonlocal_in_liboverride(), context_active_object(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), PointerRNA::data, ED_operator_object_active_editable_ex(), ID_IS_EDITABLE, PointerRNA::owner_id, and ptr.
Referenced by edit_constraint_liboverride_allowed_poll(), and edit_constraint_poll().
|
static |
Definition at line 709 of file object_constraint.cc.
References constraint_owner_items, MAX_NAME, ot, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by CONSTRAINT_OT_apply(), CONSTRAINT_OT_childof_clear_inverse(), CONSTRAINT_OT_childof_set_inverse(), CONSTRAINT_OT_copy(), CONSTRAINT_OT_copy_to_selected(), CONSTRAINT_OT_delete(), CONSTRAINT_OT_followpath_path_animate(), CONSTRAINT_OT_limitdistance_reset(), CONSTRAINT_OT_move_down(), CONSTRAINT_OT_move_to_index(), CONSTRAINT_OT_move_up(), CONSTRAINT_OT_objectsolver_clear_inverse(), CONSTRAINT_OT_objectsolver_set_inverse(), and CONSTRAINT_OT_stretchto_reset().
|
static |
Definition at line 787 of file object_constraint.cc.
References BKE_constraints_find_name(), Object::constraints, EDIT_CONSTRAINT_OWNER_BONE, G, G_DEBUG, MAX_NAME, bConstraint::name, pose_constraint_list(), printf, wmOperator::ptr, RNA_enum_get(), RNA_string_get(), and bConstraint::type.
Referenced by childof_clear_inverse_exec(), childof_set_inverse_exec(), constraint_apply_exec(), constraint_copy_exec(), constraint_copy_to_selected_exec(), constraint_delete_exec(), constraint_move_down_exec(), constraint_move_to_index_exec(), constraint_move_up_exec(), followpath_path_animate_exec(), limitdistance_reset_exec(), objectsolver_clear_inverse_exec(), objectsolver_set_inverse_exec(), and stretchto_reset_exec().
|
static |
Definition at line 720 of file object_constraint.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by CONSTRAINT_OT_apply(), CONSTRAINT_OT_copy(), and CONSTRAINT_OT_delete().
| bool blender::ed::object::edit_modifier_invoke_properties | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 1873 of file object_modifier.cc.
References CTX_data_pointer_get_type(), PointerRNA::data, edit_modifier_invoke_properties(), ModifierData::name, wmOperator::ptr, RNA_string_set(), and RNA_struct_property_is_set().
Referenced by correctivesmooth_bind_invoke(), dash_modifier_segment_add_invoke(), dash_modifier_segment_move_invoke(), dash_modifier_segment_remove_invoke(), datalayout_transfer_invoke(), edit_modifier_invoke_properties(), explode_refresh_invoke(), laplaciandeform_bind_invoke(), meshdeform_bind_invoke(), modifier_convert_invoke(), multires_base_apply_invoke(), multires_external_save_invoke(), multires_higher_levels_delete_invoke(), multires_rebuild_subdiv_invoke(), multires_reshape_invoke(), multires_subdivide_invoke(), multires_unsubdivide_invoke(), ocean_bake_invoke(), skin_armature_create_invoke(), surfacedeform_bind_invoke(), time_modifier_segment_add_invoke(), time_modifier_segment_move_invoke(), and time_modifier_segment_remove_invoke().
|
static |
If the "modifier" property is not set, fill the modifier property with the name of the modifier with a UI panel below the mouse cursor, unless a specific modifier is set with a context pointer. Used in order to apply modifier operators on hover over their panels.
Definition at line 1894 of file object_modifier.cc.
References CTX_data_pointer_get_type(), PointerRNA::data, edit_modifier_invoke_properties_with_hover(), KM_ALT, wmEvent::modifier, ModifierData::name, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_boolean_set(), RNA_pointer_is_null(), RNA_string_set(), RNA_struct_find_property(), RNA_struct_is_a(), RNA_struct_property_is_set(), PointerRNA::type, and UI_region_panel_custom_data_under_cursor().
Referenced by edit_modifier_invoke_properties_with_hover(), modifier_apply_as_shapekey_invoke(), modifier_apply_invoke(), modifier_copy_invoke(), modifier_copy_to_selected_invoke(), modifier_move_down_invoke(), modifier_move_to_index_invoke(), modifier_move_up_invoke(), modifier_remove_invoke(), and modifier_set_active_invoke().
|
static |
Definition at line 1846 of file object_modifier.cc.
References edit_modifier_liboverride_allowed_poll(), and edit_modifier_poll_generic().
Referenced by edit_modifier_liboverride_allowed_poll(), OBJECT_OT_modifier_copy(), and OBJECT_OT_modifier_set_active().
|
static |
Definition at line 1839 of file object_modifier.cc.
References edit_modifier_poll(), and edit_modifier_poll_generic().
Referenced by edit_modifier_poll(), OBJECT_OT_modifier_convert(), OBJECT_OT_modifier_move_down(), OBJECT_OT_modifier_move_to_index(), OBJECT_OT_modifier_move_up(), and OBJECT_OT_modifier_remove().
| bool blender::ed::object::edit_modifier_poll_generic | ( | bContext * | C, |
| StructRNA * | rna_type, | ||
| int | obtype_flag, | ||
| bool | is_editmode_allowed, | ||
| bool | is_liboverride_allowed ) |
Definition at line 1800 of file object_modifier.cc.
References BKE_id_is_editable(), BKE_modifier_is_nonlocal_in_liboverride(), BKE_object_active_modifier(), context_active_object(), CTX_data_edit_object(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), PointerRNA::data, edit_modifier_poll_generic(), Object::id, mod(), PointerRNA::owner_id, ptr, and Object::type.
Referenced by correctivesmooth_poll(), dash_modifier_segment_poll(), datalayout_transfer_poll(), edit_modifier_liboverride_allowed_poll(), edit_modifier_poll(), edit_modifier_poll_generic(), explode_poll(), laplaciandeform_poll(), meshdeform_poll(), modifier_apply_poll(), multires_poll(), ocean_bake_poll(), skin_edit_poll(), skin_poll(), surfacedeform_bind_poll(), and time_modifier_segment_poll().
| void blender::ed::object::edit_modifier_properties | ( | wmOperatorType * | ot | ) |
Definition at line 1851 of file object_modifier.cc.
References edit_modifier_properties(), MAX_NAME, ot, PROP_HIDDEN, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by edit_modifier_properties(), OBJECT_OT_correctivesmooth_bind(), OBJECT_OT_datalayout_transfer(), OBJECT_OT_explode_refresh(), OBJECT_OT_grease_pencil_dash_modifier_segment_add(), OBJECT_OT_grease_pencil_dash_modifier_segment_move(), OBJECT_OT_grease_pencil_dash_modifier_segment_remove(), OBJECT_OT_grease_pencil_time_modifier_segment_add(), OBJECT_OT_grease_pencil_time_modifier_segment_move(), OBJECT_OT_grease_pencil_time_modifier_segment_remove(), OBJECT_OT_laplaciandeform_bind(), OBJECT_OT_meshdeform_bind(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_apply_as_shapekey(), OBJECT_OT_modifier_convert(), OBJECT_OT_modifier_copy(), OBJECT_OT_modifier_copy_to_selected(), OBJECT_OT_modifier_move_down(), OBJECT_OT_modifier_move_to_index(), OBJECT_OT_modifier_move_up(), OBJECT_OT_modifier_remove(), OBJECT_OT_modifier_set_active(), OBJECT_OT_multires_base_apply(), OBJECT_OT_multires_external_save(), OBJECT_OT_multires_higher_levels_delete(), OBJECT_OT_multires_rebuild_subdiv(), OBJECT_OT_multires_reshape(), OBJECT_OT_multires_subdivide(), OBJECT_OT_multires_unsubdivide(), OBJECT_OT_ocean_bake(), OBJECT_OT_skin_armature_create(), and OBJECT_OT_surfacedeform_bind().
| ModifierData * blender::ed::object::edit_modifier_property_get | ( | wmOperator * | op, |
| Object * | ob, | ||
| int | type ) |
Definition at line 1936 of file object_modifier.cc.
References BKE_modifiers_findby_name(), edit_modifier_property_get(), MAX_NAME, modifier_name, wmOperator::ptr, RNA_string_get(), and ModifierData::type.
Referenced by correctivesmooth_bind_exec(), dash_modifier_segment_add_exec(), dash_modifier_segment_move_exec(), dash_modifier_segment_remove_exec(), datalayout_transfer_exec(), edit_modifier_property_get(), explode_refresh_exec(), laplaciandeform_bind_exec(), meshdeform_bind_exec(), modifier_convert_exec(), modifier_copy_to_selected_exec(), modifier_move_down_exec(), modifier_move_up_exec(), modifier_set_active_exec(), multires_base_apply_exec(), multires_external_save_invoke(), multires_higher_levels_delete_exec(), multires_rebuild_subdiv_exec(), multires_reshape_exec(), multires_subdivide_exec(), multires_unsubdivide_exec(), ocean_bake_exec(), skin_armature_create_exec(), surfacedeform_bind_exec(), time_modifier_segment_add_exec(), time_modifier_segment_move_exec(), and time_modifier_segment_remove_exec().
|
static |
Definition at line 1858 of file object_modifier.cc.
References edit_modifier_report_property(), ot, PROP_HIDDEN, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by edit_modifier_report_property(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_apply_as_shapekey(), and OBJECT_OT_modifier_remove().
|
static |
| event | If this isn't nullptr, the operator will also look for panels underneath the cursor with custom-data set to a modifier. |
| r_retval | This should be used if #event is used in order to return OPERATOR_PASS_THROUGH to check other operators with the same key set. |
Definition at line 414 of file object_shader_fx.cc.
References BLI_assert, CTX_data_pointer_get_type(), PointerRNA::data, ShaderFxData::name, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_pointer_is_null(), RNA_string_set(), RNA_struct_is_a(), RNA_struct_property_is_set(), PointerRNA::type, and UI_region_panel_custom_data_under_cursor().
Referenced by shaderfx_copy_invoke(), shaderfx_move_down_invoke(), shaderfx_move_to_index_invoke(), shaderfx_move_up_invoke(), and shaderfx_remove_invoke().
|
static |
Definition at line 292 of file object_shader_fx.cc.
References edit_shaderfx_poll_generic().
Referenced by OBJECT_OT_shaderfx_add(), OBJECT_OT_shaderfx_copy(), OBJECT_OT_shaderfx_move_down(), OBJECT_OT_shaderfx_move_to_index(), OBJECT_OT_shaderfx_move_up(), and OBJECT_OT_shaderfx_remove().
|
static |
Definition at line 255 of file object_shader_fx.cc.
References BKE_id_is_editable(), BKE_shaderfx_is_nonlocal_in_liboverride(), context_active_object(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), PointerRNA::data, ED_operator_object_active_editable_ex(), ID_IS_OVERRIDE_LIBRARY, PointerRNA::owner_id, ptr, and Object::type.
Referenced by edit_shaderfx_poll().
|
static |
Definition at line 394 of file object_shader_fx.cc.
References MAX_NAME, ot, PROP_HIDDEN, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by OBJECT_OT_shaderfx_copy(), OBJECT_OT_shaderfx_move_down(), OBJECT_OT_shaderfx_move_to_index(), OBJECT_OT_shaderfx_move_up(), and OBJECT_OT_shaderfx_remove().
|
static |
Definition at line 455 of file object_shader_fx.cc.
References BKE_shaderfx_findby_name(), MAX_NAME, wmOperator::ptr, RNA_string_get(), and ShaderFxData::type.
Referenced by shaderfx_copy_exec(), shaderfx_move_down_exec(), shaderfx_move_to_index_exec(), shaderfx_move_up_exec(), and shaderfx_remove_exec().
|
static |
Definition at line 401 of file object_shader_fx.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by OBJECT_OT_shaderfx_remove().
Definition at line 912 of file object_edit.cc.
References CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), editmode_enter_ex(), and flag.
Definition at line 795 of file object_edit.cc.
References BKE_editlattice_make(), BKE_editmesh_from_object(), BKE_editmesh_looptris_and_normals_calc(), BKE_object_is_in_editmode(), BKE_object_obdata_is_libdata(), CLOG_WARN, Object::data, DEG_id_tag_update(), ED_armature_to_edit(), ED_curve_editfont_make(), ED_curve_editnurb_make(), ED_mball_editmball_make(), EDBM_mesh_make(), ELEM, EM_NO_CONTEXT, flag, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Main::is_memfile_undo_written, LIKELY, LOG, mesh_needs_keyindex(), Object::mode, ID::name, NC_SCENE, ND_MODE, bArmature::needs_flush_to_id, MetaBall::needs_flush_to_id, NS_EDITMODE_ARMATURE, NS_EDITMODE_CURVE, NS_EDITMODE_CURVES, NS_EDITMODE_GREASE_PENCIL, NS_EDITMODE_LATTICE, NS_EDITMODE_MBALL, NS_EDITMODE_MESH, NS_EDITMODE_POINT_CLOUD, NS_EDITMODE_TEXT, NS_MODE_OBJECT, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_EDIT, OB_POINTCLOUD, OB_SURF, Object::restore_mode, Object::type, and WM_main_add_notifier().
Referenced by add_type_with_obdata(), blender::ed::outliner::do_outliner_item_editmode_toggle(), editmode_enter(), editmode_toggle_exec(), effector_add_exec(), make_prim_init(), and object_armature_add_exec().
Definition at line 754 of file object_edit.cc.
References CTX_data_edit_object(), CTX_data_main(), CTX_data_scene(), editmode_exit_ex(), and flag.
Referenced by blender::ed::outliner::object_batch_delete_hierarchy_tag_fn().
| bool blender::ed::object::editmode_exit_ex | ( | Main * | bmain, |
| Scene * | scene, | ||
| Object * | obedit, | ||
| int | flag ) |
| flag |
|
Definition at line 708 of file object_edit.cc.
References BKE_particlesystem_reset_all(), BKE_ptcache_ids_from_object(), BKE_ptcache_object_reset(), BLI_freelistN(), Object::data, DEG_id_tag_update(), editmode_load_free_ex(), EM_FREEDATA, flag, blender::free_data(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, LISTBASE_FOREACH, Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, OB_MODE_EDIT, PTCACHE_OUTDATED, PTCACHE_RESET_OUTDATED, PTCACHE_TYPE_PARTICLES, UNLIKELY, and WM_main_add_notifier().
Referenced by add_type_with_obdata(), curvesurf_prim_add(), blender::ed::outliner::do_outliner_item_editmode_toggle(), ed_object_mode_generic_exit_ex(), editmode_exit(), editmode_exit_multi_ex(), editmode_toggle_exec(), effector_add_exec(), make_prim_finish(), object_armature_add_exec(), object_metaball_add_exec(), blender::ed::outliner::outliner_object_delete_fn(), and posemode_exec().
Definition at line 787 of file object_edit.cc.
References CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), editmode_exit_multi_ex(), and flag.
| bool blender::ed::object::editmode_exit_multi_ex | ( | Main * | bmain, |
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| int | flag ) |
Definition at line 767 of file object_edit.cc.
References BKE_view_layer_edit_object_get(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), editmode_exit_ex(), flag, LISTBASE_FOREACH, Object::mode, OB_MODE_EDIT, and Object::type.
Referenced by base_activate_with_mode_exit_if_needed(), and editmode_exit_multi().
Support freeing edit-mode data without flushing it back to the object.
Definition at line 762 of file object_edit.cc.
References editmode_load_free_ex().
Definition at line 703 of file object_edit.cc.
References editmode_load_free_ex().
Referenced by bake_targets_init_vertex_colors().
|
static |
Load edit-mode data back into the object.
| load_data | Flush the edit-mode data back to the object. |
| free_data | Free the edit-mode data. |
Definition at line 562 of file object_edit.cc.
References BKE_editlattice_free(), BKE_editlattice_load(), BKE_object_data_editmode_flush_ptr_get(), BKE_pose_channels_clear_with_null_bone(), BLI_assert, CLOG_WARN, Object::data, DEG_relations_tag_update(), ED_armature_edit_free(), ED_armature_from_edit(), ED_curve_editfont_free(), ED_curve_editfont_load(), ED_curve_editnurb_free(), ED_curve_editnurb_load(), ED_mball_editmball_free(), ED_mball_editmball_load(), ED_mesh_mirror_spatial_table_end(), ED_mesh_mirror_topo_table_end(), EDBM_mesh_free_data(), EDBM_mesh_load_ex(), bArmature::edbo, MetaBall::editelems, Curve::editfont, Lattice::editlatt, Curve::editnurb, ELEM, blender::free_data(), LOG, MESH_MAX_VERTS, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, Object::pose, and Object::type.
Referenced by editmode_exit_ex(), editmode_free_ex(), and editmode_load().
|
static |
Definition at line 923 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_message_bus(), CTX_wm_view3d(), editmode_enter_ex(), editmode_exit_ex(), EM_FREEDATA, EM_NO_CONTEXT, FOREACH_OBJECT_BEGIN, FOREACH_OBJECT_END, FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, G, Object::id, Object::mode, mode_compat_set(), OB_GREASE_PENCIL, OB_MODE_EDIT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, Object::type, WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by OBJECT_OT_editmode_toggle().
|
static |
Definition at line 975 of file object_edit.cc.
References CTX_data_active_object(), Object::data, ELEM, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, Object::mode, OB_HIDE_VIEWPORT, OB_MODE_EDIT, OB_TYPE_SUPPORT_EDITMODE, Object::type, and Object::visibility_flag.
Referenced by OBJECT_OT_editmode_toggle().
|
static |
Definition at line 851 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), BKE_partdeflect_new(), BLI_addtail(), CTX_data_main(), CTX_data_scene(), CU_3D, CU_NURBS, CU_PATH, CU_PRIM_PATH, Object::data, ED_curve_add_nurbs_primitive(), editmode_enter_ex(), editmode_exit_ex(), Curve::editnurb, ELEM, EM_FREEDATA, Object::empty_drawtype, Curve::flag, get_effector_defname(), mul_mat3_m4_fl(), new_primitive_matrix(), EditNurb::nurbs, OB_CURVES_LEGACY, OB_EMPTY, OB_SINGLE_ARROW, OPERATOR_FINISHED, Object::pd, PFIELD_GUIDE, PFIELD_VORTEX, PFIELD_WIND, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_effector_add().
|
static |
Definition at line 3327 of file object_modifier.cc.
References edit_modifier_poll_generic(), and explode_poll().
Referenced by explode_poll(), and OBJECT_OT_explode_refresh().
|
static |
Definition at line 3332 of file object_modifier.cc.
References context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), eExplodeFlag_CalcFaces, eModifierType_Explode, explode_refresh_exec(), ExplodeModifierData::flag, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by explode_refresh_exec(), explode_refresh_invoke(), and OBJECT_OT_explode_refresh().
|
static |
Definition at line 3350 of file object_modifier.cc.
References edit_modifier_invoke_properties(), explode_refresh_exec(), explode_refresh_invoke(), and OPERATOR_CANCELLED.
Referenced by explode_refresh_invoke(), and OBJECT_OT_explode_refresh().
| Base * blender::ed::object::find_first_by_data_id | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| ID * | id ) |
If id is not already an Object, try to find an object that uses it as data. Prefers active, then selected, then visible/selectable.
Definition at line 212 of file object_select.cc.
References BASE_SELECTED, BKE_view_layer_active_base_get(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), BLI_assert, Object::data, get_base_select_priority(), GS, LISTBASE_FOREACH, OB_DATA_SUPPORT_ID, and Base::object.
Referenced by jump_to_target_ptr().
|
static |
Definition at line 1028 of file object_bake_api.cc.
References ORIGINDEX_NONE, blender::IndexRange::size(), and blender::IndexRange::start().
Referenced by bake_targets_populate_pixels_color_attributes().
|
static |
Definition at line 1063 of file object_constraint.cc.
References A, AnimData::action, blender::animrig::action_fcurve_ensure(), add_fmodifier(), Curve::adt, B, FCurve::bezt, BKE_report(), BLI_assert, FMod_Generator::coefficients, CONSTRAINT_TYPE_FOLLOWPATH, context_active_object(), CTX_data_main(), bConstraint::data, FModifier::data, edit_constraint_property_get(), ELEM, blender::animrig::fcurve_find_in_assigned_slot(), ListBase::first, float, FMODIFIER_TYPE_GENERATOR, FOLLOWPATH_STATIC, FCurve::fpt, Curve::id, Object::id, blender::animrig::id_action_ensure(), len, FCurve::modifiers, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_id_pointer_create(), RNA_int_get(), RNA_path_from_ID_to_property(), RNA_pointer_create(), RNA_struct_find_property(), RPT_ERROR, RPT_WARNING, and WM_event_add_notifier().
Referenced by CONSTRAINT_OT_followpath_path_animate(), and followpath_path_animate_invoke().
|
static |
Definition at line 1149 of file object_constraint.cc.
References edit_constraint_invoke_properties(), followpath_path_animate_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_followpath_path_animate().
|
static |
Definition at line 939 of file object_constraint.cc.
References BKE_object_eval_constraints(), CONSTRAINT_DISABLE, CONSTRAINT_OFF, CTX_data_ensure_evaluated_depsgraph(), DEG_get_evaluated_scene(), depsgraph, and bConstraint::flag.
Referenced by childof_set_inverse_exec(), and objectsolver_set_inverse_exec().
|
static |
Definition at line 1132 of file object_edit.cc.
References BKE_partdeflect_new(), check_force_modifiers(), CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), Object::empty_drawtype, PartDeflect::forcefield, Object::id, ID_RECALC_TRANSFORM, NC_OBJECT, ND_DRAW, ND_MODIFIER, OB_PLAINAXES, OPERATOR_FINISHED, Object::pd, PFIELD_FORCE, and WM_event_add_notifier().
Referenced by OBJECT_OT_forcefield_toggle().
|
static |
Definition at line 3787 of file object_modifier.cc.
References BKE_id_copy_ex(), BKE_object_active_modifier(), context_active_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), eModifierType_Nodes, NodesModifierData::flag, geometry_node_tree_copy_assign_exec(), Object::id, ID_RECALC_GEOMETRY, id_us_min(), LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, NC_OBJECT, ND_MODIFIER, NodesModifierData::node_group, OPERATOR_CANCELLED, OPERATOR_FINISHED, tree, ModifierData::type, and WM_event_add_notifier().
Referenced by geometry_node_tree_copy_assign_exec(), and OBJECT_OT_geometry_node_tree_copy_assign().
|
static |
Definition at line 3730 of file object_modifier.cc.
References BKE_modifiers_findby_name(), context_active_object(), DEG_id_tag_update(), geometry_nodes_input_attribute_toggle_exec(), Object::id, ID_RECALC_GEOMETRY, IDP_Bool, IDP_BOOLEAN, IDP_GetPropertyFromGroup(), IDP_INT, IDP_Int, MAX_NAME, modifier_name, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, NodesModifierSettings::properties, wmOperator::ptr, RNA_string_get(), NodesModifierData::settings, IDProperty::type, and WM_event_add_notifier().
Referenced by geometry_nodes_input_attribute_toggle_exec(), and OBJECT_OT_geometry_nodes_input_attribute_toggle().
|
static |
Definition at line 247 of file add_modifier_assets.cc.
References blender::ed::asset::asset_local_id_ensure_imported(), CTX_data_main(), ID_NT, blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), ptr, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by get_node_group().
Definition at line 201 of file object_select.cc.
References BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BASE_SELECTABLE, and Base::flag.
Referenced by find_first_by_data_id().
|
static |
Definition at line 812 of file object_add.cc.
References BLI_assert, BLT_I18NCONTEXT_ID_OBJECT, CTX_DATA_, NUM_PFIELD_TYPES, PFIELD_BOID, PFIELD_CHARGE, PFIELD_DRAG, PFIELD_FLUIDFLOW, PFIELD_FORCE, PFIELD_GUIDE, PFIELD_HARMONIC, PFIELD_LENNARDJ, PFIELD_MAGNET, PFIELD_NULL, PFIELD_TEXTURE, PFIELD_TURBULENCE, PFIELD_VORTEX, and PFIELD_WIND.
Referenced by effector_add_exec().
|
static |
Definition at line 1549 of file object_add.cc.
References BLT_I18NCONTEXT_ID_LIGHT, CTX_DATA_, LA_AREA, LA_LOCAL, LA_SPOT, and LA_SUN.
Referenced by object_light_add_exec().
|
static |
Definition at line 747 of file object_add.cc.
References BLT_I18NCONTEXT_ID_LIGHT, CTX_DATA_, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, and LIGHTPROBE_TYPE_VOLUME.
Referenced by lightprobe_add_exec().
|
static |
Definition at line 2213 of file object_constraint.cc.
References BA_SELECT, ViewLayer::basact, base_select(), BKE_object_add(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_pose_channel_active_or_first_selected(), BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), CONSTRAINT_TYPE_CLAMPTO, CONSTRAINT_TYPE_FOLLOWPATH, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_LOCLIMIT, CONSTRAINT_TYPE_NULL, CONSTRAINT_TYPE_ROTLIMIT, CONSTRAINT_TYPE_SAMEVOL, CONSTRAINT_TYPE_SHRINKWRAP, CONSTRAINT_TYPE_SIZELIMIT, CONSTRAINT_TYPE_SPLINEIK, context_active_object(), copy_v3_v3(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CU_PATH, Curve::flag, Object::loc, mul_v3_m4v3(), OB_ARMATURE, OB_CURVES_LEGACY, OB_EMPTY, OB_MESH, OB_MODE_POSE, bPoseChannel::pose_head, bPoseChannel::pose_tail, and Object::type.
Referenced by constraint_add_exec(), and pose_ik_add_invoke().
|
static |
Definition at line 266 of file add_modifier_assets.cc.
References BKE_report(), get_asset_or_local_node_group(), NTREE_GEOMETRY, ptr, RPT_ERROR, and bNodeTree::type.
Referenced by modifier_add_asset_exec().
|
static |
Definition at line 73 of file add_modifier_assets.cc.
References tree.
Referenced by catalog_assets_draw(), root_catalogs_draw(), ui_template_modifier_asset_menu_items(), and unassigned_assets_draw().
|
static |
Definition at line 930 of file object_vgroup.cc.
References BKE_defvert_find_index(), bm, BM_ELEM_CD_GET_VOID_P, BM_mesh_elem_table_ensure(), BM_VERT, BM_vert_at_index(), CD_MDEFORMVERT, CustomData_get_offset(), Object::data, Lattice::dvert, blender::Span< T >::is_empty(), OB_LATTICE, OB_MESH, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, BMesh::totvert, Object::type, vgroup_edit_lattice(), and MDeformWeight::weight.
Referenced by vgroup_vert_weight().
| GpencilModifierData * blender::ed::object::gpencil_modifier_add | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| const char * | name, | ||
| int | type ) |
| bool blender::ed::object::gpencil_modifier_apply | ( | Main * | bmain, |
| ReportList * | reports, | ||
| Depsgraph * | depsgraph, | ||
| Object * | ob, | ||
| GpencilModifierData * | md, | ||
| int | mode ) |
| bool blender::ed::object::gpencil_modifier_copy | ( | ReportList * | reports, |
| Object * | ob, | ||
| GpencilModifierData * | md ) |
| void blender::ed::object::gpencil_modifier_copy_to_object | ( | Object * | ob_dst, |
| GpencilModifierData * | md ) |
| bool blender::ed::object::gpencil_modifier_move_down | ( | ReportList * | reports, |
| Object * | ob, | ||
| GpencilModifierData * | md ) |
| bool blender::ed::object::gpencil_modifier_move_to_index | ( | ReportList * | reports, |
| Object * | ob, | ||
| GpencilModifierData * | md, | ||
| int | index ) |
| bool blender::ed::object::gpencil_modifier_move_up | ( | ReportList * | reports, |
| Object * | ob, | ||
| GpencilModifierData * | md ) |
| bool blender::ed::object::gpencil_modifier_remove | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Object * | ob, | ||
| GpencilModifierData * | md ) |
|
static |
Definition at line 2557 of file object_vgroup.cc.
References BKE_object_defgroup_list(), DG_LOCK_WEIGHT, ListBase::first, bDeformGroup::flag, grease_pencil_clear_from_vgroup(), and bDeformGroup::next.
Referenced by vertex_group_remove_exec(), and vertex_group_remove_from_exec().
|
static |
Definition at line 2528 of file object_vgroup.cc.
References BKE_object_defgroup_remove(), Object::data, GP_DRAWING, bDeformGroup::name, blender::bke::greasepencil::remove_from_vertex_group(), and wrap().
Referenced by grease_pencil_clear_from_all_vgroup(), vertex_group_remove_exec(), and vertex_group_remove_from_exec().
|
static |
Definition at line 1218 of file object_edit.cc.
References Object::avs, MOTIONPATH_BAKE_HAS_PATHS, and bAnimVizSettings::path_bakeflag.
Referenced by motion_paths_recalc().
|
static |
Definition at line 1223 of file object_edit.cc.
References bPose::avs, MOTIONPATH_BAKE_HAS_PATHS, bAnimVizSettings::path_bakeflag, and Object::pose.
Referenced by motion_paths_recalc().
|
static |
Definition at line 729 of file object_hook.cc.
References CTX_data_edit_object(), eModifierType_Hook, ListBase::first, EnumPropertyItem::icon, EnumPropertyItem::identifier, Object::modifiers, EnumPropertyItem::name, ModifierData::name, ModifierData::next, rna_enum_dummy_NULL_items, RNA_enum_item_add(), RNA_enum_item_end(), ModifierData::type, and EnumPropertyItem::value.
Referenced by OBJECT_OT_hook_assign(), OBJECT_OT_hook_recenter(), OBJECT_OT_hook_remove(), OBJECT_OT_hook_reset(), and OBJECT_OT_hook_select().
|
static |
Definition at line 468 of file object_hook.cc.
References CTX_data_edit_object(), ED_operator_editlattice(), ED_operator_editmesh(), and ED_operator_editsurfcurve().
Referenced by OBJECT_OT_hook_add_newob(), OBJECT_OT_hook_add_selob(), OBJECT_OT_hook_assign(), OBJECT_OT_hook_recenter(), OBJECT_OT_hook_remove(), OBJECT_OT_hook_reset(), and OBJECT_OT_hook_select().
|
static |
Definition at line 538 of file object_transform.cc.
References BKE_object_apply_mat4(), BKE_object_calc_parent(), BKE_object_eval_transform_all(), BKE_object_transform_copy(), copy_m4_m4(), DEG_get_evaluated_object(), DEG_get_evaluated_scene(), DEG_id_tag_update(), depsgraph, ID_RECALC_TRANSFORM, invert_m4_m4(), LISTBASE_FOREACH, Main::objects, Object::parentinv, and ptr.
Referenced by apply_objects_internal(), and object_origin_set_exec().
|
static |
Multi-resolution-bake adopted for job-system executing.
Definition at line 415 of file object_bake.cc.
References blender::ed::object::MultiresBakeJob::bake_clear, blender::ed::object::MultiresBakeJob::bake_margin, blender::ed::object::MultiresBakeJob::bake_margin_type, bake_object_image_get_array(), blender::ed::object::MultiresBakeJob::bias, BKE_scene_num_threads(), BLI_addtail(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), blender::ed::object::MultiresBakeJob::data, blender::ed::object::MultiresBakeJob::mode, multires_flush_sculpt_updates(), multiresbake_create_hiresdm(), multiresbake_create_loresdm(), blender::ed::object::MultiresBakeJob::number_of_rays, R_BAKE_CLEAR, R_BAKE_EXTEND, R_BAKE_LORES_MESH, R_BAKE_USERSCALE, RE_BAKE_NORMALS, blender::ed::object::MultiresBakeJob::scene, scene, blender::ed::object::MultiresBakeJob::threads, Object::totcol, blender::ed::object::MultiresBakeJob::use_lores_mesh, and blender::ed::object::MultiresBakeJob::user_scale.
Referenced by multiresbake_image_exec().
| void blender::ed::object::init_transform_on_add | ( | Object * | object, |
| const float | loc[3], | ||
| const float | rot[3] ) |
Definition at line 333 of file object_add.cc.
References BKE_object_to_mat4(), copy_v3_v3(), and rot.
Referenced by add_type_with_obdata(), and txt_add_object().
|
static |
Definition at line 1766 of file object_vgroup.cc.
References MDeformWeight::weight.
Referenced by vgroup_limit_total_subset().
|
static |
Definition at line 607 of file object_bake.cc.
References ELEM, R_BAKE_MULTIRES, RE_BAKE_AO, RE_BAKE_DISPLACEMENT, and RE_BAKE_NORMALS.
Referenced by bake_image_exec().
|
static |
Definition at line 454 of file object_bake_api.cc.
References ELEM, SCE_PASS_INDEXMA, SCE_PASS_INDEXOB, SCE_PASS_NORMAL, SCE_PASS_POSITION, SCE_PASS_UV, SCE_PASS_VECTOR, and SCE_PASS_Z.
Referenced by bake_targets_init().
|
static |
Definition at line 1568 of file object_edit.cc.
References eModifierType_Nodes, bNodeTree::id, LibraryWeakReference::library_id_name, ID::library_weak_reference, NodesModifierData::node_group, STREQ, and ModifierData::type.
Referenced by shade_auto_smooth_exec(), and shade_smooth_exec().
| bool blender::ed::object::iter_other | ( | Main * | bmain, |
| Object * | orig_ob, | ||
| bool | include_orig, | ||
| bool(* | callback )(Object *ob, void *callback_data), | ||
| void * | callback_data ) |
If the object data of 'orig_ob' has other users, run 'callback' on each of them.
If include_orig is true, the callback will run on 'orig_ob' too.
If the callback ever returns true, iteration will stop and the function value will be true. Otherwise the function returns false.
Definition at line 273 of file object_modifier.cc.
References callback, Object::data, ListBase::first, ID::flag, Object::id, ID_FLAG_FAKEUSER, ID::next, Main::objects, ID::us, and users.
Referenced by join_mesh_single(), multires_higher_levels_delete_exec(), multires_subdivide_exec(), and object_modifier_safe_to_delete().
|
static |
Definition at line 4396 of file object_add.cc.
References BKE_lib_override_library_id_is_user_deletable(), BKE_object_obdata_is_libdata(), BKE_report(), BKE_reportf(), CTX_data_active_object(), CTX_data_main(), ED_mesh_shapes_join_objects_exec(), Object::id, join_shapes_exec(), Object::mode, ID::name, OB_MESH, OB_MODE_EDIT, OPERATOR_CANCELLED, wmOperator::reports, RPT_ERROR, RPT_WARNING, and Object::type.
Referenced by join_shapes_exec(), and OBJECT_OT_join_shapes().
|
static |
Definition at line 4379 of file object_add.cc.
References CTX_data_active_object(), Object::data, ED_operator_screenactive(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, join_shapes_poll(), OB_MESH, and Object::type.
Referenced by join_shapes_poll(), and OBJECT_OT_join_shapes().
| bool blender::ed::object::jump_to_bone | ( | bContext * | C, |
| Object * | ob, | ||
| const char * | bone_name, | ||
| bool | reveal_hidden ) |
Select and make the target object and bone active. Switches to Pose mode if in Object mode so the selection is visible. Un-hides the target bone and bone layer if necessary.
Definition at line 279 of file object_select.cc.
References bArmature::act_bone, bArmature::act_edbone, ANIM_armature_bonecoll_show_from_ebone(), ANIM_armature_bonecoll_show_from_pchan(), BKE_pose_channel_find_name(), bPoseChannel::bone, Object::data, EBONE_SELECTABLE, ED_armature_ebone_find_name(), ED_armature_ebone_select_set(), ED_armature_edit_deselect_all(), ED_armature_edit_sync_selection(), ED_pose_bone_select(), ED_pose_bone_select_tag_update(), ED_pose_deselect_all(), bArmature::edbo, ELEM, Bone::flag, EditBone::flag, jump_to_object(), Object::mode, mode_set(), OB_ARMATURE, OB_MODE_EDIT, OB_MODE_POSE, Object::pose, SEL_DESELECT, and Object::type.
Referenced by jump_to_target_ptr().
Select and make the target object active in the view layer. If already selected, selection isn't changed.
Definition at line 246 of file object_select.cc.
References BA_SELECT, base_activate(), base_deselect_all(), base_select(), BASE_SELECTED, BASE_VISIBLE, BKE_view_layer_active_base_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Base::flag, NC_SCENE, ND_OB_SELECT, SEL_DESELECT, and WM_event_add_notifier().
Referenced by jump_to_bone(), and jump_to_target_ptr().
| void blender::ed::object::keymap_object | ( | wmKeyConfig * | keyconf | ) |
Definition at line 324 of file object_ops.cc.
References object_mode_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 3587 of file object_modifier.cc.
References BKE_modifier_get_evaluated(), context_active_object(), CTX_data_ensure_evaluated_depsgraph(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_LaplacianDeform, LaplacianDeformModifierData::flag, Object::id, ID_RECALC_GEOMETRY, laplaciandeform_bind_exec(), MEM_dupallocN, MEM_SAFE_FREE, MOD_LAPLACIANDEFORM_BIND, LaplacianDeformModifierData::modifier, NC_OBJECT, ND_MODIFIER, object_force_modifier_bind_simple_options(), OPERATOR_CANCELLED, OPERATOR_FINISHED, LaplacianDeformModifierData::vertexco, LaplacianDeformModifierData::verts_num, and WM_event_add_notifier().
Referenced by laplaciandeform_bind_exec(), laplaciandeform_bind_invoke(), and OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 3628 of file object_modifier.cc.
References edit_modifier_invoke_properties(), laplaciandeform_bind_exec(), laplaciandeform_bind_invoke(), and OPERATOR_CANCELLED.
Referenced by laplaciandeform_bind_invoke(), and OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 3582 of file object_modifier.cc.
References edit_modifier_poll_generic(), and laplaciandeform_poll().
Referenced by laplaciandeform_poll(), and OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 1709 of file object_relations.cc.
References BKE_libblock_relink_to_newid(), libblock_relink_collection(), and LISTBASE_FOREACH.
Referenced by libblock_relink_collection(), and single_object_users().
|
static |
Definition at line 35 of file object_light_linking_ops.cc.
References BKE_light_linking_collection_new(), context_active_object(), CTX_data_main(), and OPERATOR_FINISHED.
Referenced by OBJECT_OT_light_linking_blocker_collection_new(), and OBJECT_OT_light_linking_receiver_collection_new().
|
static |
Definition at line 132 of file object_light_linking_ops.cc.
References BKE_light_linking_link_receiver_to_emitter(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_light_linking_blockers_link(), and OBJECT_OT_light_linking_receivers_link().
|
static |
Definition at line 82 of file object_light_linking_ops.cc.
References BKE_light_linking_select_receivers_of_emitter(), context_active_object(), CTX_data_scene(), CTX_data_view_layer(), NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_light_linking_blockers_select(), and OBJECT_OT_light_linking_receivers_select().
|
static |
Definition at line 236 of file object_light_linking_ops.cc.
References BKE_light_linking_unlink_id_from_collection(), CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, NA_EDITED, NC_ID, NC_SCENE, NC_SPACE, ND_LAYER, ND_SPACE_OUTLINER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::reports, and WM_event_add_notifier().
Referenced by OBJECT_OT_light_linking_unlink_from_collection().
|
static |
Definition at line 761 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_lightprobe_type_set(), copy_v3_fl(), Object::data, get_lightprobe_defname(), OB_LIGHTPROBE, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, Object::scale, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_lightprobe_add().
|
static |
Definition at line 883 of file object_constraint.cc.
References CONSTRAINT_TYPE_DISTLIMIT, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by CONSTRAINT_OT_limitdistance_reset(), and limitdistance_reset_invoke().
|
static |
Definition at line 903 of file object_constraint.cc.
References edit_constraint_invoke_properties(), limitdistance_reset_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_limitdistance_reset().
Definition at line 286 of file object_add.cc.
References copy_v3_v3(), and CTX_data_scene().
Referenced by add_generic_get_opts(), collection_add_info_get_from_op(), object_add_named_exec(), object_data_instance_add_exec(), object_image_add_invoke(), and object_transform_to_mouse_exec().
|
static |
Definition at line 1462 of file object_relations.cc.
References allow_make_links_data(), BKE_animdata_copy_id(), BKE_collection_object_add(), BKE_id_is_editable(), BKE_MAT_ASSIGN_USERPREF, BKE_object_groups(), BKE_object_groups_clear(), BKE_object_link_modifiers(), BKE_object_material_assign(), BKE_object_material_get(), BKE_object_materials_test(), BKE_pose_rebuild(), BKE_report(), BLI_linklist_free(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, VFont::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, id_us_min(), id_us_plus(), LinkNode::link, MAKE_LINKS_ANIMDATA, MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, NC_ANIMATION, NC_OBJECT, NC_SPACE, ND_NLA_ACTCHANGE, ND_SPACE_VIEW3D, LinkNode::next, OB_ARMATURE, OB_DUPLICOLLECTION, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, shaderfx_link(), Object::totcol, Object::type, Curve::vfont, Curve::vfontb, Curve::vfontbi, Curve::vfonti, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_links_data().
|
static |
Definition at line 1365 of file object_relations.cc.
References BKE_collection_object_add(), BKE_id_is_editable(), BKE_report(), BLI_findlink(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Collection::id, Scene::id, ID_RECALC_HIERARCHY, Scene::master_collection, NC_OBJECT, ND_DRAW, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, Main::scenes, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_links_scene().
|
static |
Instance indirectly referenced zero user objects, * otherwise they're lost on reload, see #40595.
Definition at line 2129 of file object_relations.cc.
References BA_SELECT, base_select(), BKE_collection_object_add(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), DEG_id_tag_update(), ListBase::first, Object::id, ID_IS_LINKED, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, id_us_plus(), ID::next, Main::objects, and ID::us.
Referenced by make_local_exec().
|
static |
Definition at line 2170 of file object_relations.cc.
References AnimData::action, bAction::id, LISTBASE_FOREACH, make_local_animdata_tag_strips(), AnimData::nla_tracks, ID::tag, and AnimData::tmpact.
Referenced by make_local_exec(), and make_local_material_tag().
|
static |
Definition at line 2158 of file object_relations.cc.
References LISTBASE_FOREACH, and make_local_animdata_tag_strips().
Referenced by make_local_animdata_tag(), and make_local_animdata_tag_strips().
|
static |
Definition at line 2202 of file object_relations.cc.
References BKE_animdata_from_id(), BKE_library_make_local(), BKE_main_id_tag_all(), BKE_object_material_array_p(), BKE_report(), BKE_view_layer_base_deselect_all(), CTX_DATA_BEGIN, CTX_data_collection(), CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ELEM, ID_TAG_DOIT, ID_TAG_PRE_EXISTING, LISTBASE_FOREACH, MAKE_LOCAL_ALL, make_local_all__instance_indirect_unused(), make_local_animdata_tag(), make_local_material_tag(), MAKE_LOCAL_SELECT_OBDATA, MAKE_LOCAL_SELECT_OBDATA_MATERIAL, NC_WINDOW, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_INFO, ID::tag, tag_localizable_objects(), and WM_event_add_notifier().
Referenced by OBJECT_OT_make_local().
|
static |
Definition at line 2191 of file object_relations.cc.
References BKE_animdata_from_id(), Material::id, make_local_animdata_tag(), and ID::tag.
Referenced by make_local_exec().
|
static |
Definition at line 2470 of file object_add.cc.
References Object::adt, BA_DESELECT, BA_SELECT, base_select(), BKE_animdata_free(), BKE_collection_object_add_from(), BKE_constraints_free(), BKE_id_copy(), BKE_libblock_relink_to_newid(), BKE_main_id_newptr_and_tag_clear(), BKE_object_apply_mat4(), BKE_scene_object_base_flag_sync_from_base(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, BLI_ghash_ensure_p(), BLI_ghash_free(), BLI_ghash_insert(), BLI_ghash_lookup(), BLI_ghash_new(), BLI_ghash_ptr_new(), BLI_listbase_is_empty(), Object::constraints, copy_m4_m4(), CTX_data_main(), CTX_data_view_layer(), DEG_get_evaluated_object(), DEG_get_original_object(), DEG_id_tag_update(), depsgraph, dupliobject_cmp(), dupliobject_hash(), dupliobject_instancer_cmp(), dupliobject_instancer_hash(), free_object_duplilist(), Object::id, ID_NEW_SET, ID_RECALC_GEOMETRY, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, id_us_min(), Object::instance_collection, LISTBASE_FOREACH, Object::mat, MAX_DUPLI_RECUR, DupliObject::ob, OB_DUPLI, OB_DUPLICOLLECTION, Base::object, object_duplilist(), blender::bke::object_has_geometry_set_instances(), Object::par1, Object::par2, Object::par3, Object::parent, Object::parentinv, PAROBJECT, Object::parsubstr, Object::partype, DupliObject::persistent_id, Object::runtime, STRNCPY, Object::totcol, Object::transflag, and DupliObject::type.
Referenced by object_duplicates_make_real_exec().
|
static |
Currently there is no 'all editable' option from the 3DView.
Definition at line 2332 of file object_relations.cc.
References base_free_and_unlink(), BKE_collection_child_remove(), BKE_lib_override_library_create(), BKE_main_id_tag_all(), BKE_reportf(), BKE_view_layer_has_collection(), BLI_assert, BLI_ghashutil_intcmp(), BLI_ghashutil_inthash_p(), BLI_gset_add(), BLI_gset_free(), BLI_gset_haskey(), BLI_gset_new(), BLI_listbase_bytes_find(), Main::collections, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), IDOverrideLibrary::flag, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, GS, IDOverrideLibrary::hierarchy_root, Collection::id, Object::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_SYNC_TO_EVAL, ID_TAG_DOIT, Object::instance_collection, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MAIN_ID_SESSION_UID_UNSET, make_override_library_object_overridable_check(), ID::name, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, OB_ARMATURE, offsetof, OPERATOR_CANCELLED, OPERATOR_FINISHED, ID::override_library, Collection_Runtime::parents, POINTER_FROM_UINT, wmOperatorType::prop, wmOperator::ptr, IDOverrideLibrary::reference, wmOperator::reports, RNA_property_int_get(), RPT_ERROR_INVALID_INPUT, Collection::runtime, ID::session_uid, wmOperator::type, and WM_event_add_notifier().
Referenced by make_override_library_invoke(), and OBJECT_OT_make_override_library().
|
static |
Definition at line 2531 of file object_relations.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_collection_has_collection(), BKE_collection_has_object_recursive(), BKE_report(), BKE_reportf(), BKE_view_layer_has_collection(), BLI_assert_msg, Main::collections, context_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), Collection::id, Object::id, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, Object::instance_collection, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), ID::lib, LISTBASE_FOREACH, MAIN_ID_SESSION_UID_UNSET, make_override_library_exec(), make_override_library_object_overridable_check(), OPERATOR_CANCELLED, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), wmOperatorType::prop, wmOperator::ptr, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), wmOperator::reports, RNA_property_int_set(), RPT_ERROR, ID::session_uid, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and wmOperator::type.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2315 of file object_relations.cc.
References BKE_collection_has_object(), Main::collections, ID_IS_LINKED, LISTBASE_FOREACH, and Main::scenes.
Referenced by make_override_library_exec(), and make_override_library_invoke().
|
static |
Definition at line 2623 of file object_relations.cc.
References BASE_SELECTED, CTX_data_active_base(), ED_operator_objectmode(), Base::flag, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY, Object::instance_collection, and Base::object.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2817 of file object_relations.cc.
References BKE_main_id_newptr_and_tag_clear(), BKE_view_layer_selected_objects_tag(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_relations_tag_update(), flag, MAKE_SINGLE_USER_SELECTED, NC_WINDOW, OB_DONE, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), SELECT, single_mat_users(), single_obdata_users(), single_object_action_users(), single_object_users(), single_objectdata_action_users(), and WM_event_add_notifier().
Referenced by OBJECT_OT_make_single_user().
|
static |
Definition at line 2870 of file object_relations.cc.
References IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by OBJECT_OT_make_single_user().
|
static |
Definition at line 503 of file object_vgroup.cc.
References BKE_defvert_ensure_index(), BKE_defvert_find_weight(), BKE_defvert_sync_mapped(), BKE_object_defgroup_flip_index(), BKE_object_defgroup_flip_map_unlocked(), MEM_freeN(), and MDeformWeight::weight.
Referenced by ED_mesh_defvert_mirror_update_em(), and ED_mesh_defvert_mirror_update_ob().
|
static |
Definition at line 672 of file object_remesh.cc.
References compare_v3v3(), blender::Span< T >::index_range(), MEM_callocN, MEM_freeN(), and MEM_malloc_arrayN.
Referenced by quadriflow_start_job().
Definition at line 535 of file object_edit.cc.
References ELEM, eModifierType_Hook, LISTBASE_FOREACH, Main::objects, PARVERT1, and PARVERT3.
Referenced by editmode_enter_ex().
|
static |
Definition at line 3257 of file object_modifier.cc.
References MeshDeformModifierData::bindcagecos, MeshDeformModifierData::bindcos, MeshDeformModifierData::bindfunc, MeshDeformModifierData::bindinfluences, MeshDeformModifierData::bindoffsets, MeshDeformModifierData::bindweights, BKE_modifier_get_evaluated(), MeshDeformModifierData::cage_verts_num, context_active_object(), CTX_data_ensure_evaluated_depsgraph(), DEG_id_tag_update(), depsgraph, MeshDeformModifierData::dyngrid, MeshDeformModifierData::dyninfluences, MeshDeformModifierData::dynverts, ED_mesh_deform_bind_callback(), edit_modifier_property_get(), eModifierType_MeshDeform, Object::id, ID_RECALC_GEOMETRY, MeshDeformModifierData::influences_num, MEM_SAFE_FREE, meshdeform_bind_exec(), MeshDeformModifierData::modifier, NC_OBJECT, ND_MODIFIER, object_force_modifier_bind_simple_options(), OPERATOR_CANCELLED, OPERATOR_FINISHED, MeshDeformModifierData::verts_num, and WM_event_add_notifier().
Referenced by meshdeform_bind_exec(), meshdeform_bind_invoke(), and OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 3296 of file object_modifier.cc.
References edit_modifier_invoke_properties(), meshdeform_bind_exec(), meshdeform_bind_invoke(), and OPERATOR_CANCELLED.
Referenced by meshdeform_bind_invoke(), and OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 3252 of file object_modifier.cc.
References edit_modifier_poll_generic(), and meshdeform_poll().
Referenced by meshdeform_poll(), and OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 957 of file object_modifier.cc.
References ATTR_DOMAIN_AS_MASK, and CD_TYPE_AS_MASK.
Referenced by remove_invalid_attribute_strings().
|
static |
Definition at line 247 of file object_data_transform.cc.
References metaball_coords_and_quats_apply_with_mat4(), and unit_m4().
Referenced by data_xform_restore().
|
static |
Definition at line 233 of file object_data_transform.cc.
References BKE_mball_transform(), blender::ed::object::ElemData_MetaBall::co, copy_qt_qt(), copy_v3_v3(), MetaBall::elems, blender::ed::object::ElemData_MetaBall::exp, ListBase::first, blender::ed::object::ElemData_MetaBall::quat, and blender::ed::object::ElemData_MetaBall::rad.
Referenced by data_xform_by_mat4(), and metaball_coords_and_quats_apply().
|
static |
Definition at line 220 of file object_data_transform.cc.
References blender::ed::object::ElemData_MetaBall::co, copy_qt_qt(), copy_v3_v3(), MetaBall::elems, blender::ed::object::ElemData_MetaBall::exp, ListBase::first, blender::ed::object::ElemData_MetaBall::quat, and blender::ed::object::ElemData_MetaBall::rad.
Referenced by data_xform_create_ex().
| bool blender::ed::object::mode_compat_set | ( | bContext * | C, |
| Object * | ob, | ||
| eObjectMode | mode, | ||
| ReportList * | reports ) |
Sets the mode to a compatible state (use before entering the mode).
This is so each mode's exec function can call
Definition at line 155 of file object_modes.cc.
References BKE_reportf(), ELEM, Object::mode, wmOperatorType::name, OB_MODE_OBJECT, object_mode_op_string(), ot, RPT_ERROR, WM_OP_EXEC_REGION_WIN, WM_operator_name_call(), and WM_operatortype_find().
Referenced by blender::ed::sculpt_paint::curves_sculptmode_toggle_exec(), editmode_toggle_exec(), particle_edit_toggle_exec(), posemode_exec(), blender::ed::sculpt_paint::sculpt_mode_toggle_exec(), vpaint_mode_toggle_exec(), and wpaint_mode_toggle_exec().
| bool blender::ed::object::mode_compat_test | ( | const Object * | ob, |
| eObjectMode | mode ) |
Checks the mode to be set is compatible with the object should be made into a generic function
Definition at line 99 of file object_modes.cc.
References ED_object_particle_edit_mode_supported(), OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_ALL_PAINT_GPENCIL, OB_MODE_EDIT, OB_MODE_EDIT_GPENCIL_LEGACY, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_PARTICLE_EDIT, OB_MODE_POSE, OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, OB_MODE_SCULPT_GREASE_PENCIL, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_GREASE_PENCIL, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_GREASE_PENCIL, OB_MODE_WEIGHT_PAINT, OB_POINTCLOUD, OB_SURF, and Object::type.
Referenced by mode_set_ex(), object_mode_set_exec(), object_mode_set_itemf(), and object_transfer_mode_invoke().
| void blender::ed::object::mode_generic_exit | ( | Main * | bmain, |
| Depsgraph * | depsgraph, | ||
| Scene * | scene, | ||
| Object * | ob ) |
Definition at line 371 of file object_modes.cc.
References depsgraph, and ed_object_mode_generic_exit_ex().
Referenced by ed_object_select_pick(), and blender::ed::outliner::tree_element_object_activate().
| bool blender::ed::object::mode_generic_has_data | ( | Depsgraph * | depsgraph, |
| const Object * | ob ) |
Definition at line 376 of file object_modes.cc.
References depsgraph, and ed_object_mode_generic_exit_ex().
| bool blender::ed::object::mode_set | ( | bContext * | C, |
| eObjectMode | mode ) |
Definition at line 229 of file object_modes.cc.
References mode_set_ex().
Referenced by blender::ed::outliner::do_outliner_item_mode_toggle_generic(), ED_workspace_change(), blender::io::obj::exporter_main(), insert_key_with_keyingset(), jump_to_bone(), view3d_object_mode_menu_exec(), and workspace_change_update().
| bool blender::ed::object::mode_set_ex | ( | bContext * | C, |
| eObjectMode | mode, | ||
| bool | use_undo, | ||
| ReportList * | reports ) |
Definition at line 185 of file object_modes.cc.
References BKE_reportf(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), Object::mode, mode_compat_test(), wmOperatorType::name, OB_GPENCIL_LEGACY, OB_MODE_EDIT, OB_MODE_EDIT_GPENCIL_LEGACY, OB_MODE_OBJECT, object_mode_op_string(), wmWindowManager::op_undo_depth, ot, RPT_ERROR, Object::type, WM_OP_EXEC_REGION_WIN, WM_operator_name_call_ptr(), and WM_operatortype_find().
Referenced by image_undosys_step_decode(), mode_set(), object_mode_set_exec(), and object_transfer_mode_to_base().
| ModifierData * blender::ed::object::modifier_add | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| const char * | name, | ||
| int | type ) |
Add a modifier to given object, including relevant extra processing needed by some physics types (particles, simulations...).
| scene | is only used to set current frame in some cases, and may be NULL. |
Definition at line 159 of file object_modifier.cc.
References BKE_mesh_ensure_skin_customdata(), BKE_modifier_get_info(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_modifiers_findby_type(), BKE_modifiers_persistent_uid_init(), BKE_object_modifier_set_active(), BKE_object_support_modifier_type_check(), BKE_partdeflect_new(), BKE_report(), BKE_reportf(), BKE_sculpt_mask_layers_ensure(), BLI_insertlinkbefore(), Object::data, PartDeflect::deflect, DEG_id_tag_update(), DEG_relations_tag_update(), eModifierFlag_PinLast, eModifierType_Collision, eModifierType_Multires, eModifierType_ParticleSystem, eModifierType_Skin, eModifierType_Softbody, eModifierType_Surface, eModifierTypeFlag_RequiresOriginalData, eModifierTypeFlag_Single, ListBase::first, ModifierData::flag, ModifierTypeInfo::flags, Object::id, ID_RECALC_GEOMETRY, LISTBASE_FOREACH_BACKWARD, Object::mode, Object::modifiers, multiresModifier_set_levels_from_disps(), ID::name, ModifierData::name, ModifierData::next, OB_MODE_SCULPT, OB_SB_EDGES, OB_SB_GOAL, object_add_particle_system(), OnlyDeform, Object::pd, RPT_WARNING, sbNew(), Object::soft, Object::softflag, STRNCPY_UTF8, ModifierData::type, and ModifierTypeInfo::type.
Referenced by check_force_modifiers(), drop_geometry_nodes_invoke(), blender::ed::curves::ensure_surface_deformation_node_exists(), geometry_extract_apply(), SkinInfo::link_armature(), modifier_add_asset_exec(), modifier_add_exec(), parent_set(), and shade_auto_smooth_exec().
|
static |
Definition at line 281 of file add_modifier_assets.cc.
References BKE_modifier_unique_name(), CTX_data_main(), CTX_data_scene(), PointerRNA::data, DATA_, eModifierType_Nodes, NodesModifierData::flag, get_node_group(), bNodeTree::id, id_us_plus(), MOD_nodes_update_interface(), NodesModifierData::modifier, modifier_add(), modifier_get_edit_objects(), ID::name, ModifierData::name, NC_OBJECT, ND_MODIFIER, NodesModifierData::node_group, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, STRNCPY, and WM_event_add_notifier().
Referenced by modifier_add_asset_invoke(), and OBJECT_OT_modifier_add_node_group().
|
static |
Definition at line 333 of file add_modifier_assets.cc.
References AssetMetaData::description, blender::asset_system::AssetRepresentation::get_metadata(), blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), ptr, and TIP_.
Referenced by OBJECT_OT_modifier_add_node_group().
|
static |
Definition at line 325 of file add_modifier_assets.cc.
References CTX_wm_view3d(), KM_ALT, wmEvent::modifier, modifier_add_asset_exec(), wmOperator::ptr, and RNA_boolean_set().
Referenced by OBJECT_OT_modifier_add_node_group().
|
static |
Definition at line 378 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw(), ContextDependent, and STRNCPY.
Referenced by object_modifier_add_asset_register().
|
static |
Definition at line 1686 of file object_modifier.cc.
References CTX_data_main(), CTX_data_scene(), PointerRNA::data, modifier_add(), modifier_add_exec(), modifier_get_edit_objects(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and WM_event_add_notifier().
Referenced by modifier_add_exec(), modifier_add_invoke(), and OBJECT_OT_modifier_add().
|
static |
Definition at line 1708 of file object_modifier.cc.
References CTX_wm_view3d(), KM_ALT, wmEvent::modifier, modifier_add_exec(), modifier_add_invoke(), wmOperator::ptr, RNA_boolean_set(), RNA_struct_property_is_set(), and WM_menu_invoke().
Referenced by modifier_add_invoke(), and OBJECT_OT_modifier_add().
|
static |
Definition at line 1719 of file object_modifier.cc.
References BKE_modifier_get_info(), BKE_object_support_modifier_type_check(), context_active_object(), eModifierTypeFlag_NoUserAdd, ModifierTypeInfo::flags, EnumPropertyItem::identifier, modifier_add_itemf(), RNA_enum_item_add(), RNA_enum_item_end(), rna_enum_object_modifier_type_items, and EnumPropertyItem::value.
Referenced by modifier_add_itemf(), and OBJECT_OT_modifier_add().
|
static |
Definition at line 388 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), ContextDependent, root_catalogs_draw(), and STRNCPY.
Referenced by object_modifier_add_asset_register().
|
static |
Definition at line 366 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), N_, STRNCPY, and unassigned_assets_draw().
Referenced by object_modifier_add_asset_register().
| bool blender::ed::object::modifier_apply | ( | Main * | bmain, |
| ReportList * | reports, | ||
| Depsgraph * | depsgraph, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| ModifierData * | md, | ||
| int | mode, | ||
| bool | keep_modifier, | ||
| bool | do_all_keyframes ) |
Definition at line 1541 of file object_modifier.cc.
References BASE_ENABLED_VIEWPORT, Object::base_flag, BKE_modifier_free(), BKE_modifier_is_same_topology(), BKE_modifier_remove_from_list(), BKE_modifiers_findby_name(), BKE_object_free_derived_caches(), BKE_object_is_in_editmode(), BKE_report(), DAG_EVAL_VIEWPORT, Object::data, DEG_disable_visibility_optimization(), DEG_evaluate_on_refresh(), DEG_get_evaluated_object(), DEG_get_input_view_layer(), DEG_graph_build_from_ids(), DEG_graph_free(), DEG_graph_new(), depsgraph, eModifierMode_Realtime, find_multires_modifier_before(), ListBase::first, Object::id, ID_REAL_USERS, ModifierData::mode, Object::mode, modifier_apply(), modifier_apply_obdata(), MODIFIER_APPLY_SHAPE, modifier_apply_shape(), Object::modifiers, ModifierData::name, OB_MODE_SCULPT, RPT_ERROR, and RPT_INFO.
Referenced by modifier_apply(), modifier_apply_exec_ex(), and blender::ed::outliner::modifier_fn().
|
static |
Definition at line 2416 of file object_modifier.cc.
References modifier_apply_as_shapekey_exec(), modifier_apply_exec_ex(), MODIFIER_APPLY_SHAPE, wmOperator::ptr, and RNA_boolean_get().
Referenced by modifier_apply_as_shapekey_exec(), modifier_apply_as_shapekey_invoke(), and OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2432 of file object_modifier.cc.
References modifier_apply_as_shapekey_get_description(), ptr, RNA_boolean_get(), and TIP_.
Referenced by modifier_apply_as_shapekey_get_description(), and OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2423 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_apply_as_shapekey_exec(), and modifier_apply_as_shapekey_invoke().
Referenced by modifier_apply_as_shapekey_invoke(), and OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2411 of file object_modifier.cc.
References modifier_apply_as_shapekey_poll(), and modifier_apply_poll().
Referenced by modifier_apply_as_shapekey_poll(), and OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2333 of file object_modifier.cc.
References MODIFIER_APPLY_DATA, modifier_apply_exec(), and modifier_apply_exec_ex().
Referenced by modifier_apply_exec(), modifier_apply_invoke(), and OBJECT_OT_modifier_apply().
|
static |
Definition at line 2253 of file object_modifier.cc.
References BKE_main_id_newptr_and_tag_clear(), BKE_mesh_merge_customdata_for_apply_modifier(), BKE_modifier_get_info(), BKE_modifiers_findby_name(), BKE_reportf(), BLI_listbase_count(), Constructive, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), Object::data, PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, ELEM, Object::id, ID_REAL_USERS, ID_RECALC_GEOMETRY, ReportList::list, MAX_NAME, modifier_apply(), MODIFIER_APPLY_DATA, modifier_apply_exec_ex(), modifier_get_edit_objects(), NC_OBJECT, NC_WINDOW, ND_MODIFIER, Nonconstructive, OB_MESH, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_string_get(), RPT_INFO, single_obdata_user_make(), ModifierData::type, ModifierTypeInfo::type, Object::type, and WM_event_add_notifier().
Referenced by modifier_apply_as_shapekey_exec(), modifier_apply_exec(), and modifier_apply_exec_ex().
|
static |
Definition at line 2338 of file object_modifier.cc.
References ALERT_ICON_WARNING, context_active_object(), CTX_data_pointer_get_type(), Object::data, edit_modifier_invoke_properties_with_hover(), ID_REAL_USERS, IFACE_, modifier_apply_exec(), modifier_apply_invoke(), PointerRNA::owner_id, ptr, wmOperator::ptr, RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_confirm_ex().
Referenced by modifier_apply_invoke(), and OBJECT_OT_modifier_apply().
|
static |
Definition at line 1331 of file object_modifier.cc.
References apply_grease_pencil_for_modifier(), apply_grease_pencil_for_modifier_all_keyframes(), BKE_curve_nurbs_vert_coords_alloc(), BKE_curve_nurbs_vert_coords_apply(), BKE_lattice_vert_coords_alloc(), BKE_lattice_vert_coords_apply(), BKE_mesh_nomain_to_mesh(), BKE_modifier_get_info(), BKE_modifier_get_original(), BKE_object_material_from_eval_data(), BKE_pointcloud_nomain_to_pointcloud(), BKE_report(), BLI_assert_unreachable, Constructive, create_applied_mesh_for_modifier(), Object::data, ModifierTypeInfo::deform_verts, DEG_get_bmain(), DEG_get_evaluated_object(), DEG_get_evaluated_scene(), DEG_id_tag_update(), depsgraph, ELEM, eModifierType_Multires, find_multires_modifier_before(), ListBase::first, float, Curves::geometry, blender::bke::GeometrySet::get_component_for_write(), blender::bke::GeometrySet::get_curves_for_write(), blender::bke::GeometrySet::has_curves(), blender::bke::GeometrySet::has_pointcloud(), Curves::id, Mesh::id, Object::id, PointCloud::id, ID_RECALC_GEOMETRY, ModifierTypeInfo::is_disabled, lattice, LISTBASE_FOREACH, MEM_freeN(), MOD_APPLY_TO_ORIGINAL, modifier_apply_obdata(), ModifierTypeInfo::modify_geometry_set, multires_customdata_delete(), multires_force_sculpt_rebuild(), multiresModifier_reshapeFromDeformModifier(), Nonconstructive, NonGeometrical, Curve::nurb, OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, OB_POINTCLOUD, OB_SURF, OnlyDeform, PART_HAIR, Object::particlesystem, psys_apply_hair_lattice(), remove_invalid_attribute_strings(), RPT_ERROR, RPT_INFO, MultiresModifierData::totlvl, ModifierData::type, ModifierTypeInfo::type, and Object::type.
Referenced by modifier_apply(), and modifier_apply_obdata().
|
static |
Definition at line 2226 of file object_modifier.cc.
References BKE_modifier_is_same_topology(), context_active_object(), CTX_data_pointer_get_type(), CTX_data_scene(), CTX_wm_operator_poll_msg_set(), Object::data, PointerRNA::data, edit_modifier_poll_generic(), find_multires_modifier_before(), ID_IS_OVERRIDE_LIBRARY, Object::mode, modifier_apply_poll(), OB_MODE_SCULPT, PointerRNA::owner_id, and ptr.
Referenced by modifier_apply_as_shapekey_poll(), modifier_apply_poll(), and OBJECT_OT_modifier_apply().
|
static |
Definition at line 891 of file object_modifier.cc.
References BKE_id_free(), BKE_key_add(), BKE_keyblock_add(), BKE_keyblock_convert_from_mesh(), BKE_mesh_nomain_to_meshkey(), BKE_modifier_get_info(), BKE_modifier_is_same_topology(), BKE_report(), create_applied_mesh_for_modifier(), Object::data, DEG_get_evaluated_object(), DEG_get_evaluated_scene(), depsgraph, ModifierTypeInfo::is_disabled, KEY_RELATIVE, ModifierData::name, NonGeometrical, OB_MESH, RPT_ERROR, Key::type, ModifierData::type, ModifierTypeInfo::type, and Object::type.
Referenced by modifier_apply().
|
static |
Definition at line 2471 of file object_modifier.cc.
References context_active_object(), convert_psys_to_mesh(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), Object::id, ID_RECALC_GEOMETRY, modifier_convert_exec(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by modifier_convert_exec(), modifier_convert_invoke(), and OBJECT_OT_modifier_convert().
|
static |
Definition at line 2490 of file object_modifier.cc.
References edit_modifier_invoke_properties(), modifier_convert_exec(), modifier_convert_invoke(), and OPERATOR_CANCELLED.
Referenced by modifier_convert_invoke(), and OBJECT_OT_modifier_convert().
| bool blender::ed::object::modifier_copy | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 1631 of file object_modifier.cc.
References BKE_modifier_copydata(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_modifiers_persistent_uid_init(), BKE_object_modifier_set_active(), BLI_insertlinkafter(), BLI_remlink(), eModifierFlag_OverrideLibrary_Local, eModifierType_ParticleSystem, ModifierData::flag, modifier_copy(), Object::modifiers, object_copy_particle_system(), and ModifierData::type.
Referenced by modifier_copy(), and modifier_copy_exec().
|
static |
Definition at line 2519 of file object_modifier.cc.
References BKE_modifiers_findby_name(), CTX_data_main(), CTX_data_scene(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, MAX_NAME, modifier_copy(), modifier_copy_exec(), modifier_get_edit_objects(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_string_get(), and WM_event_add_notifier().
Referenced by modifier_copy_exec(), modifier_copy_invoke(), and OBJECT_OT_modifier_copy().
|
static |
Definition at line 2550 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_copy_exec(), and modifier_copy_invoke().
Referenced by modifier_copy_invoke(), and OBJECT_OT_modifier_copy().
| bool blender::ed::object::modifier_copy_to_object | ( | Main * | bmain, |
| const Scene * | scene, | ||
| const Object * | ob_src, | ||
| const ModifierData * | md, | ||
| Object * | ob_dst, | ||
| ReportList * | reports ) |
Definition at line 590 of file object_modifier.cc.
References BKE_modifier_get_info(), BKE_modifiers_findby_type(), BKE_object_copy_modifier(), BKE_object_support_modifier_type_check(), BKE_reportf(), BLI_assert, DEG_id_tag_update(), DEG_relations_tag_update(), eModifierTypeFlag_Single, ModifierTypeInfo::flags, Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID::name, ModifierData::name, ModifierTypeInfo::name, NC_OBJECT, ND_MODIFIER, RPT_, RPT_ERROR, RPT_WARNING, ModifierData::type, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_copy(), modifier_copy_to_selected_exec(), and object_modifiers_copy_exec().
|
static |
Definition at line 2624 of file object_modifier.cc.
References BKE_reportf(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_selected_objects(), DEG_relations_tag_update(), edit_modifier_property_get(), ID_IS_EDITABLE, modifier_copy_to_object(), modifier_copy_to_selected_exec(), NA_ADDED, ModifierData::name, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by modifier_copy_to_selected_exec(), modifier_copy_to_selected_invoke(), and OBJECT_OT_modifier_copy_to_selected().
|
static |
Definition at line 2663 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_copy_to_selected_exec(), and modifier_copy_to_selected_invoke().
Referenced by modifier_copy_to_selected_invoke(), and OBJECT_OT_modifier_copy_to_selected().
|
static |
Definition at line 2672 of file object_modifier.cc.
References BKE_object_support_modifier_type_check(), BKE_object_supports_modifiers(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), PointerRNA::data, ELEM, eModifierType_Collision, eModifierType_Hook, modifier_copy_to_selected_poll(), PointerRNA::owner_id, ptr, and ModifierData::type.
Referenced by modifier_copy_to_selected_poll(), and OBJECT_OT_modifier_copy_to_selected().
| Vector< PointerRNA > blender::ed::object::modifier_get_edit_objects | ( | const bContext & | C, |
| const wmOperator & | op ) |
Definition at line 1657 of file object_modifier.cc.
References context_active_object(), CTX_data_selected_editable_objects(), modifier_get_edit_objects(), wmOperator::ptr, RNA_boolean_get(), and RNA_id_pointer_create().
Referenced by modifier_add_asset_exec(), modifier_add_exec(), modifier_apply_exec_ex(), modifier_copy_exec(), modifier_get_edit_objects(), modifier_move_to_index_exec(), and modifier_remove_exec().
Definition at line 580 of file object_modifier.cc.
References BKE_object_link_modifiers(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_MODIFIER, and WM_event_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_link().
| bool blender::ed::object::modifier_move_down | ( | ReportList * | reports, |
| eReportType | error_type, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 502 of file object_modifier.cc.
References BLI_listbase_swaplinks(), Object::modifiers, ModifierData::next, and object_modifier_check_move_after().
Referenced by modifier_move_down_exec().
|
static |
Definition at line 2119 of file object_modifier.cc.
References context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), Object::id, ID_RECALC_GEOMETRY, modifier_move_down(), modifier_move_down_exec(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_WARNING, and WM_event_add_notifier().
Referenced by modifier_move_down_exec(), modifier_move_down_invoke(), and OBJECT_OT_modifier_move_down().
|
static |
Definition at line 2134 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_move_down_exec(), and modifier_move_down_invoke().
Referenced by modifier_move_down_invoke(), and OBJECT_OT_modifier_move_down().
| bool blender::ed::object::modifier_move_to_index | ( | ReportList * | reports, |
| eReportType | error_type, | ||
| Object * | ob, | ||
| ModifierData * | md, | ||
| int | index, | ||
| bool | allow_partial ) |
Definition at line 512 of file object_modifier.cc.
References BKE_report(), BLI_assert, BLI_findindex(), BLI_insertlinkafter(), BLI_insertlinkbefore(), BLI_listbase_count(), BLI_remlink(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, Object::modifiers, NC_OBJECT, ND_MODIFIER, ModifierData::next, object_modifier_check_move_after(), object_modifier_check_move_before(), ModifierData::prev, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_reorder(), and modifier_move_to_index_exec().
|
static |
Definition at line 2164 of file object_modifier.cc.
References BKE_modifiers_findby_name(), PointerRNA::data, MAX_NAME, modifier_get_edit_objects(), modifier_move_to_index(), modifier_move_to_index_exec(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_int_get(), RNA_string_get(), and RPT_WARNING.
Referenced by modifier_move_to_index_exec(), modifier_move_to_index_invoke(), and OBJECT_OT_modifier_move_to_index().
|
static |
Definition at line 2192 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_move_to_index_exec(), and modifier_move_to_index_invoke().
Referenced by modifier_move_to_index_invoke(), and OBJECT_OT_modifier_move_to_index().
| bool blender::ed::object::modifier_move_up | ( | ReportList * | reports, |
| eReportType | error_type, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 464 of file object_modifier.cc.
References BLI_listbase_swaplinks(), Object::modifiers, object_modifier_check_move_before(), and ModifierData::prev.
Referenced by modifier_move_up_exec().
|
static |
Definition at line 2074 of file object_modifier.cc.
References context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), Object::id, ID_RECALC_GEOMETRY, modifier_move_up(), modifier_move_up_exec(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_WARNING, and WM_event_add_notifier().
Referenced by modifier_move_up_exec(), modifier_move_up_invoke(), and OBJECT_OT_modifier_move_up().
|
static |
Definition at line 2089 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_move_up_exec(), and modifier_move_up_invoke().
Referenced by modifier_move_up_invoke(), and OBJECT_OT_modifier_move_up().
| void blender::ed::object::modifier_register_use_selected_objects_prop | ( | wmOperatorType * | ot | ) |
Definition at line 1671 of file object_modifier.cc.
References modifier_register_use_selected_objects_prop(), ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by modifier_register_use_selected_objects_prop(), OBJECT_OT_modifier_add(), OBJECT_OT_modifier_add_node_group(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_apply_as_shapekey(), OBJECT_OT_modifier_copy(), OBJECT_OT_modifier_move_to_index(), and OBJECT_OT_modifier_remove().
| bool blender::ed::object::modifier_remove | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 398 of file object_modifier.cc.
References BKE_reportf(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID::name, ModifierData::name, object_modifier_remove(), and RPT_ERROR.
Referenced by check_force_modifiers(), blender::ed::outliner::modifier_fn(), modifier_remove_exec(), shade_auto_smooth_exec(), and shade_smooth_exec().
|
static |
Definition at line 1956 of file object_modifier.cc.
References BKE_modifiers_findby_name(), BKE_reportf(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), PointerRNA::data, MAX_NAME, Object::mode, modifier_get_edit_objects(), modifier_remove(), modifier_remove_exec(), NC_OBJECT, NC_SCENE, ND_MODE, ND_MODIFIER, NS_MODE_OBJECT, OB_MODE_PARTICLE_EDIT, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_string_get(), RPT_INFO, and WM_event_add_notifier().
Referenced by modifier_remove_exec(), modifier_remove_invoke(), and OBJECT_OT_modifier_remove().
|
static |
Definition at line 2004 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_remove_exec(), and modifier_remove_invoke().
Referenced by modifier_remove_invoke(), and OBJECT_OT_modifier_remove().
|
static |
Definition at line 2581 of file object_modifier.cc.
References BKE_object_modifier_set_active(), context_active_object(), edit_modifier_property_get(), modifier_set_active_exec(), NC_OBJECT, ND_MODIFIER, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by modifier_set_active_exec(), modifier_set_active_invoke(), and OBJECT_OT_modifier_set_active().
|
static |
Definition at line 2594 of file object_modifier.cc.
References edit_modifier_invoke_properties_with_hover(), modifier_set_active_exec(), and modifier_set_active_invoke().
Referenced by modifier_set_active_invoke(), and OBJECT_OT_modifier_set_active().
|
static |
Definition at line 3040 of file object_modifier.cc.
References ANIM_armature_bonecoll_show_all(), ARM_LINE, BKE_object_add(), BKE_object_transform_copy(), BLI_BITMAP_NEW, CD_MASK_BAREMESH, CD_MDEFORMVERT, CD_MVERT_SKIN, CD_SET_DEFAULT, copy_v3_v3(), CustomData_add_layer(), CustomData_get_layer_for_write(), blender::Span< T >::data(), Object::data, DEG_get_evaluated_object(), DEG_get_evaluated_scene(), DEG_get_input_scene(), DEG_get_input_view_layer(), depsgraph, bArmature::drawtype, Object::dtx, ED_armature_ebone_add(), ED_armature_edit_free(), ED_armature_from_edit(), bArmature::edbo, flag, EditBone::head, MEM_freeN(), blender::bke::mesh_get_eval_deform(), modifier_skin_armature_create(), MVERT_SKIN_ROOT, OB_ARMATURE, OB_DRAW_IN_FRONT, EditBone::rad_head, EditBone::rad_tail, size(), skin_armature_bone_create(), EditBone::tail, and v.
Referenced by modifier_skin_armature_create(), and skin_armature_create_exec().
|
static |
Definition at line 2803 of file object_modifier.cc.
References BM_data_layer_free(), CD_MVERT_SKIN, CustomData_free_layer_active(), Object::data, and modifier_skin_customdata_delete().
Referenced by modifier_skin_customdata_delete(), and object_modifier_remove().
Definition at line 415 of file object_modifier.cc.
References DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, Object::modifiers, ModifierData::next, and object_modifier_remove().
Referenced by modifiers_clear_exec().
|
static |
Definition at line 2030 of file object_modifier.cc.
References CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), modifiers_clear(), modifiers_clear_exec(), NA_REMOVED, NC_OBJECT, ND_MODIFIER, OPERATOR_FINISHED, and WM_main_add_notifier().
Referenced by modifiers_clear_exec(), and OBJECT_OT_modifiers_clear().
|
static |
Definition at line 2044 of file object_modifier.cc.
References BKE_object_supports_modifiers(), context_active_object(), ED_operator_object_active_local_editable(), and modifiers_clear_poll().
Referenced by modifiers_clear_poll(), and OBJECT_OT_modifiers_clear().
|
static |
Definition at line 2769 of file object_modifier.cc.
References BKE_object_supports_modifiers(), BLI_listbase_is_empty(), context_active_object(), CTX_wm_operator_poll_msg_set(), ED_operator_object_active_editable(), Object::modifiers, and modifiers_copy_to_selected_poll().
Referenced by modifiers_copy_to_selected_poll(), and OBJECT_OT_modifiers_copy_to_selected().
| void blender::ed::object::motion_paths_clear | ( | bContext * | C, |
| bool | only_selected ) |
Clear motion paths for all objects.
Definition at line 1496 of file object_edit.cc.
References CTX_DATA_BEGIN, CTX_DATA_END, and object_clear_mpath().
Referenced by object_clear_paths_exec().
| void blender::ed::object::motion_paths_recalc | ( | bContext * | C, |
| Scene * | scene, | ||
| eObjectPathCalcRange | range, | ||
| ListBase * | ld_objects ) |
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
Definition at line 1228 of file object_edit.cc.
References animviz_calc_motionpaths(), animviz_depsgraph_build(), animviz_get_object_motionpaths(), ANIMVIZ_RECALC_PATHS, bPose::avs, Object::avs, BLI_freelistN(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_view_layer(), DEG_graph_free(), DEG_id_tag_update(), depsgraph, has_object_motion_paths(), has_pose_motion_paths(), Object::id, ID_RECALC_SYNC_TO_EVAL, LISTBASE_FOREACH, OBJECT_PATH_CALC_RANGE_CURRENT_FRAME, object_path_convert_range(), Object::pose, and bAnimVizSettings::recalc.
Referenced by motion_paths_recalc_selected(), and motion_paths_recalc_visible().
| void blender::ed::object::motion_paths_recalc_selected | ( | bContext * | C, |
| Scene * | scene, | ||
| eObjectPathCalcRange | range ) |
Definition at line 1192 of file object_edit.cc.
References BLI_addtail(), BLI_freelistN(), BLI_genericNodeN(), CTX_DATA_BEGIN, CTX_DATA_END, and motion_paths_recalc().
Referenced by object_calculate_paths_exec(), and object_update_paths_exec().
| void blender::ed::object::motion_paths_recalc_visible | ( | bContext * | C, |
| Scene * | scene, | ||
| eObjectPathCalcRange | range ) |
Definition at line 1205 of file object_edit.cc.
References BLI_addtail(), BLI_freelistN(), BLI_genericNodeN(), CTX_DATA_BEGIN, CTX_DATA_END, and motion_paths_recalc().
Referenced by object_update_all_paths_exec().
|
static |
Definition at line 2125 of file object_edit.cc.
References BKE_collection_add(), BKE_collection_from_index(), BKE_collection_has_object(), BKE_collection_object_add(), BKE_collection_object_move(), BKE_collection_ui_name_get(), BKE_report(), BKE_reportf(), BLI_freelistN(), BLI_listbase_is_single(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, wmOperator::idname, LISTBASE_FOREACH, MAX_NAME, ID::name, NC_SCENE, ND_LAYER, ND_LAYER_CONTENT, ND_OB_ACTIVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_property_int_get(), RNA_property_is_set(), RNA_string_get(), RNA_struct_find_property(), RPT_ERROR, RPT_INFO, selected_objects_get(), STREQ, and WM_event_add_notifier().
Referenced by move_to_collection_invoke(), OBJECT_OT_link_to_collection(), and OBJECT_OT_move_to_collection().
|
static |
Definition at line 2319 of file object_edit.cc.
References BKE_collection_from_index(), BKE_collection_new_name_get(), BKE_report(), BLI_freelistN(), BLI_listbase_is_empty(), blender::ed::object::MoveToCollectionData::collection, CTX_data_scene(), CTX_IFACE_, IFACE_, master_collection_menu, MAX_NAME, move_to_collection_exec(), move_to_collection_menu_create(), move_to_collection_menus_create(), move_to_collection_menus_free(), wmOperatorType::name, OPERATOR_CANCELLED, OPERATOR_INTERFACE, blender::ed::object::MoveToCollectionData::ot, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_property_int_get(), RNA_property_is_set(), RNA_property_string_set(), RNA_struct_find_property(), RPT_ERROR, selected_objects_get(), wmOperatorType::translation_context, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiLayoutSetOperatorContext(), WM_OP_INVOKE_DEFAULT, and WM_operator_props_dialog_popup().
Referenced by OBJECT_OT_link_to_collection(), and OBJECT_OT_move_to_collection().
|
static |
Definition at line 2268 of file object_edit.cc.
References BKE_collection_ui_name_get(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, blender::ed::object::MoveToCollectionData::collection, CTX_data_scene(), CTX_IFACE_, PointerRNA::data, wmOperatorType::idname, blender::ed::object::MoveToCollectionData::index, LISTBASE_FOREACH, move_to_collection_menus_items(), blender::ed::object::MoveToCollectionData::ot, blender::ed::object::MoveToCollectionData::ptr, RNA_boolean_set(), RNA_int_set(), blender::ed::object::MoveToCollectionData::submenus, UI_icon_color_from_collection(), UI_ITEM_NONE, uiItemFullO_ptr(), uiItemIntO(), uiItemS(), WM_OP_INVOKE_DEFAULT, and WM_operator_properties_create_ptr().
Referenced by move_to_collection_invoke(), and move_to_collection_menus_items().
|
static |
Definition at line 2233 of file object_edit.cc.
References BLI_addtail(), Collection::children, blender::ed::object::MoveToCollectionData::collection, blender::ed::object::MoveToCollectionData::index, LISTBASE_FOREACH, move_to_collection_menus_create(), blender::ed::object::MoveToCollectionData::ot, blender::ed::object::MoveToCollectionData::submenus, and wmOperator::type.
Referenced by move_to_collection_invoke(), and move_to_collection_menus_create().
|
static |
Definition at line 2257 of file object_edit.cc.
References move_to_collection_menus_free_recursive().
Referenced by move_to_collection_invoke().
|
static |
Definition at line 2248 of file object_edit.cc.
References BLI_listbase_clear(), LISTBASE_FOREACH_MUTABLE, move_to_collection_menus_free_recursive(), and blender::ed::object::MoveToCollectionData::submenus.
Referenced by move_to_collection_menus_free(), and move_to_collection_menus_free_recursive().
|
static |
Definition at line 2299 of file object_edit.cc.
References BLI_listbase_is_empty(), blender::ed::object::MoveToCollectionData::collection, Collection::id, wmOperatorType::idname, blender::ed::object::MoveToCollectionData::index, move_to_collection_menu_create(), ID::name, blender::ed::object::MoveToCollectionData::ot, blender::ed::object::MoveToCollectionData::submenus, UI_icon_color_from_collection(), uiItemIntO(), and uiItemMenuF().
Referenced by move_to_collection_menu_create().
|
static |
Definition at line 2117 of file object_edit.cc.
References CTX_wm_space_outliner(), ED_operator_objectmode(), and ED_outliner_collections_editor_poll().
Referenced by OBJECT_OT_link_to_collection(), and OBJECT_OT_move_to_collection().
|
static |
Definition at line 376 of file object_multires_modifier.cc.
References context_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_Multires, ID_RECALC_GEOMETRY, multiresModifier_base_apply(), wmOperatorType::name, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::sculpt_paint::undo::push_multires_mesh_begin(), blender::ed::sculpt_paint::undo::push_multires_mesh_end(), wmOperator::type, and WM_event_add_notifier().
Referenced by multires_base_apply_invoke(), and OBJECT_OT_multires_base_apply().
|
static |
Definition at line 399 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_base_apply_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_base_apply().
|
static |
Definition at line 342 of file object_multires_modifier.cc.
References CD_MDISPS, context_active_object(), CustomData_external_remove(), CustomData_external_test(), Object::data, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by OBJECT_OT_multires_external_pack().
|
static |
Definition at line 248 of file object_multires_modifier.cc.
References BKE_main_blendfile_path(), BLI_path_rel(), CD_MASK_MESH, CD_MDISPS, context_active_object(), CTX_data_main(), wmOperator::customdata, CustomData_external_add(), CustomData_external_test(), CustomData_external_write(), Object::data, FILE_MAX, CustomData_MeshMasks::lmask, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and RNA_string_get().
Referenced by multires_external_save_invoke(), and OBJECT_OT_multires_external_save().
|
static |
Definition at line 277 of file object_multires_modifier.cc.
References CD_MDISPS, context_active_object(), wmOperator::customdata, CustomData_external_test(), Object::data, edit_modifier_invoke_properties(), edit_modifier_property_get(), eModifierType_Multires, FILE_MAX, multires_external_save_exec(), OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_string_set(), RNA_struct_property_is_set(), SNPRINTF, and WM_event_add_fileselect().
Referenced by OBJECT_OT_multires_external_save().
|
static |
Definition at line 46 of file object_multires_modifier.cc.
References context_active_object(), CTX_data_main(), CTX_data_scene(), edit_modifier_property_get(), eModifierType_Multires, iter_other(), multires_update_totlevels(), multiresModifier_del_levels(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, MultiresModifierData::totlvl, and WM_event_add_notifier().
Referenced by multires_higher_levels_delete_invoke(), and OBJECT_OT_multires_higher_levels_delete().
|
static |
Definition at line 66 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_higher_levels_delete_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_higher_levels_delete().
|
static |
Definition at line 41 of file object_multires_modifier.cc.
References edit_modifier_poll_generic(), and OB_MESH.
Referenced by OBJECT_OT_multires_base_apply(), OBJECT_OT_multires_external_pack(), OBJECT_OT_multires_external_save(), OBJECT_OT_multires_higher_levels_delete(), OBJECT_OT_multires_rebuild_subdiv(), OBJECT_OT_multires_reshape(), OBJECT_OT_multires_subdivide(), and OBJECT_OT_multires_unsubdivide().
|
static |
Definition at line 480 of file object_multires_modifier.cc.
References BKE_report(), BKE_reportf(), context_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_Multires, ID_RECALC_GEOMETRY, multiresModifier_rebuild_subdiv(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, RPT_INFO, and WM_event_add_notifier().
Referenced by multires_rebuild_subdiv_invoke(), and OBJECT_OT_multires_rebuild_subdiv().
|
static |
Definition at line 505 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_rebuild_subdiv_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_rebuild_subdiv().
|
static |
Definition at line 179 of file object_multires_modifier.cc.
References BKE_report(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_Multires, Object::id, ID_RECALC_GEOMETRY, MultiresModifierData::lvl, multiresModifier_reshapeFromObject(), NC_OBJECT, ND_MODIFIER, OB_MESH, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by multires_reshape_invoke(), and OBJECT_OT_multires_reshape().
|
static |
Definition at line 219 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_reshape_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_reshape().
|
static |
Definition at line 116 of file object_multires_modifier.cc.
References BKE_sculpt_mask_layers_ensure(), context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), DEG_id_tag_update(), edit_modifier_property_get(), eModifierType_Multires, ID_RECALC_GEOMETRY, iter_other(), multires_update_totlevels(), multiresModifier_subdivide(), NC_OBJECT, ND_MODIFIER, OB_MODE_SCULPT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), MultiresModifierData::totlvl, and WM_event_add_notifier().
Referenced by multires_subdivide_invoke(), and OBJECT_OT_multires_subdivide().
|
static |
Definition at line 144 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_subdivide_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_subdivide().
|
static |
Definition at line 428 of file object_multires_modifier.cc.
References BKE_report(), context_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_Multires, ID_RECALC_GEOMETRY, multiresModifier_rebuild_subdiv(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by multires_unsubdivide_invoke(), and OBJECT_OT_multires_unsubdivide().
|
static |
Definition at line 451 of file object_multires_modifier.cc.
References edit_modifier_invoke_properties(), multires_unsubdivide_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_unsubdivide().
| bool blender::ed::object::multires_update_totlevels | ( | Object * | ob, |
| void * | totlevel_v ) |
Use with iter_other(). Sets the total number of levels for any multi-res modifiers on the object to the int pointed to by callback_data.
Definition at line 317 of file object_modifier.cc.
References DEG_id_tag_update(), eModifierType_Multires, Object::id, ID_RECALC_GEOMETRY, LISTBASE_FOREACH, Object::modifiers, and multires_set_tot_level().
Referenced by join_mesh_single(), multires_higher_levels_delete_exec(), and multires_subdivide_exec().
|
static |
Definition at line 105 of file object_bake.cc.
References bake_object_image_get(), BKE_image_acquire_ibuf(), BKE_image_release_ibuf(), BKE_imageuser_default(), BKE_modifier_is_enabled(), BKE_report(), ImBuf::byte_buffer, CD_PROP_FLOAT2, ImBuf::channels, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), CustomData_has_layer(), ImBufByteBuffer::data, ImBufFloatBuffer::data, Object::data, ELEM, eModifierMode_Realtime, blender::bke::Face, ImBuf::float_buffer, get_multires_modifier(), blender::Span< T >::is_empty(), LISTBASE_FOREACH, MultiresModifierData::modifier, ModifierData::next, OB_MESH, wmOperator::reports, RPT_ERROR, ImageUser::tile, tile, Image::tiles, MultiresModifierData::totlvl, and Object::type.
Referenced by multiresbake_image_exec(), and multiresbake_image_exec_locked().
|
static |
Definition at line 239 of file object_bake.cc.
References CD_MASK_BAREMESH, CDDM_from_mesh(), CustomData_set_only_copy(), Object::data, DM_set_only_copy(), get_multires_modifier(), CustomData_MeshMasks::lmask, DerivedMesh::loopData, MultiresModifierData::lvl, MULTIRES_IGNORE_SIMPLIFY, multires_make_derived_from_derived(), CustomData_MeshMasks::pmask, DerivedMesh::polyData, DerivedMesh::release, MultiresModifierData::sculptlvl, and MultiresModifierData::totlvl.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 213 of file object_bake.cc.
References CD_MASK_BAREMESH, CDDM_from_mesh(), Object::data, DM_set_only_copy(), get_multires_modifier(), MultiresModifierData::lvl, MULTIRES_IGNORE_SIMPLIFY, multires_make_derived_from_derived(), DerivedMesh::release, and MultiresModifierData::sculptlvl.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 522 of file object_bake.cc.
References BKE_image_partial_update_mark_full_update(), BLI_freelistN(), blender::ed::object::MultiresBakeJob::data, data, ListBase::first, LISTBASE_FOREACH, blender::ed::object::MultiresBakerJobData::lores_dm, MEM_freeN(), blender::ed::object::MultiresBakerJobData::next, next, and DerivedMesh::release.
Referenced by multiresbake_image_exec().
|
static |
Definition at line 550 of file object_bake.cc.
References BKE_report(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), blender::ed::object::MultiresBakeJob::data, ListBase::first, G, init_multiresbake_job(), MEM_freeN(), multiresbake_check(), multiresbake_freejob(), multiresbake_startjob(), NC_IMAGE, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, wmOperator::reports, RPT_ERROR, WM_cursor_wait(), WM_event_add_modal_handler(), WM_JOB_EXCL_RENDER, WM_JOB_PRIORITY, WM_JOB_PROGRESS, WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), and WM_jobs_timer().
Referenced by objects_bake_render_invoke().
|
static |
Definition at line 328 of file object_bake.cc.
References MultiresBakeRender::array, MultiresBakeRender::bake_margin, MultiresBakeRender::bake_margin_type, bake_object_image_get_array(), MultiresBakeRender::bias, BKE_report(), BKE_scene_num_threads(), BLI_freelistN(), CLEAR_DISPLACEMENT, clear_images_poly(), CLEAR_TANGENT_NORMAL, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), MultiresBakeRender::hires_dm, MultiresBakeRender::image, MultiresBakeRender::len, MultiresBakeRender::lores_dm, MultiresBakeRender::lvl, MEM_freeN(), MultiresBakeRender::mode, multires_flush_sculpt_updates(), multiresbake_check(), multiresbake_create_hiresdm(), multiresbake_create_loresdm(), MultiresBakeRender::number_of_rays, MultiresBakeRender::ob_image, OPERATOR_CANCELLED, OPERATOR_FINISHED, R_BAKE_CLEAR, R_BAKE_EXTEND, R_BAKE_LORES_MESH, R_BAKE_USERSCALE, RE_BAKE_DISPLACEMENT, RE_BAKE_NORMALS, RE_multires_bake_images(), DerivedMesh::release, wmOperator::reports, RPT_ERROR, MultiresBakeRender::scene, scene, MultiresBakeRender::threads, MultiresBakeRender::tot_lvl, Object::totcol, MultiresBakeRender::use_lores_mesh, and MultiresBakeRender::user_scale.
Referenced by bake_image_exec().
|
static |
Definition at line 460 of file object_bake.cc.
References MultiresBakeRender::array, blender::ed::object::MultiresBakeJob::bake_clear, blender::ed::object::MultiresBakeJob::bake_margin, MultiresBakeRender::bake_margin, blender::ed::object::MultiresBakeJob::bake_margin_type, MultiresBakeRender::bake_margin_type, MultiresBakeRender::baked_objects, blender::ed::object::MultiresBakeJob::bias, MultiresBakeRender::bias, BLI_listbase_count(), CLEAR_DISPLACEMENT, clear_images_poly(), CLEAR_TANGENT_NORMAL, blender::ed::object::MultiresBakeJob::data, MultiresBakeRender::do_update, wmJobWorkerStatus::do_update, MultiresBakeRender::hires_dm, MultiresBakeRender::image, MultiresBakeRender::len, LISTBASE_FOREACH, MultiresBakeRender::lores_dm, MultiresBakeRender::lvl, blender::ed::object::MultiresBakeJob::mode, MultiresBakeRender::mode, blender::ed::object::MultiresBakeJob::number_of_rays, MultiresBakeRender::number_of_rays, MultiresBakeRender::ob_image, MultiresBakeRender::progress, wmJobWorkerStatus::progress, RE_BAKE_DISPLACEMENT, RE_BAKE_NORMALS, RE_multires_bake_images(), blender::ed::object::MultiresBakeJob::scene, MultiresBakeRender::scene, MultiresBakeRender::stop, wmJobWorkerStatus::stop, blender::ed::object::MultiresBakeJob::threads, MultiresBakeRender::threads, MultiresBakeRender::tot_lvl, MultiresBakeRender::tot_obj, blender::ed::object::MultiresBakeJob::use_lores_mesh, MultiresBakeRender::use_lores_mesh, blender::ed::object::MultiresBakeJob::user_scale, and MultiresBakeRender::user_scale.
Referenced by multiresbake_image_exec().
| float blender::ed::object::new_primitive_matrix | ( | bContext * | C, |
| Object * | obedit, | ||
| const float | loc[3], | ||
| const float | rot[3], | ||
| const float | scale[3], | ||
| float | primmat[4][4] ) |
Uses context to figure out transform for primitive. Returns standard diameter.
Definition at line 346 of file object_add.cc.
References copy_m3_m4(), copy_m4_m3(), copy_v3_v3(), CTX_data_scene(), CTX_wm_view3d(), ED_scene_grid_scale(), ED_view3d_grid_scale(), eul_to_mat3(), invert_m3(), invert_m3_m3(), mul_m3_m3m3(), mul_m3_v3(), rescale_m4(), rot, sub_v3_v3v3(), and unit_m4().
Referenced by curvesurf_prim_add(), effector_add_exec(), make_prim_init(), object_grease_pencil_add_exec(), and object_metaball_add_exec().
|
static |
Definition at line 2987 of file object_vgroup.cc.
References BKE_modifiers_is_deformed_by_armature(), BKE_object_defgroup_count(), BKE_object_defgroup_validmap_get(), MEM_freeN(), WT_VGROUP_ALL, and WT_VGROUP_BONE_DEFORM.
Referenced by vertex_group_normalize_all_exec().
|
static |
Set the drop coordinate to the mouse position (if not already set) and call the operator's exec() callback.
Definition at line 271 of file object_add.cc.
References wmOperatorType::exec, object_add_drop_xy_is_set(), wmOperator::ptr, RNA_int_set(), wmOperator::type, and wmEvent::xy.
Referenced by OBJECT_OT_add_named(), OBJECT_OT_data_instance_add(), and OBJECT_OT_transform_to_mouse().
|
static |
Query the currently set X- and Y-coordinate to position the new object under.
| r_mval | Returned pointer to the coordinate in region-space. |
Definition at line 252 of file object_add.cc.
References CTX_wm_region(), object_add_drop_xy_is_set(), wmOperator::ptr, and RNA_int_get().
Referenced by collection_add_info_get_from_op(), object_add_named_exec(), object_data_instance_add_exec(), and object_transform_to_mouse_exec().
|
static |
Definition at line 242 of file object_add.cc.
References wmOperator::ptr, and RNA_struct_property_is_set().
Referenced by object_add_drop_xy_generic_invoke(), object_add_drop_xy_get(), and object_instance_add_invoke().
|
static |
Operator properties for creating an object under a screen space (2D) coordinate. Used for object dropping like behavior (drag object and drop into 3D View).
Definition at line 216 of file object_add.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by OBJECT_OT_add_named(), OBJECT_OT_collection_external_asset_drop(), OBJECT_OT_collection_instance_add(), OBJECT_OT_data_instance_add(), and OBJECT_OT_transform_to_mouse().
|
static |
id.new is correct.Definition at line 3813 of file object_add.cc.
References BKE_object_duplicate(), DEG_id_tag_update(), Object::id, ID_NEW_SET, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::mode, OB_MODE_POSE, and object_add_duplicate_internal().
Referenced by add_duplicate(), duplicate_exec(), object_add_duplicate_internal(), object_add_duplicate_internal(), and object_add_named_exec().
|
static |
Definition at line 3832 of file object_add.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), object_add_duplicate_internal(), object_add_sync_base_collection(), object_add_sync_local_view(), and object_add_sync_rigid_body().
|
static |
Definition at line 694 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), copy_v3_fl(), OB_LATTICE, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, Object::scale, Object::type, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_add().
|
static |
Definition at line 671 of file object_hook.cc.
References add_hook_object(), CTX_data_edit_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ID_RECALC_SELECT, NC_OBJECT, NC_SCENE, ND_MODIFIER, ND_OB_SELECT, OBJECT_ADDHOOK_NEWOB, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_add_newob().
|
static |
Definition at line 615 of file object_hook.cc.
References add_hook_object(), BKE_report(), CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), NC_OBJECT, ND_MODIFIER, OB_ARMATURE, OBJECT_ADDHOOK_SELOB, OBJECT_ADDHOOK_SELOB_BONE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_add_selob().
|
static |
Definition at line 4027 of file object_add.cc.
References BA_SELECT, base_activate(), base_deselect_all(), base_select(), BKE_base_eval_flags(), BKE_object_apply_mat4(), BKE_report(), copy_object_set_idnew(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region_view3d(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), ED_view3d_cursor3d_position(), Object::id, ID_OB, ID_RECALC_SELECT, ID_RECALC_TRANSFORM, LIB_ID_DUPLICATE_IS_ROOT_ID, LIB_ID_DUPLICATE_IS_SUBPROCESS, Object::loc, location_from_view(), NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, ND_OB_SELECT, Base::object, object_add_drop_xy_get(), object_add_duplicate_internal(), object_add_named_exec(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_property_float_get_array(), RNA_property_is_set(), RNA_struct_find_property(), RPT_ERROR, Object::runtime, SEL_DESELECT, Object::visibility_flag, WM_event_add_notifier(), and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by object_add_named_exec(), and OBJECT_OT_add_named().
|
static |
Definition at line 3776 of file object_add.cc.
References BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BKE_collection_object_add(), BKE_collection_object_add_from(), BKE_layer_collection_get_active(), LayerCollection::collection, Base::flag, Base::object, and object_add_sync_base_collection().
Referenced by duplicate_exec(), object_add_duplicate_internal(), and object_add_sync_base_collection().
|
static |
Definition at line 3788 of file object_add.cc.
References Base::local_view_bits, and object_add_sync_local_view().
Referenced by duplicate_exec(), object_add_duplicate_internal(), and object_add_sync_local_view().
|
static |
Definition at line 3793 of file object_add.cc.
References BKE_collection_has_object(), BKE_collection_object_add(), Main::collections, LISTBASE_FOREACH, object_add_sync_rigid_body(), Object::rigidbody_constraint, and Object::rigidbody_object.
Referenced by duplicate_exec(), object_add_duplicate_internal(), and object_add_sync_rigid_body().
|
static |
Definition at line 1053 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), CTX_data_edit_object(), OB_FONT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), rot, Object::type, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_text_add().
Definition at line 2143 of file object_transform.cc.
References BKE_object_apply_mat4(), copy_m4_m4(), copy_v3_v3(), Object::loc, and object_apply_location().
Referenced by object_apply_location(), and object_transform_axis_target_modal().
|
static |
Definition at line 2129 of file object_transform.cc.
References BKE_object_apply_mat4(), copy_m4_m3(), copy_v3_v3(), Object::loc, object_apply_rotation(), and Object::scale.
Referenced by object_apply_rotation(), and object_orient_to_location().
|
static |
Definition at line 1098 of file object_add.cc.
References add_generic_get_opts(), add_type(), ANIM_armature_bonecoll_active_set(), ANIM_armature_bonecoll_new(), BKE_report(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region_view3d(), Object::data, DEG_id_tag_update(), ED_armature_ebone_add_primitive(), editmode_enter_ex(), editmode_exit_ex(), EM_FREEDATA, Object::id, ID_RECALC_GEOMETRY, OB_ARMATURE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_float_get(), rot, RPT_ERROR, Object::type, USER_ADD_VIEWALIGNED, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_armature_add().
Definition at line 86 of file object_vgroup.cc.
References object_array_for_wpaint_filter(), and objects_in_mode_or_selected().
Referenced by vertex_group_clean_exec(), vertex_group_limit_total_exec(), and vertex_group_smooth_exec().
|
static |
Definition at line 77 of file object_vgroup.cc.
References vertex_group_supported_poll_ex().
Referenced by object_array_for_wpaint().
|
static |
Definition at line 1318 of file object_edit.cc.
References animviz_motionpath_compute_range(), animviz_verify_motionpaths(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), motion_paths_recalc_selected(), NC_OBJECT, ND_DRAW_ANIMVIZ, ND_POSE, ND_TRANSFORM, OBJECT_PATH_CALC_RANGE_FULL, OPERATOR_FINISHED, bAnimVizSettings::path_range, bAnimVizSettings::path_type, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_paths_calculate().
|
static |
Definition at line 1296 of file object_edit.cc.
References Object::avs, CTX_data_active_object(), IFACE_, OPERATOR_CANCELLED, bAnimVizSettings::path_range, bAnimVizSettings::path_type, wmOperator::ptr, RNA_enum_set(), and WM_operator_props_dialog_popup().
Referenced by OBJECT_OT_paths_calculate().
|
static |
Definition at line 922 of file object_add.cc.
References add_generic_get_opts(), add_type(), ALIGN_VIEW, View3D::camera, CTX_data_scene(), CTX_wm_view3d(), Object::data, Camera::drawsize, ED_scene_grid_scale(), ED_view3d_grid_scale(), OB_CAMERA, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_set(), rot, and View3D::scenelock.
Referenced by OBJECT_OT_camera_add().
|
static |
Definition at line 94 of file object_transform.cc.
References Object::dloc, Object::loc, OB_LOCK_LOCX, OB_LOCK_LOCY, OB_LOCK_LOCZ, and Object::protectflag.
Referenced by object_location_clear_exec().
|
static |
Definition at line 1484 of file object_edit.cc.
References animviz_free_motionpath(), Object::avs, DEG_id_tag_update(), Object::id, ID_RECALC_SYNC_TO_EVAL, Object::mpath, and bAnimVizSettings::path_bakeflag.
Referenced by motion_paths_clear().
|
static |
Definition at line 1515 of file object_edit.cc.
References motion_paths_clear(), NC_OBJECT, ND_TRANSFORM, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_paths_clear().
|
static |
Definition at line 1528 of file object_edit.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_paths_clear().
|
static |
Definition at line 118 of file object_transform.cc.
References axis_angle_to_eulO(), copy_qt_qt(), copy_v3_v3(), Object::dquat, Object::drot, Object::drotAngle, Object::drotAxis, eul_to_quat(), EULER_ORDER_DEFAULT, eulO_to_axis_angle(), IS_EQF, mul_qt_fl(), OB_LOCK_ROT4D, OB_LOCK_ROTW, OB_LOCK_ROTX, OB_LOCK_ROTY, OB_LOCK_ROTZ, Object::protectflag, Object::quat, quat_to_eul(), Object::rot, ROT_MODE_AXISANGLE, ROT_MODE_QUAT, Object::rotAngle, Object::rotAxis, Object::rotmode, unit_axis_angle(), unit_qt(), and zero_v3().
Referenced by object_rotation_clear_exec().
|
static |
Definition at line 276 of file object_transform.cc.
References Object::dscale, OB_LOCK_SCALEX, OB_LOCK_SCALEY, OB_LOCK_SCALEZ, Object::protectflag, and Object::scale.
Referenced by object_scale_clear_exec().
|
static |
Definition at line 300 of file object_transform.cc.
References ANIM_deselect_keys_in_animation_editors(), ANIM_get_keyingset_for_autokeying(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::animrig::autokeyframe_object(), BKE_scene_graph_evaluated_ensure(), BLI_assert, CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), data_xform_container_create(), data_xform_container_destroy(), data_xform_container_item_ensure(), data_xform_container_update_all(), DEG_id_tag_update(), depsgraph, ELEM, FOREACH_SELECTED_EDITABLE_OBJECT_BEGIN, FOREACH_SELECTED_EDITABLE_OBJECT_END, ID_RECALC_TRANSFORM, blender::animrig::is_autokey_on(), NC_OBJECT, ND_TRANSFORM, object_xform_skip_child_container_destroy(), object_xform_skip_child_container_update_all(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SCE_XFORM_DATA_ORIGIN, SCE_XFORM_SKIP_CHILDREN, WM_event_add_notifier(), xform_skip_child_container_create(), and xform_skip_child_container_item_ensure_from_array().
Referenced by object_location_clear_exec(), object_rotation_clear_exec(), and object_scale_clear_exec().
|
static |
Definition at line 2474 of file object_constraint.cc.
References BKE_report(), constraint_add_exec(), Object::constraints, context_active_object(), wmOperator::idname, OPERATOR_CANCELLED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and RPT_ERROR.
Referenced by OBJECT_OT_constraint_add(), and OBJECT_OT_constraint_add_with_targets().
|
static |
Definition at line 2520 of file object_constraint.cc.
References CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_SPLINEIK, ELEM, EnumPropertyItem::identifier, rna_enum_constraint_type_items, RNA_enum_item_add(), RNA_enum_item_end(), and EnumPropertyItem::value.
Referenced by OBJECT_OT_constraint_add(), and OBJECT_OT_constraint_add_with_targets().
|
static |
Definition at line 2167 of file object_constraint.cc.
References BKE_constraints_copy(), Object::constraints, context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NA_ADDED, NC_OBJECT, ND_CONSTRAINT, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_constraints_copy().
|
static |
Definition at line 2064 of file object_constraint.cc.
References BKE_constraints_free(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_RECALC_TRANSFORM, NA_REMOVED, NC_OBJECT, ND_CONSTRAINT, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_constraints_clear().
|
static |
Definition at line 2892 of file object_add.cc.
References ViewLayer::basact, base_activate(), Object::base_flag, base_free_and_unlink(), BKE_curve_dimension_update(), BKE_grease_pencil_copy_for_eval(), BKE_grease_pencil_new_nomain(), BKE_grease_pencil_nomain_to_grease_pencil(), BKE_id_copy(), BKE_id_free(), BKE_id_is_editable(), BKE_id_new(), BKE_id_new_nomain(), BKE_mball_basis_find(), BKE_mball_is_basis(), BKE_mesh_copy_for_eval(), BKE_mesh_merge_customdata_for_apply_modifier(), BKE_mesh_new_from_object_to_bmain(), BKE_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_mesh_to_curve(), BKE_mesh_to_pointcloud(), BKE_object_free_curve_cache(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_free_shaderfx(), BKE_object_get_evaluated_mesh(), BKE_object_material_from_eval_data(), BKE_object_materials_test(), BKE_pointcloud_to_mesh(), BKE_report(), BKE_reportf(), BKE_scene_graph_update_tagged(), BKE_vfont_to_curve_ex(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BLI_assert, CD_MASK_MESH, CD_SHAPEKEY, CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_selected_editable_bases(), CTX_data_view_layer(), CustomData_has_layer(), CustomData_MeshMasks_update(), Object::data, PointerRNA::data, DEG_get_evaluated_object(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, duplibase_for_convert(), ED_rigidbody_object_remove(), ELEM, ListBase::first, Base::flag, Curve::flag, Object::flag, FO_EDIT, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, Curves::geometry, blender::bke::GeometrySet::get_curves(), Curve::id, Curves::id, Key::id, Mesh::id, MetaBall::id, Object::id, PointCloud::id, VFont::id, ID_CV, ID_GP, ID_ME, ID_REAL_USERS, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_SELECT, ID_RECALC_TRANSFORM, ID_TAG_DOIT, id_us_min(), id_us_plus(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), IS_TAGGED, Mesh::key, LISTBASE_FOREACH, mesh, ID::name, NC_OBJECT, NC_SCENE, ND_DATA, ND_DRAW, ND_LAYER_CONTENT, ND_MODIFIER, ND_OB_SELECT, ID::next, Curve::nurb, OB_CURVES, OB_CURVES_LEGACY, OB_DONE, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, Base::object, object_convert_exec(), object_data_convert_curve_to_mesh(), Main::objects, OPERATOR_FINISHED, blender::bke::CurvesGeometry::points_range(), blender::bke::CurvesGeometry::positions_for_write(), ptr, wmOperator::ptr, wmOperator::reports, Object::rigidbody_object, RNA_boolean_get(), RNA_enum_get(), RPT_INFO, RPT_WARNING, Object::runtime, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::math::transform_point(), Curve::type, Object::type, Mesh::vert_data, Curve::vfont, Curve::vfontb, Curve::vfontbi, Curve::vfonti, and WM_event_add_notifier().
Referenced by object_convert_exec(), and OBJECT_OT_convert().
|
static |
Definition at line 2824 of file object_add.cc.
References BASE_SELECTED, BKE_object_is_in_editmode(), CTX_data_active_base(), CTX_data_scene(), Object::data, Base::flag, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, Base::object, and object_convert_poll().
Referenced by object_convert_poll(), and OBJECT_OT_convert().
|
static |
Definition at line 3685 of file object_add.cc.
References wmOperator::layout, OB_GPENCIL_LEGACY, OB_MESH, object_convert_ui(), wmOperator::ptr, RNA_enum_get(), UI_ITEM_NONE, uiItemR(), and uiLayoutSetPropSep().
Referenced by object_convert_ui(), and OBJECT_OT_convert().
|
static |
Definition at line 2038 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_apply_mat4(), BLI_assert, BLI_strdup(), CD_PROP_FLOAT2, Mesh::corner_data, CTX_data_active_object(), CTX_data_scene(), CustomData_get_active_layer_name(), Object::data, blender::ed::curves::ensure_surface_deformation_node_exists(), Object::modifier_flag, OB_CURVES, OB_MODIFIER_FLAG_ADD_REST_POSITION, OPERATOR_FINISHED, PAR_OBJECT, parent_set(), wmOperator::reports, Curves::surface, and Curves::surface_uv_map.
Referenced by OBJECT_OT_curves_empty_hair_add().
|
static |
Definition at line 2076 of file object_add.cc.
References CTX_data_active_object(), CTX_wm_operator_poll_msg_set(), ED_operator_objectmode(), OB_MESH, and Object::type.
Referenced by OBJECT_OT_curves_empty_hair_add().
|
static |
Definition at line 2007 of file object_add.cc.
References add_generic_get_opts(), add_type(), Curves::geometry, OB_CURVES, OPERATOR_FINISHED, blender::ed::curves::primitive_random_sphere(), and rot.
Referenced by OBJECT_OT_curves_random_add().
|
static |
Definition at line 2791 of file object_add.cc.
References BKE_mesh_new_from_object_to_bmain(), BKE_object_free_modifiers(), Object::data, DEG_get_evaluated_object(), depsgraph, id_us_min(), id_us_plus(), LISTBASE_FOREACH, mesh, OB_MESH, object_data_convert_curve_to_mesh(), Main::objects, and Object::type.
Referenced by object_convert_exec(), and object_data_convert_curve_to_mesh().
|
static |
Definition at line 1882 of file object_add.cc.
References add_generic_get_opts(), add_type_with_obdata(), BKE_object_obdata_to_type(), CTX_data_main(), CTX_wm_region_view3d(), ED_view3d_cursor3d_position(), location_from_view(), object_add_drop_xy_get(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_property_enum_get(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), rot, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by OBJECT_OT_data_instance_add().
|
static |
Definition at line 2181 of file object_add.cc.
References base_free_and_unlink_no_indirect_check(), BKE_id_multi_tagged_delete(), BKE_lib_override_library_id_is_user_deletable(), BKE_library_ID_is_indirectly_used(), BKE_main_id_tag_all(), BKE_main_id_tag_listbase(), BKE_reportf(), CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), DEG_id_tag_update(), DEG_relations_tag_update(), wmOperator::flag, Main::gpencils, bGPdata::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_RECALC_GEOMETRY, ID_RECALC_SELECT, ID_RECALC_TRANSFORM, ID_TAG_DOIT, ID_TAG_INDIRECT, LISTBASE_FOREACH, NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, OB_GPENCIL_LEGACY, OP_IS_INVOKE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, RPT_WARNING, Main::scenes, wmWindowManager::windows, WM_event_add_notifier(), and WM_window_get_active_scene().
Referenced by object_delete_invoke(), and OBJECT_OT_delete().
|
static |
Definition at line 2289 of file object_add.cc.
References ALERT_ICON_NONE, IFACE_, object_delete_exec(), wmOperator::ptr, RNA_boolean_get(), and WM_operator_confirm_ex().
Referenced by OBJECT_OT_delete().
|
static |
Definition at line 2668 of file object_add.cc.
References BKE_main_id_newptr_and_tag_clear(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), depsgraph, ED_outliner_select_sync_from_object_tag(), make_object_duplilist_real(), NC_OBJECT, NC_SCENE, ND_DRAW, ND_PARENT, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), WM_event_add_notifier(), and WM_main_add_notifier().
Referenced by OBJECT_OT_duplicates_make_real().
|
static |
Definition at line 1171 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_empty_draw_type_set(), BKE_object_obdata_size_init(), OB_EMPTY, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_empty_add().
|
static |
Definition at line 148 of file object_modifier.cc.
References BKE_modifier_get_evaluated(), depsgraph, eModifierMode_Realtime, ModifierData::mode, and object_force_modifier_update_for_bind().
Referenced by correctivesmooth_bind_exec(), laplaciandeform_bind_exec(), meshdeform_bind_exec(), and surfacedeform_bind_exec().
|
static |
Definition at line 118 of file object_modifier.cc.
References BKE_curves_data_update(), BKE_displist_make_curveTypes(), BKE_id_free(), BKE_lattice_modifiers_calc(), BKE_mball_data_update(), BKE_object_eval_reset(), BKE_pointcloud_data_update(), BKE_volume_data_update(), CD_MASK_DERIVEDMESH, DEG_get_evaluated_object(), DEG_get_evaluated_scene(), depsgraph, ELEM, blender::bke::mesh_create_eval_final(), OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, OB_VOLUME, and Object::type.
Referenced by object_force_modifier_bind_simple_options().
|
static |
Definition at line 1365 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_modifiers_persistent_uid_init(), BKE_object_material_get(), BLI_addtail(), BLT_I18NCONTEXT_ID_GPENCIL, blender::ed::greasepencil::create_blank(), blender::ed::greasepencil::create_stroke(), blender::ed::greasepencil::create_suzanne(), CTX_DATA_, CTX_data_active_object(), CTX_data_collection(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), eModifierType_GreasePencilLineart, GP_DRAWMODE_3D, GP_EMPTY, GP_MONKEY, GP_STROKE, GREASE_PENCIL_LINEART_COLLECTION, GREASE_PENCIL_LINEART_OBJECT, GREASE_PENCIL_LINEART_SCENE, GREASE_PENCIL_STROKE_ORDER_3D, GreasePencil::id, ID_RECALC_GEOMETRY, id_us_plus(), LINEART_SOURCE_COLLECTION, LINEART_SOURCE_OBJECT, LINEART_SOURCE_SCENE, NC_GEOM, ND_DATA, new_primitive_matrix(), OB_DRAW_IN_FRONT, OB_GREASE_PENCIL, OB_USE_GPENCIL_LIGHTS, OPERATOR_FINISHED, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), rot, STRNCPY, WM_main_add_notifier(), and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_grease_pencil_add().
|
static |
Definition at line 262 of file object_modifier.cc.
References LISTBASE_FOREACH, and Object::modifiers.
Referenced by object_has_modifier_cb(), and object_modifier_safe_to_delete().
|
static |
Definition at line 310 of file object_modifier.cc.
References object_has_modifier().
Referenced by object_modifier_safe_to_delete().
|
static |
Definition at line 100 of file object_shader_fx.cc.
References LISTBASE_FOREACH.
|
static |
Definition at line 392 of file object_edit.cc.
References BKE_layer_collection_from_index(), BKE_layer_collection_isolate_global(), BKE_layer_collection_isolate_local(), BKE_layer_collection_local_sync(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), View3D::flag, ID_RECALC_BASE_FLAGS, LAYER_COLLECTION_HIDE_VIEWPORT, LayerCollection::local_collections_bits, View3D::local_collections_uid, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_int_get(), LayerCollection::runtime_flag, V3D_LOCAL_COLLECTIONS, and WM_event_add_notifier().
Referenced by object_hide_collection_invoke(), and OBJECT_OT_hide_collection().
|
static |
Definition at line 470 of file object_edit.cc.
References collection_hide_menu_draw(), COLLECTION_INVALID_INDEX, CTX_IFACE_, KM_SHIFT, wmEvent::modifier, wmOperatorType::name, object_hide_collection_exec(), OPERATOR_INTERFACE, wmOperator::ptr, RNA_int_get(), RNA_property_boolean_set(), RNA_property_is_set(), RNA_struct_find_property(), wmOperatorType::translation_context, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), and UI_popup_menu_layout().
Referenced by OBJECT_OT_hide_collection().
|
static |
Definition at line 272 of file object_edit.cc.
References CTX_wm_space_outliner(), ED_operator_view3d_active(), and ED_outliner_collections_editor_poll().
Referenced by OBJECT_OT_hide_view_clear(), and OBJECT_OT_hide_view_set().
|
static |
Definition at line 280 of file object_edit.cc.
References BASE_HIDDEN, BASE_SELECTED, BKE_scene_object_base_flag_sync_from_base(), BKE_view_layer_need_resync_tag(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ID_RECALC_BASE_FLAGS, LISTBASE_FOREACH, NC_SCENE, ND_OB_SELECT, ND_OB_VISIBLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), select(), and WM_event_add_notifier().
Referenced by OBJECT_OT_hide_view_clear().
|
static |
Definition at line 331 of file object_edit.cc.
References BA_DESELECT, BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BASE_HIDDEN, base_select(), BASE_SELECTED, BKE_view_layer_need_resync_tag(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ID_RECALC_BASE_FLAGS, LISTBASE_FOREACH, NC_SCENE, ND_OB_SELECT, ND_OB_VISIBLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_hide_view_set().
|
static |
Definition at line 890 of file object_hook.cc.
References BKE_report(), HookModifierData::cent, copy_v3_v3(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_data_scene(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, HookModifierData::indexar, HookModifierData::indexar_num, MAX_NAME, MEM_freeN(), NC_OBJECT, ND_MODIFIER, object_hook_from_context(), object_hook_index_array(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, RPT_WARNING, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_assign().
|
static |
Definition at line 421 of file object_hook.cc.
References BLI_findlink(), CTX_data_edit_object(), PointerRNA::data, eModifierType_Hook, HookModifierData::modifier, Object::modifiers, PointerRNA::owner_id, ptr, and ModifierData::type.
Referenced by object_hook_assign_exec(), object_hook_recenter_exec(), object_hook_reset_exec(), and object_hook_select_exec().
|
static |
Definition at line 322 of file object_hook.cc.
References BKE_editmesh_looptris_and_normals_calc(), Object::data, DEG_id_tag_update(), ED_curve_editnurb_load(), ED_curve_editnurb_make(), EDBM_mesh_load(), EDBM_mesh_make(), Lattice::editlatt, EditLatt::latt, OB_CURVES_LEGACY, OB_LATTICE, OB_MESH, OB_SURF, return_editcurve_indexar(), return_editlattice_indexar(), return_editmesh_indexar(), return_editmesh_vgroup(), and Object::type.
Referenced by add_hook_object(), and object_hook_assign_exec().
|
static |
Definition at line 835 of file object_hook.cc.
References BKE_report(), HookModifierData::cent, copy_m3_m4(), CTX_data_pointer_get_type(), CTX_data_scene(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, invert_m3_m3(), mul_m3_v3(), NC_OBJECT, ND_MODIFIER, object_hook_from_context(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, sub_v3_v3v3(), and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_recenter().
|
static |
Definition at line 705 of file object_hook.cc.
References BKE_modifier_free(), BKE_modifier_remove_from_list(), BKE_report(), BLI_findlink(), CTX_data_edit_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, Object::modifiers, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_remove().
|
static |
Definition at line 787 of file object_hook.cc.
References BKE_object_modifier_hook_reset(), BKE_report(), CTX_data_pointer_get_type(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, object_hook_from_context(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_reset().
|
static |
Definition at line 446 of file object_hook.cc.
References HookModifierData::indexar, OB_CURVES_LEGACY, OB_LATTICE, OB_MESH, OB_SURF, select_editbmesh_hook(), select_editcurve_hook(), select_editlattice_hook(), and Object::type.
Referenced by object_hook_select_exec().
|
static |
Definition at line 957 of file object_hook.cc.
References BKE_report(), CTX_data_pointer_get_type(), Object::data, DEG_id_tag_update(), ID_RECALC_SELECT, NC_GEOM, ND_SELECT, object_hook_from_context(), object_hook_select(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_hook_select().
|
static |
Definition at line 1211 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_empty_draw_type_set(), CTX_wm_region_view3d(), Object::data, Object::empty_drawsize, Object::empty_image_depth, Object::empty_image_visibility_flag, ID_IM, OB_EMPTY, OB_EMPTY_IMAGE, OB_EMPTY_IMAGE_DEPTH_BACK, OB_EMPTY_IMAGE_HIDE_BACK, OB_EMPTY_IMAGE_HIDE_PERSPECTIVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, RegionView3D::persp, wmOperator::ptr, RNA_boolean_get(), rot, RV3D_PERSP, and WM_operator_drop_load_path().
Referenced by object_image_add_invoke(), and OBJECT_OT_empty_image_add().
|
static |
Definition at line 1247 of file object_add.cc.
References ALIGN_VIEW, BKE_object_empty_draw_type_set(), CTX_data_scene(), CTX_wm_region_view3d(), Object::data, DEG_id_tag_update(), ED_view3d_cursor3d_position(), ED_view3d_give_object_under_cursor(), Image::id, ID_IM, ID_RECALC_TRANSFORM, id_us_min(), id_us_plus(), location_from_view(), wmEvent::mval, NC_SCENE, ND_OB_ACTIVE, OB_EMPTY, OB_EMPTY_IMAGE, object_image_add_exec(), OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RegionView3D::persp, wmOperator::ptr, RNA_boolean_set(), RNA_enum_set(), RNA_float_set_array(), RNA_struct_property_is_set(), RV3D_PERSP, Object::type, WM_event_add_fileselect(), WM_event_add_notifier(), WM_operator_drop_load_path(), and WM_operator_properties_id_lookup_is_set().
Referenced by OBJECT_OT_empty_image_add().
|
static |
Definition at line 1304 of file object_add.cc.
References CTX_wm_region_view3d(), and ED_operator_objectmode().
Referenced by OBJECT_OT_empty_image_add().
| Object * blender::ed::object::object_in_mode_from_index | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| eObjectMode | mode, | ||
| int | index ) |
Access the object from the index returned by object_in_mode_to_index.
Definition at line 247 of file object_edit.cc.
References BLI_assert, FOREACH_BASE_IN_MODE_BEGIN, and FOREACH_BASE_IN_MODE_END.
Referenced by uv_shortest_path_pick_exec().
| int blender::ed::object::object_in_mode_to_index | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| eObjectMode | mode, | ||
| const Object * | ob ) |
Return the index of an object in a mode (typically edit/pose mode).
Useful for operators with multi-mode editing to be able to redo an action on an object by its index which (unlike pointers) the operator can store for redo.
The indices aren't intended to be useful from Python scripts, although they are not prevented from passing them in, this is mainly to enable redo. For scripts it's more convenient to set the object active before operating on it.
Definition at line 225 of file object_edit.cc.
References BLI_assert, FOREACH_BASE_IN_MODE_BEGIN, and FOREACH_BASE_IN_MODE_END.
Referenced by uv_shortest_path_pick_invoke().
|
static |
Definition at line 1721 of file object_add.cc.
References wmOperatorType::exec, object_add_drop_xy_is_set(), wmOperator::ptr, RNA_int_set(), wmOperator::type, WM_enum_search_invoke(), WM_operator_properties_id_lookup_is_set(), and wmEvent::xy.
Referenced by OBJECT_OT_collection_external_asset_drop(), and OBJECT_OT_collection_instance_add().
|
static |
Definition at line 103 of file object_shapekey.cc.
References BKE_key_from_object(), Key::block, KEYBLOCK_LOCKED_SHAPE, and LISTBASE_FOREACH.
Referenced by shape_key_report_if_any_locked().
|
static |
Definition at line 2094 of file object_transform.cc.
References Object::data, ELEM, LA_AREA, LA_SPOT, LA_SUN, OB_CAMERA, OB_LAMP, object_is_target_compat(), Light::type, and Object::type.
Referenced by object_is_target_compat(), and object_transform_axis_target_invoke().
|
static |
Definition at line 4288 of file object_add.cc.
References BKE_lib_override_library_id_is_user_deletable(), BKE_object_obdata_is_libdata(), BKE_report(), BKE_reportf(), CTX_data_active_object(), CTX_data_main(), Object::data, ED_armature_join_objects_exec(), ED_curve_join_objects_exec(), ED_grease_pencil_join_objects_exec(), ED_mesh_join_objects_exec(), ELEM, GPENCIL_ANY_MODE, Object::id, invert_m4_m4(), Object::mode, ID::name, OB_ARMATURE, OB_CURVES_LEGACY, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_SURF, object_join_exec(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, ret, RPT_ERROR, RPT_WARNING, and Object::type.
Referenced by object_join_exec(), and OBJECT_OT_join().
|
static |
Definition at line 4265 of file object_add.cc.
References CTX_data_active_object(), Object::data, ELEM, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, OB_ARMATURE, OB_CURVES_LEGACY, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_SURF, object_join_poll(), and Object::type.
Referenced by object_join_poll(), and OBJECT_OT_join().
|
static |
Definition at line 1565 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), Object::data, Light::energy, get_light_defname(), LA_AREA, LA_LOCAL, LA_SPOT, LA_SUN, OB_LAMP, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, Light::type, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_light_add().
|
static |
Definition at line 388 of file object_transform.cc.
References ANIM_KS_LOCATION_ID, object_clear_loc(), and object_clear_transform_generic_exec().
Referenced by OBJECT_OT_location_clear().
|
static |
Definition at line 982 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ED_mball_add_primitive(), editmode_exit_ex(), EM_FREEDATA, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, new_primitive_matrix(), OB_MBALL, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), rot, Object::type, WM_event_add_notifier(), and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_metaball_add().
|
static |
Definition at line 58 of file object_modes.cc.
References OB_MODE_EDIT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_PARTICLE_EDIT, OB_MODE_POSE, OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, OB_MODE_SCULPT_GREASE_PENCIL, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_GREASE_PENCIL, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_GREASE_PENCIL, and OB_MODE_WEIGHT_PAINT.
Referenced by mode_compat_set(), and mode_set_ex().
|
static |
Definition at line 318 of file object_ops.cc.
References CTX_data_active_object(), Object::mode, and OB_MODE_OBJECT.
Referenced by keymap_object().
|
static |
Mode Switching Logic (internal details).
Notes:
Supported Cases:
Definition at line 1953 of file object_edit.cc.
References CTX_data_active_object(), CTX_data_main(), CTX_wm_manager(), EDBM_selectmode_set_multi(), wmOperator::idname, Object::mode, mode_compat_test(), mode_set_ex(), OB_GPENCIL_LEGACY, OB_MESH, OB_MODE_EDIT, OB_MODE_EDIT_GPENCIL_LEGACY, OB_MODE_OBJECT, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, wmOperator::reports, Object::restore_mode, RNA_boolean_get(), RNA_enum_get(), RNA_property_enum_get(), RNA_property_is_set(), RNA_struct_find_property(), STREQ, Object::type, WM_autosave_is_scheduled(), and WM_autosave_write().
Referenced by OBJECT_OT_mode_set().
|
static |
Definition at line 1912 of file object_edit.cc.
References CTX_data_active_object(), mode_compat_test(), OB_MODE_OBJECT, RNA_enum_item_add(), RNA_enum_item_end(), RNA_enum_items_add_value(), and rna_enum_object_mode_items.
Referenced by OBJECT_OT_mode_set().
|
static |
Definition at line 1946 of file object_edit.cc.
References CTX_data_active_object(), and ED_operator_object_active_editable_ex().
Referenced by OBJECT_OT_mode_set().
| void blender::ed::object::object_modifier_add_asset_register | ( | ) |
Definition at line 398 of file add_modifier_assets.cc.
References modifier_add_catalog_assets_menu_type(), modifier_add_root_catalogs_menu_type(), modifier_add_unassigned_assets_menu_type(), OBJECT_OT_modifier_add_node_group(), WM_menutype_add(), and WM_operatortype_append().
Referenced by operatortypes_object().
|
static |
Definition at line 474 of file object_modifier.cc.
References BKE_modifier_get_info(), BKE_report(), eModifierFlag_PinLast, eModifierTypeFlag_RequiresOriginalData, ModifierData::flag, ModifierTypeInfo::flags, OnlyDeform, ModifierData::type, and ModifierTypeInfo::type.
Referenced by modifier_move_down(), and modifier_move_to_index().
|
static |
Definition at line 436 of file object_modifier.cc.
References BKE_modifier_get_info(), BKE_report(), eModifierFlag_PinLast, eModifierTypeFlag_RequiresOriginalData, ModifierData::flag, ModifierTypeInfo::flags, OnlyDeform, ModifierData::type, and ModifierTypeInfo::type.
Referenced by modifier_move_to_index(), and modifier_move_up().
|
static |
Definition at line 340 of file object_modifier.cc.
References BKE_modifier_free(), BKE_modifier_remove_from_list(), BKE_object_free_derived_caches(), BLI_findindex(), BLI_listbase_is_empty(), Object::data, PartDeflect::deflect, ELEM, eModifierType_Cloth, eModifierType_Collision, eModifierType_Multires, eModifierType_ParticleSystem, eModifierType_Skin, eModifierType_Softbody, eModifierType_Surface, Object::mode, modifier_skin_customdata_delete(), Object::modifiers, multires_customdata_delete(), object_modifier_safe_to_delete(), object_remove_particle_system(), Object::particlesystem, Object::pd, sbFree(), Object::soft, Object::softflag, and ModifierData::type.
Referenced by modifier_remove(), and modifiers_clear().
|
static |
Definition at line 331 of file object_modifier.cc.
References iter_other(), object_has_modifier(), and object_has_modifier_cb().
Referenced by object_modifier_remove().
|
static |
Definition at line 2740 of file object_modifier.cc.
References context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_selected_objects(), DEG_relations_tag_update(), LISTBASE_FOREACH, modifier_copy_to_object(), Object::modifiers, NA_ADDED, NC_OBJECT, ND_MODIFIER, object_modifiers_copy_exec(), OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by object_modifiers_copy_exec(), and OBJECT_OT_modifiers_copy_to_selected().
|
static |
Definition at line 2156 of file object_transform.cc.
References len_squared_v3v3(), mul_m3_m3m3(), negate_v3(), normalize_v3(), object_apply_rotation(), object_orient_to_location(), rotation_between_vecs_to_mat3(), and sub_v3_v3v3().
Referenced by object_orient_to_location(), and object_transform_axis_target_modal().
|
static |
Definition at line 490 of file object_transform.cc.
References copy_m3_m4(), CTX_DATA_BEGIN, CTX_DATA_END, DEG_id_tag_update(), ID_RECALC_TRANSFORM, mul_m3_v3(), NC_OBJECT, ND_TRANSFORM, negate_v3_v3(), OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_origin_clear().
|
static |
Definition at line 1323 of file object_transform.cc.
References add_v3_v3(), arithmetic_mean(), BKE_armature_copy_bone_transforms(), BKE_curve_center_median(), BKE_curve_minmax(), BKE_curve_translate(), BKE_gpencil_centroid_3d(), BKE_gpencil_layer_transform_matrix_get(), BKE_gpencil_stroke_geometry_update(), BKE_id_is_editable(), BKE_lattice_center_median(), BKE_lattice_minmax(), BKE_lattice_translate(), BKE_mball_center_bounds(), BKE_mball_center_median(), BKE_mball_translate(), BKE_mesh_center_median(), BKE_mesh_center_of_surface(), BKE_mesh_center_of_volume(), BKE_mesh_translate(), BKE_object_batch_cache_dirty_tag(), BKE_object_minmax_dupli(), BKE_object_to_mat4(), BKE_object_transform_copy(), BKE_object_where_is_calc(), BKE_pose_where_is(), BKE_report(), BKE_reportf(), BMEditMesh::bm, BM_ITER_MESH, BM_VERTS_OF_MESH, bounds(), BMVert::co, copy_m3_m4(), copy_v3_v3(), CTX_data_active_object(), CTX_data_edit_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CU_3D, Object::data, DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, GreasePencilFrame::drawing_index, ED_armature_origin_set(), EDBM_mesh_normals_update(), ELEM, Curve::flag, Object::flag, float, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::foreach_item(), Curves::geometry, GEOMETRY_TO_ORIGIN, GP_DRAWING, bArmature::id, bGPdata::id, Curve::id, Curves::id, GreasePencil::id, Lattice::id, MetaBall::id, Object::id, PointCloud::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_REAL_USERS, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, ID_TAG_DOIT, ignore_parent_tx(), INIT_MINMAX, blender::math::invert(), invert_m3_m3(), invert_m4_m4(), bGPdata::layers, LISTBASE_FOREACH, madd_v3_v3fl(), mid_v3_v3v3(), blender::math::midpoint(), min, minmax_v3v3_v3(), mul_m3_v3(), mul_m4_v3(), mul_v3_m3v3(), mul_v3_m4v3(), mul_v3_mat3_m4v3(), NC_OBJECT, ND_TRANSFORM, negate_v3_v3(), OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_DONE, OB_DUPLICOLLECTION, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, object_origin_set_exec(), Main::objects, OPERATOR_CANCELLED, OPERATOR_FINISHED, ORIGIN_TO_CENTER_OF_MASS_SURFACE, ORIGIN_TO_CENTER_OF_MASS_VOLUME, ORIGIN_TO_CURSOR, ORIGIN_TO_GEOMETRY, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_is_set(), RNA_struct_find_property(), RPT_ERROR, RPT_WARNING, Object::runtime, sorted_selected_editable_objects(), blender::bke::greasepencil::Drawing::strokes_for_write(), sub_v3_v3(), sub_v3_v3v3(), ID::tag, BMesh::totvert, blender::math::transform_direction(), blender::math::transform_point(), blender::bke::CurvesGeometry::translate(), translate_positions(), GreasePencilDrawingBase::type, Object::type, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, BezTriple::vec, WM_event_add_notifier(), wrap(), bGPDspoint::x, Curve::xof, Curve::yof, and zero_v3().
Referenced by object_origin_set_exec(), and OBJECT_OT_origin_set().
| void blender::ed::object::OBJECT_OT_add | ( | wmOperatorType * | ot | ) |
Definition at line 718 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_ID_ID, wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_object_type_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_add_named | ( | wmOperatorType * | ot | ) |
Definition at line 4106 of file object_add.cc.
References wmOperatorType::description, ED_operator_objectmode_poll_msg(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_add_drop_xy_generic_invoke(), object_add_drop_xy_props(), object_add_named_exec(), OBJECT_OT_add_named(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_matrix(), RNA_def_property_flag(), wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by OBJECT_OT_add_named(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_armature_add | ( | wmOperatorType * | ot | ) |
Definition at line 1146 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_armature_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_bake | ( | wmOperatorType * | ot | ) |
Definition at line 2155 of file object_bake_api.cc.
References bake_exec(), bake_invoke(), bake_modal(), BLT_I18NCONTEXT_COLOR, wmOperatorType::description, ED_operator_object_active_editable_mesh(), wmOperatorType::exec, FILE_MAX, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, MAX_CUSTOMDATA_LAYER_NAME_NO_PREFIX, MAX_NAME, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, PROP_ENUM_FLAG, R_BAKE_EXTEND, R_BAKE_PASS_FILTER_NONE, R_BAKE_POSX, R_BAKE_POSY, R_BAKE_POSZ, R_BAKE_SAVE_INTERNAL, R_BAKE_SPACE_TANGENT, R_BAKE_TARGET_IMAGE_TEXTURES, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_translation_context(), RNA_def_string(), RNA_def_string_file_path(), rna_enum_bake_margin_type_items, rna_enum_bake_pass_filter_type_items, rna_enum_bake_pass_type_items, rna_enum_bake_save_mode_items, rna_enum_bake_target_items, rna_enum_normal_space_items, rna_enum_normal_swizzle_items, SCE_PASS_COMBINED, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_bake_image | ( | wmOperatorType * | ot | ) |
Definition at line 645 of file object_bake.cc.
References bake_image_exec(), wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, objects_bake_render_invoke(), objects_bake_render_modal(), ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_camera_add | ( | wmOperatorType * | ot | ) |
Definition at line 953 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_camera_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, RNA_def_property_flag(), RNA_struct_type_find_property(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_clear_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2789 of file object_relations.cc.
References clear_override_library_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and reset_clear_override_library_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_add | ( | wmOperatorType * | ot | ) |
Definition at line 878 of file object_collection.cc.
References collection_add_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_external_asset_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1835 of file object_add.cc.
References add_generic_props(), collection_drop_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_add_drop_xy_props(), object_instance_add_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_collection_itemf(), RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_instance_add | ( | wmOperatorType * | ot | ) |
Only used as menu.
Definition at line 1734 of file object_add.cc.
References add_generic_props(), collection_instance_add_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, object_add_drop_xy_props(), object_instance_add_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_collection_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), RNA_def_string(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_link | ( | wmOperatorType * | ot | ) |
Definition at line 946 of file object_collection.cc.
References collection_link_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_collection_local_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_objects_select | ( | wmOperatorType * | ot | ) |
Definition at line 1104 of file object_collection.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and select_grouped_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_remove | ( | wmOperatorType * | ot | ) |
Definition at line 997 of file object_collection.cc.
References collection_remove_exec(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 1063 of file object_collection.cc.
References collection_unlink_exec(), collection_unlink_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraint_add | ( | wmOperatorType * | ot | ) |
Definition at line 2542 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_constraint_add_exec(), object_constraint_add_itemf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraint_add_with_targets | ( | wmOperatorType * | ot | ) |
Definition at line 2571 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_constraint_add_exec(), object_constraint_add_itemf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraints_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2090 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_local_editable(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, object_constraints_clear_exec(), ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraints_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2191 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_constraint_copy_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_convert | ( | wmOperatorType * | ot | ) |
Definition at line 3707 of file object_add.cc.
References BLT_I18NCONTEXT_ID_OBJECT, convert_target_itemf(), convert_target_items, DEG2RADF, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OB_MESH, OBJECT_ADD_SIZE_MAXF, object_convert_exec(), object_convert_poll(), object_convert_ui(), OBJECT_OT_convert(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float_distance(), RNA_def_float_rotation(), RNA_def_int(), RNA_def_property_float_default(), RNA_def_property_translation_context(), wmOperatorType::srna, wmOperatorType::ui, and WM_menu_invoke().
Referenced by OBJECT_OT_convert(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_correctivesmooth_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3229 of file object_modifier.cc.
References correctivesmooth_bind_exec(), correctivesmooth_bind_invoke(), correctivesmooth_poll(), wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_correctivesmooth_bind(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_correctivesmooth_bind(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_curves_empty_hair_add | ( | wmOperatorType * | ot | ) |
Definition at line 2089 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_curves_empty_hair_add_exec(), object_curves_empty_hair_add_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_curves_random_add | ( | wmOperatorType * | ot | ) |
Definition at line 2021 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_curves_random_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_data_instance_add | ( | wmOperatorType * | ot | ) |
Definition at line 1918 of file object_add.cc.
References add_generic_props(), BLT_I18NCONTEXT_ID_ID, wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_add_drop_xy_generic_invoke(), object_add_drop_xy_props(), object_data_instance_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_id_type_items, wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_data_transfer | ( | wmOperatorType * | ot | ) |
Transfer mesh data from active to selected objects.
Definition at line 651 of file object_data_transfer.cc.
References CDT_MIX_TRANSFER, wmOperatorType::check, data_transfer_check(), data_transfer_exec(), data_transfer_get_description(), data_transfer_poll(), data_transfer_poll_property(), wmOperatorType::description, DT_layer_items, DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, dt_layers_select_itemf(), dt_mix_mode_itemf(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::invoke, MREMAP_MODE_EDGE_NEAREST, MREMAP_MODE_LOOP_NEAREST_POLYNOR, MREMAP_MODE_POLY_NEAREST, MREMAP_MODE_VERT_NEAREST, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, PROP_DISTANCE, PROP_FACTOR, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_property_enum_funcs_runtime(), RNA_def_property_flag(), RNA_def_property_subtype(), rna_enum_dt_layers_select_dst_items, rna_enum_dt_layers_select_src_items, rna_enum_dt_method_edge_items, rna_enum_dt_method_loop_items, rna_enum_dt_method_poly_items, rna_enum_dt_method_vertex_items, rna_enum_dt_mix_mode_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_datalayout_transfer | ( | wmOperatorType * | ot | ) |
Definition at line 908 of file object_data_transfer.cc.
References wmOperatorType::check, data_transfer_check(), data_transfer_poll_property(), datalayout_transfer_exec(), datalayout_transfer_invoke(), datalayout_transfer_poll(), wmOperatorType::description, DT_layer_items, DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_enum_funcs_runtime(), rna_enum_dt_layers_select_dst_items, rna_enum_dt_layers_select_src_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2303 of file object_add.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_delete_exec(), object_delete_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, and WM_operator_properties_confirm_or_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_drop_geometry_nodes | ( | wmOperatorType * | ot | ) |
Used for drop-box. Assigns to object under cursor, creates a new geometry nodes modifier.
Definition at line 3075 of file object_relations.cc.
References drop_geometry_nodes_invoke(), ED_operator_view3d_active(), wmOperatorType::flag, wmOperatorType::idname, INT32_MAX, INT32_MIN, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_drop_named_material | ( | wmOperatorType * | ot | ) |
Used for drop-box. Assigns to object under cursor, only first material slot.
Definition at line 2971 of file object_relations.cc.
References drop_named_material_invoke(), ED_operator_objectmode_with_view3d_poll_msg(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 3990 of file object_add.cc.
References wmOperatorType::description, duplicate_exec(), ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_duplicate(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), rna_enum_transform_mode_type_items, wmOperatorType::srna, and TFM_TRANSLATION.
Referenced by OBJECT_OT_duplicate(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_duplicates_make_real | ( | wmOperatorType * | ot | ) |
Definition at line 2695 of file object_add.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_duplicates_make_real_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_property_translation_context(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_editmode_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 994 of file object_edit.cc.
References wmOperatorType::description, editmode_toggle_exec(), editmode_toggle_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_effector_add | ( | wmOperatorType * | ot | ) |
Definition at line 895 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), wmOperatorType::description, ED_operator_objectmode(), effector_add_exec(), wmOperatorType::exec, field_type_items, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_empty_add | ( | wmOperatorType * | ot | ) |
Definition at line 1189 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_empty_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), rna_enum_object_empty_drawtype_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_empty_image_add | ( | wmOperatorType * | ot | ) |
Definition at line 1309 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_image_add_exec(), object_image_add_invoke(), object_image_add_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_PRESET, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), RNA_struct_type_find_property(), wmOperatorType::srna, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, WM_operator_properties_filesel(), and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_explode_refresh | ( | wmOperatorType * | ot | ) |
Definition at line 3358 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, explode_poll(), explode_refresh_exec(), explode_refresh_invoke(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_explode_refresh(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_explode_refresh(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_forcefield_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1157 of file object_edit.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, forcefield_toggle_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_geometry_node_tree_copy_assign | ( | wmOperatorType * | ot | ) |
Definition at line 3820 of file object_modifier.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, geometry_node_tree_copy_assign_exec(), wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_geometry_node_tree_copy_assign(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_geometry_node_tree_copy_assign(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_geometry_nodes_input_attribute_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 3765 of file object_modifier.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, geometry_nodes_input_attribute_toggle_exec(), wmOperatorType::idname, MAX_NAME, wmOperatorType::name, OBJECT_OT_geometry_nodes_input_attribute_toggle(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by OBJECT_OT_geometry_nodes_input_attribute_toggle(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_add | ( | wmOperatorType * | ot | ) |
Definition at line 1499 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, GP_DRAWMODE_3D, wmOperatorType::idname, wmOperatorType::name, object_grease_pencil_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_property_translation_context(), rna_enum_gpencil_add_stroke_depth_order_items, rna_enum_object_gpencil_type_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_add | ( | wmOperatorType * | ot | ) |
Definition at line 3904 of file object_modifier.cc.
References dash_modifier_segment_add_exec(), dash_modifier_segment_add_invoke(), dash_modifier_segment_poll(), wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_dash_modifier_segment_add(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_grease_pencil_dash_modifier_segment_add(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_move | ( | wmOperatorType * | ot | ) |
Definition at line 4041 of file object_modifier.cc.
References dash_modifier_segment_move_exec(), dash_modifier_segment_move_invoke(), dash_modifier_segment_poll(), wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, int, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_dash_modifier_segment_move(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by OBJECT_OT_grease_pencil_dash_modifier_segment_move(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_remove | ( | wmOperatorType * | ot | ) |
Definition at line 3959 of file object_modifier.cc.
References dash_modifier_segment_poll(), dash_modifier_segment_remove_exec(), dash_modifier_segment_remove_invoke(), wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_dash_modifier_segment_remove(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by OBJECT_OT_grease_pencil_dash_modifier_segment_remove(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_add | ( | wmOperatorType * | ot | ) |
Definition at line 4138 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_time_modifier_segment_add(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, time_modifier_segment_add_exec(), time_modifier_segment_add_invoke(), and time_modifier_segment_poll().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_move | ( | wmOperatorType * | ot | ) |
Definition at line 4275 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, int, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_time_modifier_segment_move(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, time_modifier_segment_move_exec(), time_modifier_segment_move_invoke(), and time_modifier_segment_poll().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_move(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_remove | ( | wmOperatorType * | ot | ) |
Definition at line 4193 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_grease_pencil_time_modifier_segment_remove(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, time_modifier_segment_poll(), time_modifier_segment_remove_exec(), and time_modifier_segment_remove_invoke().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_remove(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_collection | ( | wmOperatorType * | ot | ) |
Definition at line 496 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_hide_collection_exec(), object_hide_collection_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_view_clear | ( | wmOperatorType * | ot | ) |
Definition at line 314 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_hide_poll(), object_hide_view_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_view_set | ( | wmOperatorType * | ot | ) |
Definition at line 372 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_hide_poll(), object_hide_view_set_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_add_newob | ( | wmOperatorType * | ot | ) |
Definition at line 690 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_add_hook_newob_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_add_selob | ( | wmOperatorType * | ot | ) |
Definition at line 650 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_add_hook_selob_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_assign | ( | wmOperatorType * | ot | ) |
Definition at line 928 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_mod_itemf(), hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_hook_assign_exec(), OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_recenter | ( | wmOperatorType * | ot | ) |
Definition at line 863 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_mod_itemf(), hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_hook_recenter_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_remove | ( | wmOperatorType * | ot | ) |
Definition at line 760 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_mod_itemf(), hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_hook_remove_exec(), OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_reset | ( | wmOperatorType * | ot | ) |
Definition at line 808 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_mod_itemf(), hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_hook_reset_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_select | ( | wmOperatorType * | ot | ) |
Definition at line 979 of file object_hook.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, hook_mod_itemf(), hook_op_edit_poll(), wmOperatorType::idname, wmOperatorType::name, object_hook_select_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_join | ( | wmOperatorType * | ot | ) |
Definition at line 4358 of file object_add.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_join_exec(), object_join_poll(), OBJECT_OT_join(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_join(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_join_shapes | ( | wmOperatorType * | ot | ) |
Definition at line 4424 of file object_add.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, join_shapes_exec(), join_shapes_poll(), wmOperatorType::name, OBJECT_OT_join_shapes(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_join_shapes(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_laplaciandeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3636 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, laplaciandeform_bind_exec(), laplaciandeform_bind_invoke(), laplaciandeform_poll(), wmOperatorType::name, OBJECT_OT_laplaciandeform_bind(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_laplaciandeform_bind(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_add | ( | wmOperatorType * | ot | ) |
Definition at line 1603 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_ID_LIGHT, wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_light_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_light_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_blocker_collection_new | ( | wmOperatorType * | ot | ) |
Definition at line 60 of file object_light_linking_ops.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_collection_new_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_blockers_link | ( | wmOperatorType * | ot | ) |
Definition at line 194 of file object_light_linking_ops.cc.
References COLLECTION_LIGHT_LINKING_STATE_EXCLUDE, COLLECTION_LIGHT_LINKING_STATE_INCLUDE, wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_link_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_blockers_select | ( | wmOperatorType * | ot | ) |
Definition at line 110 of file object_light_linking_ops.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_select_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_receiver_collection_new | ( | wmOperatorType * | ot | ) |
Definition at line 45 of file object_light_linking_ops.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_collection_new_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_receivers_link | ( | wmOperatorType * | ot | ) |
Definition at line 158 of file object_light_linking_ops.cc.
References COLLECTION_LIGHT_LINKING_STATE_EXCLUDE, COLLECTION_LIGHT_LINKING_STATE_INCLUDE, wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_link_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_receivers_select | ( | wmOperatorType * | ot | ) |
Definition at line 95 of file object_light_linking_ops.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_select_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_linking_unlink_from_collection | ( | wmOperatorType * | ot | ) |
Definition at line 260 of file object_light_linking_ops.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, light_linking_unlink_from_collection_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_lightprobe_add | ( | wmOperatorType * | ot | ) |
Definition at line 783 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, lightprobe_add_exec(), lightprobe_type_items, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_link_to_collection | ( | wmOperatorType * | ot | ) |
Definition at line 2427 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAX_NAME, move_to_collection_exec(), move_to_collection_invoke(), move_to_collection_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_location_clear | ( | wmOperatorType * | ot | ) |
Definition at line 393 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_location_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_links_data | ( | wmOperatorType * | ot | ) |
Definition at line 1652 of file object_relations.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAKE_LINKS_ANIMDATA, make_links_data_exec(), MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_ENUM_ITEM_SEPR, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_links_scene | ( | wmOperatorType * | ot | ) |
Definition at line 1628 of file object_relations.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, make_links_scene_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, RNA_scene_local_itemf(), wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_local | ( | wmOperatorType * | ot | ) |
Definition at line 2278 of file object_relations.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAKE_LOCAL_ALL, make_local_exec(), MAKE_LOCAL_SELECT_OB, MAKE_LOCAL_SELECT_OBDATA, MAKE_LOCAL_SELECT_OBDATA_MATERIAL, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2641 of file object_relations.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAIN_ID_SESSION_UID_UNSET, make_override_library_exec(), make_override_library_invoke(), make_override_library_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2876 of file object_relations.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAKE_SINGLE_USER_ALL, make_single_user_exec(), make_single_user_invoke(), MAKE_SINGLE_USER_SELECTED, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_meshdeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3304 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, meshdeform_bind_exec(), meshdeform_bind_invoke(), meshdeform_poll(), wmOperatorType::name, OBJECT_OT_meshdeform_bind(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_meshdeform_bind(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_metaball_add | ( | wmOperatorType * | ot | ) |
Definition at line 1026 of file object_add.cc.
References add_generic_props(), add_unit_props_radius_ex(), wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_metaball_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), rna_enum_metaelem_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_mode_set | ( | wmOperatorType * | ot | ) |
Definition at line 2053 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OB_MODE_OBJECT, object_mode_set_exec(), object_mode_set_itemf(), object_mode_set_poll(), ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_object_mode_items, and wmOperatorType::srna.
Referenced by OBJECT_OT_mode_set_with_submode(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_mode_set_with_submode | ( | wmOperatorType * | ot | ) |
Definition at line 2078 of file object_edit.cc.
References wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_mode_set(), ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum_flag(), RNA_def_property_flag(), rna_enum_mesh_select_mode_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 1767 of file object_modifier.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), eModifierType_Subsurf, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_add_exec(), modifier_add_invoke(), modifier_add_itemf(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, OBJECT_OT_modifier_add(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_object_modifier_type_items, and wmOperatorType::srna.
Referenced by OBJECT_OT_modifier_add(), and operatortypes_object().
|
static |
Definition at line 348 of file add_modifier_assets.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::invoke, modifier_add_asset_exec(), modifier_add_asset_get_description(), modifier_add_asset_invoke(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, blender::ed::asset::operator_asset_reference_props_register(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by object_modifier_add_asset_register().
| void blender::ed::object::OBJECT_OT_modifier_apply | ( | wmOperatorType * | ot | ) |
Definition at line 2366 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), edit_modifier_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_apply_exec(), modifier_apply_invoke(), modifier_apply_poll(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, OBJECT_OT_modifier_apply(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by OBJECT_OT_modifier_apply(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_apply_as_shapekey | ( | wmOperatorType * | ot | ) |
Definition at line 2444 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), edit_modifier_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::invoke, modifier_apply_as_shapekey_exec(), modifier_apply_as_shapekey_get_description(), modifier_apply_as_shapekey_invoke(), modifier_apply_as_shapekey_poll(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, OBJECT_OT_modifier_apply_as_shapekey(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by OBJECT_OT_modifier_apply_as_shapekey(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_convert | ( | wmOperatorType * | ot | ) |
Definition at line 2498 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_convert_exec(), modifier_convert_invoke(), wmOperatorType::name, OBJECT_OT_modifier_convert(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_convert(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2559 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_liboverride_allowed_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_copy_exec(), modifier_copy_invoke(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, OBJECT_OT_modifier_copy(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_copy(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2725 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_copy_to_selected_exec(), modifier_copy_to_selected_invoke(), modifier_copy_to_selected_poll(), wmOperatorType::name, OBJECT_OT_modifier_copy_to_selected(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_copy_to_selected(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 2143 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_move_down_exec(), modifier_move_down_invoke(), wmOperatorType::name, OBJECT_OT_modifier_move_down(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_move_down(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_to_index | ( | wmOperatorType * | ot | ) |
Definition at line 2201 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_move_to_index_exec(), modifier_move_to_index_invoke(), modifier_register_use_selected_objects_prop(), wmOperatorType::name, OBJECT_OT_modifier_move_to_index(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by OBJECT_OT_modifier_move_to_index(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 2098 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_move_up_exec(), modifier_move_up_invoke(), wmOperatorType::name, OBJECT_OT_modifier_move_up(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_move_up(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_remove | ( | wmOperatorType * | ot | ) |
Definition at line 2013 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_poll(), edit_modifier_properties(), edit_modifier_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_register_use_selected_objects_prop(), modifier_remove_exec(), modifier_remove_invoke(), wmOperatorType::name, OBJECT_OT_modifier_remove(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_remove(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 2603 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_liboverride_allowed_poll(), edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, modifier_set_active_exec(), modifier_set_active_invoke(), wmOperatorType::name, OBJECT_OT_modifier_set_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifier_set_active(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifiers_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2056 of file object_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, modifiers_clear_exec(), modifiers_clear_poll(), wmOperatorType::name, OBJECT_OT_modifiers_clear(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifiers_clear(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifiers_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2785 of file object_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, modifiers_copy_to_selected_poll(), wmOperatorType::name, object_modifiers_copy_exec(), OBJECT_OT_modifiers_copy_to_selected(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_modifiers_copy_to_selected(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_move_to_collection | ( | wmOperatorType * | ot | ) |
Definition at line 2388 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAX_NAME, move_to_collection_exec(), move_to_collection_invoke(), move_to_collection_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_base_apply | ( | wmOperatorType * | ot | ) |
Definition at line 407 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_base_apply_exec(), multires_base_apply_invoke(), multires_poll(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_external_pack | ( | wmOperatorType * | ot | ) |
Definition at line 357 of file object_multires_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, multires_external_pack_exec(), multires_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_external_save | ( | wmOperatorType * | ot | ) |
Definition at line 312 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_BTX, FILE_TYPE_FOLDER, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_external_save_exec(), multires_external_save_invoke(), multires_poll(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_higher_levels_delete | ( | wmOperatorType * | ot | ) |
Definition at line 76 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_higher_levels_delete_exec(), multires_higher_levels_delete_invoke(), multires_poll(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_rebuild_subdiv | ( | wmOperatorType * | ot | ) |
Definition at line 513 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_poll(), multires_rebuild_subdiv_exec(), multires_rebuild_subdiv_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_reshape | ( | wmOperatorType * | ot | ) |
Definition at line 227 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_poll(), multires_reshape_exec(), multires_reshape_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_subdivide | ( | wmOperatorType * | ot | ) |
Definition at line 152 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_poll(), MULTIRES_SUBDIVIDE_CATMULL_CLARK, multires_subdivide_exec(), multires_subdivide_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_multires_subdivide_mode_type, RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_unsubdivide | ( | wmOperatorType * | ot | ) |
Definition at line 459 of file object_multires_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, multires_poll(), multires_unsubdivide_exec(), multires_unsubdivide_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_ocean_bake | ( | wmOperatorType * | ot | ) |
Definition at line 3559 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_ocean_bake(), ocean_bake_exec(), ocean_bake_invoke(), ocean_bake_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by OBJECT_OT_ocean_bake(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_origin_clear | ( | wmOperatorType * | ot | ) |
Definition at line 515 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_origin_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_origin_set | ( | wmOperatorType * | ot | ) |
Definition at line 1955 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, GEOMETRY_TO_ORIGIN, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_origin_set_exec(), OBJECT_OT_origin_set(), OPTYPE_REGISTER, OPTYPE_UNDO, ORIGIN_TO_CENTER_OF_MASS_SURFACE, ORIGIN_TO_CENTER_OF_MASS_VOLUME, ORIGIN_TO_CURSOR, ORIGIN_TO_GEOMETRY, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, and WM_menu_invoke().
Referenced by OBJECT_OT_origin_set(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 435 of file object_relations.cc.
References CLEAR_PARENT_ALL, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_clear_exec(), wmOperatorType::prop, prop_clear_parent_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_inverse_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1276 of file object_transform.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_parent_inverse_apply(), object_parent_inverse_apply_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_parent_inverse_apply(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_no_inverse_set | ( | wmOperatorType * | ot | ) |
Definition at line 1110 of file object_relations.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_noinv_set_exec(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 1031 of file object_relations.cc.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_set_exec(), parent_set_invoke(), parent_set_poll_property(), wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, prop_make_parent_types, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_calculate | ( | wmOperatorType * | ot | ) |
Definition at line 1349 of file object_edit.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MOTIONPATH_RANGE_SCENE, MOTIONPATH_TYPE_RANGE, wmOperatorType::name, object_calculate_paths_exec(), object_calculate_paths_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), rna_enum_motionpath_display_type_items, rna_enum_motionpath_range_items, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1539 of file object_edit.cc.
References ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::name, object_clear_paths_exec(), object_clear_paths_get_description(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_update | ( | wmOperatorType * | ot | ) |
Definition at line 1421 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_update_paths_exec(), object_update_paths_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_update_visible | ( | wmOperatorType * | ot | ) |
Definition at line 1462 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_update_all_paths_exec(), object_update_all_paths_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_pointcloud_add | ( | wmOperatorType * | ot | ) |
Definition at line 2129 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_pointcloud_add_exec(), object_pointcloud_add_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_posemode_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1087 of file object_edit.cc.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and posemode_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_quadriflow_remesh | ( | wmOperatorType * | ot | ) |
Definition at line 1106 of file object_remesh.cc.
References wmOperatorType::check, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, mode_type_items, wmOperatorType::name, object_remesh_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, PROP_HIDDEN, PROP_SKIP_SAVE, quadriflow_check(), quadriflow_poll_property(), quadriflow_remesh_exec(), QUADRIFLOW_REMESH_FACES, quadriflow_remesh_invoke(), RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_reset_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2714 of file object_relations.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, reset_clear_override_library_poll(), and reset_override_library_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_rotation_clear | ( | wmOperatorType * | ot | ) |
Definition at line 427 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_rotation_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_scale_clear | ( | wmOperatorType * | ot | ) |
Definition at line 461 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_scale_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1133 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_select_all_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_by_type | ( | wmOperatorType * | ot | ) |
Definition at line 403 of file object_select.cc.
References BLT_I18NCONTEXT_ID_ID, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_select_by_type_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_object_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_grouped | ( | wmOperatorType * | ot | ) |
Definition at line 1077 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_select_grouped_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_select_grouped_types, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 1391 of file object_select.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_select_less_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 687 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_select_linked_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_select_linked_types, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 1264 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_select_mirror_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 1360 of file object_select.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_select_more_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_random | ( | wmOperatorType * | ot | ) |
Definition at line 1444 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_select_random_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_random().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_same_collection | ( | wmOperatorType * | ot | ) |
Definition at line 1194 of file object_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_ID_NAME, wmOperatorType::name, object_select_same_collection_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_auto_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 1876 of file object_edit.cc.
References DEG2RADF, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ANGLE, PROP_FLOAT, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_range(), RNA_def_property_ui_text(), shade_auto_smooth_exec(), shade_auto_smooth_ui(), shade_poll(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_flat | ( | wmOperatorType * | ot | ) |
Definition at line 1697 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), shade_poll(), shade_smooth_exec(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 1718 of file object_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), shade_poll(), shade_smooth_exec(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_smooth_by_angle | ( | wmOperatorType * | ot | ) |
Definition at line 1739 of file object_edit.cc.
References DEG2RADF, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ANGLE, PROP_FLOAT, RNA_def_boolean(), RNA_def_property(), RNA_def_property_float_default(), RNA_def_property_range(), RNA_def_property_ui_text(), shade_poll(), shade_smooth_exec(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_add | ( | wmOperatorType * | ot | ) |
Definition at line 364 of file object_shader_fx.cc.
References BLT_I18NCONTEXT_ID_ID, wmOperatorType::description, edit_shaderfx_poll(), eShaderFxType_Blur, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_object_shaderfx_type_items, shaderfx_add_exec(), shaderfx_add_itemf(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_copy | ( | wmOperatorType * | ot | ) |
Definition at line 704 of file object_shader_fx.cc.
References wmOperatorType::description, edit_shaderfx_poll(), edit_shaderfx_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shaderfx_copy_exec(), and shaderfx_copy_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 602 of file object_shader_fx.cc.
References wmOperatorType::description, edit_shaderfx_poll(), edit_shaderfx_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shaderfx_move_down_exec(), and shaderfx_move_down_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_move_to_index | ( | wmOperatorType * | ot | ) |
Definition at line 645 of file object_shader_fx.cc.
References wmOperatorType::description, edit_shaderfx_poll(), edit_shaderfx_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), shaderfx_move_to_index_exec(), shaderfx_move_to_index_invoke(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 557 of file object_shader_fx.cc.
References wmOperatorType::description, edit_shaderfx_poll(), edit_shaderfx_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shaderfx_move_up_exec(), and shaderfx_move_up_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_remove | ( | wmOperatorType * | ot | ) |
Definition at line 511 of file object_shader_fx.cc.
References wmOperatorType::description, edit_shaderfx_poll(), edit_shaderfx_properties(), edit_shaderfx_report_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shaderfx_remove_exec(), and shaderfx_remove_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_add | ( | wmOperatorType * | ot | ) |
Definition at line 356 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), shape_key_add_exec(), shape_key_mode_poll(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_clear | ( | wmOperatorType * | ot | ) |
Definition at line 496 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shape_key_clear_exec(), and shape_key_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_lock | ( | wmOperatorType * | ot | ) |
Definition at line 726 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), shape_key_exists_poll(), SHAPE_KEY_LOCK, shape_key_lock_exec(), shape_key_lock_get_description(), SHAPE_KEY_UNLOCK, and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 574 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), shape_key_mirror_exec(), shape_key_mode_poll(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_move | ( | wmOperatorType * | ot | ) |
Definition at line 645 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, KB_MOVE_BOTTOM, KB_MOVE_DOWN, KB_MOVE_TOP, KB_MOVE_UP, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), shape_key_move_exec(), shape_key_move_poll(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_remove | ( | wmOperatorType * | ot | ) |
Definition at line 446 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_boolean(), shape_key_mode_exists_poll(), shape_key_remove_exec(), shape_key_remove_get_description(), shape_key_remove_poll_property(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_retime | ( | wmOperatorType * | ot | ) |
Definition at line 534 of file object_shapekey.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, shape_key_poll(), and shape_key_retime_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_armature_create | ( | wmOperatorType * | ot | ) |
Definition at line 3152 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_skin_armature_create(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, skin_armature_create_exec(), skin_armature_create_invoke(), and skin_poll().
Referenced by OBJECT_OT_skin_armature_create(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_loose_mark_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2934 of file object_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_skin_loose_mark_clear(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), skin_edit_poll(), SKIN_LOOSE_CLEAR, SKIN_LOOSE_MARK, skin_loose_mark_clear_exec(), and wmOperatorType::srna.
Referenced by OBJECT_OT_skin_loose_mark_clear(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_radii_equalize | ( | wmOperatorType * | ot | ) |
Definition at line 2983 of file object_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_skin_radii_equalize(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, skin_edit_poll(), and skin_radii_equalize_exec().
Referenced by OBJECT_OT_skin_radii_equalize(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_root_mark | ( | wmOperatorType * | ot | ) |
Definition at line 2881 of file object_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_skin_root_mark(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, skin_edit_poll(), and skin_root_mark_exec().
Referenced by OBJECT_OT_skin_root_mark(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_speaker_add | ( | wmOperatorType * | ot | ) |
Definition at line 1984 of file object_add.cc.
References add_generic_props(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_speaker_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_surfacedeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3703 of file object_modifier.cc.
References wmOperatorType::description, edit_modifier_properties(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_surfacedeform_bind(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, surfacedeform_bind_exec(), surfacedeform_bind_invoke(), and surfacedeform_bind_poll().
Referenced by OBJECT_OT_surfacedeform_bind(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_text_add | ( | wmOperatorType * | ot | ) |
Definition at line 1073 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_add_text_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_track_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1193 of file object_relations.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_track_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_clear_track_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_track_set | ( | wmOperatorType * | ot | ) |
Definition at line 1315 of file object_relations.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_make_track_types, RNA_def_enum(), wmOperatorType::srna, track_set_exec(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_transfer_mode | ( | wmOperatorType * | ot | ) |
Definition at line 520 of file object_modes.cc.
References wmOperatorType::cursor_pending, wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_transfer_mode_invoke(), object_transfer_mode_poll(), OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_REGISTER, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and WM_CURSOR_EYEDROPPER.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1221 of file object_transform.cc.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OBJECT_OT_transform_apply(), object_transform_apply_exec(), object_transform_apply_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by OBJECT_OT_transform_apply(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_axis_target | ( | wmOperatorType * | ot | ) |
Definition at line 2451 of file object_transform.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OBJECT_OT_transform_axis_target(), object_transform_axis_target_cancel(), object_transform_axis_target_invoke(), object_transform_axis_target_modal(), OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by OBJECT_OT_transform_axis_target(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_to_mouse | ( | wmOperatorType * | ot | ) |
Definition at line 4216 of file object_add.cc.
References wmOperatorType::description, ED_operator_objectmode_poll_msg(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, INT32_MAX, INT32_MIN, wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, object_add_drop_xy_generic_invoke(), object_add_drop_xy_props(), OBJECT_OT_transform_to_mouse(), object_transform_to_mouse_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_float_matrix(), RNA_def_int(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by OBJECT_OT_transform_to_mouse(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_unlink_data | ( | wmOperatorType * | ot | ) |
Definition at line 3143 of file object_relations.cc.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_unlink_data_exec(), OPTYPE_INTERNAL, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_add | ( | wmOperatorType * | ot | ) |
Definition at line 2507 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_add_exec(), and vertex_group_supported_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_assign | ( | wmOperatorType * | ot | ) |
Definition at line 2658 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_assign_exec(), and vertex_group_vert_select_unlocked_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_assign_new | ( | wmOperatorType * | ot | ) |
Definition at line 2693 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_assign_new_exec(), and vertex_group_vert_select_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_clean | ( | wmOperatorType * | ot | ) |
Definition at line 3329 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float(), wmOperatorType::srna, vertex_group_clean_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2873 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_copy_exec(), and vertex_group_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 3568 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_copy_to_selected_exec(), and vertex_group_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 2839 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_deselect_exec(), and vertex_group_vert_select_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_invert | ( | wmOperatorType * | ot | ) |
Definition at line 3210 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, vertex_group_invert_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_levels | ( | wmOperatorType * | ot | ) |
Definition at line 2917 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), wmOperatorType::srna, vertex_group_levels_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_limit_total | ( | wmOperatorType * | ot | ) |
Definition at line 3451 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, vertex_group_limit_total_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_lock | ( | wmOperatorType * | ot | ) |
Definition at line 3151 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, vertex_group_lock_exec(), vertex_group_lock_get_description(), vertex_group_poll(), vgroup_lock_actions, vgroup_lock_mask, VGROUP_MASK_ALL, and VGROUP_TOGGLE.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 3500 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, vertex_group_mirror_exec(), and vertex_group_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_move | ( | wmOperatorType * | ot | ) |
Definition at line 3933 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, vertex_group_poll(), and vgroup_move_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_normalize | ( | wmOperatorType * | ot | ) |
Definition at line 2962 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_normalize_exec(), and vertex_group_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_normalize_all | ( | wmOperatorType * | ot | ) |
Definition at line 3043 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, vertex_group_normalize_all_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_quantize | ( | wmOperatorType * | ot | ) |
Definition at line 3388 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, vertex_group_poll(), vertex_group_quantize_exec(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_remove | ( | wmOperatorType * | ot | ) |
Definition at line 2614 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, vertex_group_poll(), and vertex_group_remove_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_remove_from | ( | wmOperatorType * | ot | ) |
Definition at line 2755 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, vertex_group_remove_from_exec(), and vertex_group_vert_select_unlocked_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_select | ( | wmOperatorType * | ot | ) |
Definition at line 2805 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_select_exec(), and vertex_group_vert_select_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 3637 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, set_active_group_exec(), wmOperatorType::srna, vertex_group_poll(), vgroup_itemf(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 3269 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_int(), wmOperatorType::srna, vertex_group_mesh_vert_poll(), vertex_group_smooth_exec(), and vgroup_operator_subset_select_props().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_sort | ( | wmOperatorType * | ot | ) |
Definition at line 3871 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), SORT_TYPE_BONEHIERARCHY, SORT_TYPE_NAME, wmOperatorType::srna, vertex_group_poll(), and vertex_group_sort_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 292 of file object_relations.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_parent_set_exec(), and vertex_parent_set_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_copy | ( | wmOperatorType * | ot | ) |
Definition at line 4249 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_vert_select_mesh_poll(), and vertex_weight_copy_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_delete | ( | wmOperatorType * | ot | ) |
Definition at line 4116 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), wmOperatorType::srna, vertex_group_vert_select_mesh_poll(), and vertex_weight_delete_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_normalize_active_vertex | ( | wmOperatorType * | ot | ) |
Definition at line 4214 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_group_vert_select_mesh_poll(), and vertex_weight_normalize_active_vertex_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_paste | ( | wmOperatorType * | ot | ) |
Definition at line 4065 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), wmOperatorType::srna, vertex_group_vert_select_mesh_poll(), and vertex_weight_paste_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 4163 of file object_vgroup.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), wmOperatorType::srna, vertex_group_vert_select_mesh_poll(), and vertex_weight_set_active_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_visual_transform_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1165 of file object_transform.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OBJECT_OT_visual_transform_apply(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and visual_transform_apply_exec().
Referenced by OBJECT_OT_visual_transform_apply(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_volume_add | ( | wmOperatorType * | ot | ) |
Definition at line 56 of file object_volume.cc.
References add_generic_props(), wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_volume_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_volume_import | ( | wmOperatorType * | ot | ) |
Called by other space types too.
Definition at line 147 of file object_volume.cc.
References add_generic_props(), wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_VOLUME, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), wmOperatorType::srna, volume_import_exec(), volume_import_invoke(), WM_FILESEL_DIRECTORY, WM_FILESEL_FILEPATH, WM_FILESEL_FILES, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_voxel_remesh | ( | wmOperatorType * | ot | ) |
Definition at line 174 of file object_remesh.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_remesh_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and voxel_remesh_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_voxel_size_edit | ( | wmOperatorType * | ot | ) |
Definition at line 612 of file object_remesh.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, voxel_size_edit_cancel(), voxel_size_edit_invoke(), voxel_size_edit_modal(), and voxel_size_edit_poll().
Referenced by operatortypes_object().
|
static |
Definition at line 414 of file object_modes.cc.
References BLI_time_now_seconds(), CTX_data_depsgraph_pointer(), DEG_get_evaluated_object(), depsgraph, and Object::runtime.
Referenced by object_transfer_mode_to_base().
Definition at line 429 of file object_utils.cc.
References BLI_gset_lookup(), and Object::parent.
Referenced by object_xform_array_m4().
|
static |
Definition at line 1259 of file object_transform.cc.
References BKE_object_apply_parent_inverse(), CTX_DATA_BEGIN, CTX_DATA_END, DEG_id_tag_update(), ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, object_parent_inverse_apply_exec(), OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_inverse_apply(), and object_parent_inverse_apply_exec().
|
static |
Definition at line 1179 of file object_edit.cc.
References ANIMVIZ_CALC_RANGE_CHANGED, ANIMVIZ_CALC_RANGE_CURRENT_FRAME, ANIMVIZ_CALC_RANGE_FULL, OBJECT_PATH_CALC_RANGE_CHANGED, OBJECT_PATH_CALC_RANGE_CURRENT_FRAME, and OBJECT_PATH_CALC_RANGE_FULL.
Referenced by motion_paths_recalc().
|
static |
Definition at line 2117 of file object_add.cc.
References add_generic_get_opts(), add_type(), OB_DRAWBOUNDOX, OB_POINTCLOUD, OPERATOR_FINISHED, and rot.
Referenced by OBJECT_OT_pointcloud_add().
|
static |
Definition at line 2109 of file object_add.cc.
References ED_operator_objectmode().
Referenced by OBJECT_OT_pointcloud_add().
Definition at line 1347 of file object_constraint.cc.
References BKE_pose_tag_recalc(), and Object::pose.
Referenced by constraint_dependency_tag_update(), and constraint_dependency_update().
|
static |
Generic randomize vertices function
Definition at line 37 of file object_random.cc.
References BLI_rng_free(), BLI_rng_get_float(), BLI_rng_get_float_unit_v3(), BLI_rng_new(), copy_v3_v3(), dot_v3v3(), TransVert::flag, interp_v3_v3v3_slerp_safe(), TransVert::loc, madd_v3_v3fl(), max_ff(), negate_v3_v3(), TransVert::normal, seed, TransVertStore::transverts, TransVertStore::transverts_tot, and TX_VERT_USE_NORMAL.
Referenced by object_rand_verts_exec().
|
static |
Definition at line 82 of file object_random.cc.
References BKE_view_layer_array_from_objects_in_mode_unique_data(), BLI_ghashutil_strhash_p(), CTX_data_edit_object(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), ED_transverts_create_from_obedit(), ED_transverts_free(), ED_transverts_update_obedit(), Object::id, Object::mode, ID::name, NC_OBJECT, ND_DRAW, object_rand_transverts(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_float_get(), RNA_int_get(), seed, shape_key_report_if_locked(), TM_ALL_JOINTS, TransVertStore::transverts_tot, TX_VERT_USE_NORMAL, and WM_event_add_notifier().
Referenced by TRANSFORM_OT_vertex_random().
|
static |
Definition at line 74 of file object_remesh.cc.
References BKE_modifiers_uses_multires(), BKE_object_is_in_editmode(), SculptSession::bm, CTX_data_active_object(), CTX_wm_operator_poll_msg_set(), Object::data, ED_operator_object_active_editable_mesh(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, Object::mode, OB_MODE_SCULPT, and Object::sculpt.
Referenced by OBJECT_OT_quadriflow_remesh(), OBJECT_OT_voxel_remesh(), and voxel_size_edit_poll().
|
static |
Definition at line 334 of file object_relations.cc.
References BKE_modifier_free(), BKE_modifier_remove_from_list(), ELEM, eModifierType_Armature, eModifierType_Curve, eModifierType_Lattice, ListBase::first, free(), Object::modifiers, ModifierData::next, OB_ARMATURE, OB_CURVES_LEGACY, OB_LATTICE, ArmatureModifierData::object, CurveModifierData::object, LatticeModifierData::object, ModifierData::type, and Object::type.
Referenced by parent_clear().
|
static |
Definition at line 422 of file object_transform.cc.
References ANIM_KS_ROTATION_ID, object_clear_rot(), and object_clear_transform_generic_exec().
Referenced by OBJECT_OT_rotation_clear().
|
static |
Definition at line 456 of file object_transform.cc.
References ANIM_KS_SCALING_ID, object_clear_scale(), and object_clear_transform_generic_exec().
Referenced by OBJECT_OT_scale_clear().
|
static |
Definition at line 498 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, Object::instance_collection, OB_DUPLICOLLECTION, and Object::transflag.
Referenced by object_select_linked_exec().
|
static |
Definition at line 547 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, and lib.
Referenced by object_select_linked_exec(), and select_linked_by_id().
|
static |
Definition at line 564 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, and lib.
Referenced by object_select_linked_exec().
|
static |
Definition at line 473 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_object_material_get(), CTX_DATA_BEGIN, CTX_DATA_END, and Object::totcol.
Referenced by object_select_linked_exec(), and select_linked_by_id().
|
static |
Definition at line 456 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, CTX_DATA_BEGIN, and CTX_DATA_END.
Referenced by object_select_linked_exec(), and select_linked_by_id().
Definition at line 521 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, LISTBASE_FOREACH, ParticleSystem::part, and psys_get_current().
Referenced by object_select_linked_exec().
|
static |
Definition at line 1107 of file object_select.cc.
References base_deselect_all_ex(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_select_all().
|
static |
Definition at line 374 of file object_select.cc.
References BA_SELECT, base_deselect_all(), base_select(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), SEL_DESELECT, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_by_type().
|
static |
Definition at line 1003 of file object_select.cc.
References base_deselect_all(), BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OB_LAMP, OBJECT_GRPSEL_CHILDREN, OBJECT_GRPSEL_CHILDREN_RECURSIVE, OBJECT_GRPSEL_COLLECTION, OBJECT_GRPSEL_COLOR, OBJECT_GRPSEL_HOOK, OBJECT_GRPSEL_KEYINGSET, OBJECT_GRPSEL_LIGHT_TYPE, OBJECT_GRPSEL_PARENT, OBJECT_GRPSEL_PASS, OBJECT_GRPSEL_SIBLINGS, OBJECT_GRPSEL_TYPE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, SEL_DESELECT, select_grouped_children(), select_grouped_collection(), select_grouped_color(), select_grouped_index_object(), select_grouped_keyingset(), select_grouped_lighttype(), select_grouped_object_hooks(), select_grouped_parent(), select_grouped_siblings(), select_grouped_type(), Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_grouped().
|
static |
Definition at line 1375 of file object_select.cc.
References CTX_data_scene(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, object_select_more_less(), OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_less().
|
static |
Definition at line 603 of file object_select.cc.
References Object::actcol, base_deselect_all(), BKE_object_material_get(), BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BLI_listbase_is_empty(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), Object::id, ID_RECALC_SELECT, Object::instance_collection, ID::lib, NC_SCENE, ND_OB_SELECT, object_select_all_by_instance_collection(), object_select_all_by_library(), object_select_all_by_library_obdata(), object_select_all_by_material(), object_select_all_by_obdata(), object_select_all_by_particle(), OBJECT_SELECT_LINKED_DUPGROUP, OBJECT_SELECT_LINKED_IPO, OBJECT_SELECT_LINKED_LIBRARY, OBJECT_SELECT_LINKED_LIBRARY_OBDATA, OBJECT_SELECT_LINKED_MATERIAL, OBJECT_SELECT_LINKED_OBDATA, OBJECT_SELECT_LINKED_PARTICLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::particlesystem, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, SEL_DESELECT, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_linked().
|
static |
Definition at line 1223 of file object_select.cc.
References BA_DESELECT, BA_SELECT, base_select(), BKE_libblock_find_name(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_string_flip_side_name(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_OB, ID_RECALC_SELECT, MAXBONENAME, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), STREQ, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_mirror().
|
static |
Definition at line 1344 of file object_select.cc.
References CTX_data_scene(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, object_select_more_less(), OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_select_more().
|
static |
Definition at line 1293 of file object_select.cc.
References BA_DESELECT, BA_SELECT, base_select(), BASE_SELECTED, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), CTX_data_selectable_bases(), CTX_data_view_layer(), PointerRNA::data, Base::flag, Object::flag, Object::id, ID_TAG_DOIT, LISTBASE_FOREACH, OB_DONE, Base::object, Object::parent, ptr, select(), and ID::tag.
Referenced by object_select_less_exec(), and object_select_more_exec().
|
static |
Definition at line 1412 of file object_select.cc.
References base_select(), BLI_array_randomize(), CTX_data_scene(), CTX_data_selectable_bases(), PointerRNA::data, DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_RECALC_SELECT, MEM_freeN(), MEM_mallocN, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, ptr, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), seed, SEL_SELECT, select(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), WM_event_add_notifier(), and WM_operator_properties_select_random_seed_increment_get().
Referenced by OBJECT_OT_select_random().
|
static |
Definition at line 1157 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_collection_has_object(), BKE_libblock_find_name(), CTX_DATA_BEGIN, CTX_DATA_COUNT, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ID_GR, ID_RECALC_SELECT, MAX_ID_NAME, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_string_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_select_same_collection().
|
static |
Definition at line 113 of file object_shader_fx.cc.
References BKE_object_free_derived_caches(), BKE_shaderfx_free(), BLI_findindex(), BLI_remlink(), DEG_relations_tag_update(), and Object::shader_fx.
Referenced by shaderfx_clear(), and shaderfx_remove().
|
static |
Definition at line 172 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_lattice_index_from_uvw(), BLI_findlink(), Key::block, copy_v3_v3(), KeyBlock::data, Object::data, DEG_id_tag_update(), ED_mesh_mirror_spatial_table_begin(), ED_mesh_mirror_spatial_table_end(), Lattice::editlatt, Object::id, ID_RECALC_GEOMETRY, EditLatt::latt, MEM_callocN, MEM_freeN(), mesh_get_x_mirror_vert(), NC_OBJECT, ND_DRAW, OB_LATTICE, OB_MESH, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, Object::shapenr, KeyBlock::totelem, Object::type, v, w(), and WM_event_add_notifier().
Referenced by shape_key_mirror_exec().
Definition at line 155 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_object_shapekey_remove(), BLI_findlink(), Key::block, and Object::shapenr.
Referenced by shape_key_remove_exec().
Not an especially efficient function, only added so the single user button can be functional.
Definition at line 1810 of file object_relations.cc.
References BKE_main_id_newptr_and_tag_clear(), Object::flag, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, OB_DONE, and single_object_users().
Referenced by template_id_cb().
|
static |
Definition at line 1948 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_animdata_ensure_id(), BKE_nla_add_soundstrip(), BKE_nlastrip_validate_name(), BKE_nlatrack_add_strip(), BKE_nlatrack_new_tail(), BKE_nlatrack_set_active(), CTX_data_main(), CTX_data_scene(), Object::data, DATA_, NlaStrip::end, Object::id, ID_IS_OVERRIDE_LIBRARY, NA_ADDED, NlaTrack::name, NC_ANIMATION, ND_NLA, AnimData::nla_tracks, OB_SPEAKER, OPERATOR_FINISHED, rot, NlaStrip::start, STRNCPY_UTF8, and WM_event_add_notifier().
Referenced by OBJECT_OT_speaker_add().
|
static |
Definition at line 632 of file object_constraint.cc.
References BLI_findindex(), bPose::chanbase, CONSTRAINT_OBTYPE_BONE, CONSTRAINT_OBTYPE_OBJECT, Object::constraints, LISTBASE_FOREACH, OB_ARMATURE, Object::pose, test_constraint(), and Object::type.
Referenced by constraint_tag_update().
Definition at line 617 of file object_constraint.cc.
References bPose::chanbase, Object::constraints, ListBase::first, LISTBASE_FOREACH, OB_ARMATURE, Object::pose, test_constraints(), and Object::type.
Referenced by constraint_add_exec(), and constraint_update().
|
static |
Definition at line 1153 of file object_relations.cc.
References BKE_constraint_remove(), BKE_object_apply_mat4(), BKE_report(), CLEAR_TRACK_KEEP_TRANSFORM, CONSTRAINT_TYPE_DAMPTRACK, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_TRACKTO, CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, bConstraint::prev, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, bConstraint::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_track_clear().
|
static |
Definition at line 457 of file object_modes.cc.
References BKE_reportf(), BLI_assert, CTX_data_active_object(), CTX_data_scene(), CTX_wm_region(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ED_view3d_give_base_under_cursor(), ELEM, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SELECT, Object::mode, mode_compat_test(), wmEvent::mval, ID::name, NC_SCENE, ND_OB_SELECT, OB_MODE_ALL_PAINT, OB_MODE_OBJECT, OB_MODE_POSE, Base::object, object_transfer_mode_reposition_view_pivot(), object_transfer_mode_to_base(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ID::orig_id, wmOperator::reports, RPT_ERROR, WM_event_add_notifier(), and WM_toolsystem_update_from_context_view3d().
Referenced by OBJECT_OT_transfer_mode().
|
static |
Definition at line 390 of file object_modes.cc.
References CTX_data_active_object(), CTX_wm_region_view3d(), Object::mode, and OB_MODE_OBJECT.
Referenced by OBJECT_OT_transfer_mode().
|
static |
Definition at line 400 of file object_modes.cc.
References UnifiedPaintSettings::average_stroke_accum, UnifiedPaintSettings::average_stroke_counter, copy_v3_v3(), ED_view3d_autodist_simple(), and UnifiedPaintSettings::last_stroke_valid.
Referenced by object_transfer_mode_invoke().
|
static |
Definition at line 421 of file object_modes.cc.
References BKE_view_layer_base_deselect_all(), BKE_view_layer_base_find(), BKE_view_layer_base_select_and_set_active(), BKE_view_layer_synced_ensure(), CTX_data_view_layer(), ED_undo_group_begin(), ED_undo_group_end(), mode_set_ex(), OB_MODE_OBJECT, object_overlay_mode_transfer_animation_start(), wmOperator::ptr, wmOperator::reports, and RNA_boolean_get().
Referenced by object_transfer_mode_invoke().
|
static |
Definition at line 1180 of file object_transform.cc.
References apply_objects_internal(), object_transform_apply_exec(), OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), and rot.
Referenced by OBJECT_OT_transform_apply(), object_transform_apply_exec(), and object_transform_apply_invoke().
|
static |
Definition at line 1195 of file object_transform.cc.
References ALERT_ICON_WARNING, apply_objects_internal_can_multiuser(), apply_objects_internal_need_single_user(), context_active_object(), Object::data, IFACE_, object_transform_apply_exec(), object_transform_apply_invoke(), wmOperator::ptr, RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_confirm_ex().
Referenced by OBJECT_OT_transform_apply(), and object_transform_apply_invoke().
|
static |
Definition at line 2065 of file object_transform.cc.
References add_v3_v3(), add_v3_v3v3(), blender::ed::object::XFormAxisData::depth, ED_view3d_project_v3(), ED_view3d_win_to_ray(), float, blender::ed::object::XFormAxisData::is_depth_valid, isect_line_line_v3(), mul_v3_fl(), blender::ed::object::XFormAxisData::object_data, object_transform_axis_target_calc_depth_init(), blender::ed::object::XFormAxisData::prev, ViewContext::region, and blender::ed::object::XFormAxisData::vc.
Referenced by object_transform_axis_target_calc_depth_init(), and object_transform_axis_target_modal().
|
static |
Definition at line 2184 of file object_transform.cc.
References BKE_object_tfm_restore(), wmOperator::customdata, DEG_id_tag_update(), ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, blender::ed::object::XFormAxisData::object_data, object_transform_axis_target_cancel(), object_transform_axis_target_free_data(), and WM_event_add_notifier().
Referenced by OBJECT_OT_transform_axis_target(), object_transform_axis_target_cancel(), and object_transform_axis_target_modal().
|
static |
Definition at line 2111 of file object_transform.cc.
References wmOperator::customdata, blender::ed::object::XFormAxisData::depths, ED_view3d_depths_free(), MEM_freeN(), blender::ed::object::XFormAxisData::object_data, and object_transform_axis_target_free_data().
Referenced by object_transform_axis_target_cancel(), object_transform_axis_target_free_data(), and object_transform_axis_target_modal().
|
static |
Definition at line 2196 of file object_transform.cc.
References BKE_object_rot_to_mat3(), BKE_object_tfm_backup(), BKE_object_to_mat3(), BKE_report(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), wmOperator::customdata, depsgraph, ViewContext::depsgraph, blender::ed::object::XFormAxisData::depth, blender::ed::object::XFormAxisData::depths, dot_v3v3(), ED_region_tag_redraw(), ED_view3d_depth_override(), ED_view3d_viewcontext_init(), View3D::flag2, blender::ed::object::XFormAxisData::init_event, blender::ed::object::XFormAxisData::is_depth_valid, blender::ed::object::XFormAxisData::is_normal_valid, blender::ed::object::XFormAxisData::is_translate, ViewContext::mval, ViewContext::obact, blender::ed::object::XFormAxisData::object_data, object_is_target_compat(), object_transform_axis_target_invoke(), OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, blender::ed::object::XFormAxisData::prev, ViewContext::region, wmOperator::reports, RPT_WARNING, wmEvent::type, ViewContext::v3d, V3D_DEPTH_NO_GPENCIL, V3D_HIDE_OVERLAYS, blender::ed::object::XFormAxisData::vc, WM_event_add_modal_handler(), and WM_userdef_event_type_from_keymap_type().
Referenced by OBJECT_OT_transform_axis_target(), and object_transform_axis_target_invoke().
|
static |
Definition at line 2268 of file object_transform.cc.
References add_v3_v3(), copy_m3_m4(), copy_v3_v3(), wmOperator::customdata, DEG_id_tag_update(), blender::ed::object::XFormAxisData::depth, ViewDepths::depth_range, blender::ed::object::XFormAxisData::depths, dot_v3v3(), double(), ED_region_tag_redraw(), ED_view3d_depth_read_cached(), ED_view3d_depth_read_cached_normal(), ED_view3d_depth_unproject_v3(), ELEM, EVT_ESCKEY, EVT_PADENTER, EVT_RETKEY, fabsf, ViewDepths::h, Object::id, ID_RECALC_TRANSFORM, blender::ed::object::XFormAxisData::init_event, invert_m3_m3(), blender::ed::object::XFormAxisData::is_depth_valid, blender::ed::object::XFormAxisData::is_normal_valid, blender::ed::object::XFormAxisData::is_translate, blender::ed::object::XFormAxisItem::is_z_flip, ISMOUSE_BUTTON, KM_CTRL, KM_RELEASE, LEFTMOUSE, len_v3v3(), madd_v3_v3fl(), MOUSEMOVE, mul_m3_m3m3(), mul_m3_v3(), wmEvent::mval, NC_OBJECT, ND_TRANSFORM, blender::ed::object::XFormAxisData::normal, normalize_m3(), normalize_v3(), normalize_v3_v3(), blender::ed::object::XFormAxisItem::ob, object_apply_location(), blender::ed::object::XFormAxisData::object_data, object_orient_to_location(), object_transform_axis_target_calc_depth_init(), object_transform_axis_target_cancel(), object_transform_axis_target_free_data(), object_transform_axis_target_modal(), OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, blender::ed::object::XFormAxisData::prev, ViewContext::region, RIGHTMOUSE, blender::ed::object::XFormAxisItem::rot_mat, Object::runtime, wmEvent::type, wmEvent::val, blender::ed::object::XFormAxisData::vc, view3d_operator_needs_opengl(), ViewDepths::w, WM_event_add_notifier(), x, blender::ed::object::XFormAxisItem::xform_dist, and blender::ed::object::XFormAxisItem::xform_rot_offset.
Referenced by OBJECT_OT_transform_axis_target(), and object_transform_axis_target_modal().
|
static |
Alternate behavior for dropping an asset that positions the appended object(s).
Definition at line 4146 of file object_add.cc.
References BKE_id_is_editable(), BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_array_selected_objects_params(), BKE_view_layer_synced_ensure(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region_view3d(), ED_view3d_cursor3d_position(), ED_view3d_snap_selected_to_location(), Object::id, ID_OB, invert_m4(), location_from_view(), mul_m4_m4m4(), normalize_m4_m4(), object_add_drop_xy_get(), object_transform_to_mouse_exec(), object_xform_array_m4(), OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, wmOperator::reports, RNA_property_float_get_array(), RNA_property_is_set(), RNA_struct_find_property(), RPT_ERROR, V3D_AROUND_ACTIVE, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by OBJECT_OT_transform_to_mouse(), and object_transform_to_mouse_exec().
|
static |
Definition at line 3108 of file object_relations.cc.
References BKE_report(), Object::data, GS, ID_IM, ID_OB, id_us_min(), ID::name, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, wmOperator::reports, RNA_property_update(), RPT_ERROR, and UI_context_active_but_prop_get_templateID().
Referenced by OBJECT_OT_unlink_data().
|
static |
Definition at line 1447 of file object_edit.cc.
References CTX_data_scene(), motion_paths_recalc_visible(), NC_OBJECT, ND_POSE, ND_TRANSFORM, OBJECT_PATH_CALC_RANGE_FULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_paths_update_visible().
|
static |
Definition at line 1442 of file object_edit.cc.
Referenced by OBJECT_OT_paths_update_visible().
|
static |
Definition at line 1395 of file object_edit.cc.
References animviz_motionpath_compute_range(), animviz_verify_motionpaths(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), motion_paths_recalc_selected(), NC_OBJECT, ND_DRAW_ANIMVIZ, ND_POSE, ND_TRANSFORM, OBJECT_PATH_CALC_RANGE_FULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by OBJECT_OT_paths_update().
|
static |
Definition at line 1385 of file object_edit.cc.
References Object::avs, context_active_object(), ED_operator_object_active_editable(), MOTIONPATH_BAKE_HAS_PATHS, and bAnimVizSettings::path_bakeflag.
Referenced by OBJECT_OT_paths_update().
|
static |
Definition at line 41 of file object_volume.cc.
References add_generic_get_opts(), add_type(), OB_VOLUME, and rot.
Referenced by object_volume_add_exec(), and volume_import_exec().
|
static |
Definition at line 51 of file object_volume.cc.
References object_volume_add(), OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by OBJECT_OT_volume_add().
|
static |
Definition at line 32 of file object_warp.cc.
References axis_angle_to_mat4_single(), mul_m4_m4m4(), and mul_v3_m4v3().
Referenced by object_warp_verts_exec().
|
static |
Definition at line 78 of file object_warp.cc.
References add_v2_v2(), angle(), cosf, invert_m4_m4(), TransVert::loc, max, min, mul_v2_v2fl(), mul_v3_m4v3(), range, sinf, sub_v2_v2(), TransVertStore::transverts, TransVertStore::transverts_tot, and zero_v2().
Referenced by object_warp_verts_exec().
|
static |
Definition at line 53 of file object_warp.cc.
References dot_m4_v3_row_x(), FLT_MAX, TransVert::loc, max_ff(), min, min_ff(), TransVertStore::transverts, and TransVertStore::transverts_tot.
Referenced by object_warp_verts_exec().
|
static |
Definition at line 156 of file object_warp.cc.
References copy_m4_m4(), copy_v3_v3(), CTX_data_edit_object(), CTX_data_scene(), CTX_wm_region_view3d(), ED_transverts_create_from_obedit(), ED_transverts_free(), ED_transverts_update_obedit(), max, min, NC_OBJECT, ND_DRAW, object_warp_calc_view_matrix(), object_warp_transverts(), object_warp_transverts_minmax_x(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_float_get(), RNA_property_float_get(), RNA_property_float_get_array(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), shape_key_report_if_locked(), TM_ALL_JOINTS, TM_SKIP_HANDLES, TransVertStore::transverts, unit_m4(), RegionView3D::viewmat, and WM_event_add_notifier().
Referenced by TRANSFORM_OT_vertex_warp().
| void blender::ed::object::object_xform_array_m4 | ( | Object ** | objects, |
| uint | objects_len, | ||
| const float | matrix[4][4] ) |
Definition at line 439 of file object_utils.cc.
References add_v3_v3(), BKE_object_apply_mat4(), BKE_object_to_mat4(), BLI_gset_add(), BLI_gset_free(), BLI_gset_ptr_new_ex(), copy_m4_m4(), DEG_id_tag_update(), equals_m4m4(), Object::id, ID_RECALC_TRANSFORM, Object::loc, mul_m4_m4m4(), object_parent_in_set(), unit_m4(), and zero_v3().
Referenced by collection_drop_exec(), and object_transform_to_mouse_exec().
| void blender::ed::object::object_xform_skip_child_container_destroy | ( | XFormObjectSkipChild_Container * | xcs | ) |
Definition at line 230 of file object_utils.cc.
References BLI_ghash_free(), MEM_freeN(), and blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by freeTransObjectCustomData(), and object_clear_transform_generic_exec().
| void blender::ed::object::object_xform_skip_child_container_item_ensure | ( | XFormObjectSkipChild_Container * | xcs, |
| Object * | ob, | ||
| Object * | ob_parent_recurse, | ||
| int | mode ) |
Definition at line 236 of file object_utils.cc.
References BLI_ghash_ensure_p(), copy_m4_m4(), invert_m4_m4(), MEM_mallocN, blender::ed::object::XFormObjectSkipChild::mode, blender::ed::object::XFormObjectSkipChild::ob_parent_recurse, blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map, blender::ed::object::XFormObjectSkipChild::obmat_orig, Object::parent, blender::ed::object::XFormObjectSkipChild::parent_obmat_inv_orig, blender::ed::object::XFormObjectSkipChild::parent_obmat_orig, blender::ed::object::XFormObjectSkipChild::parent_recurse_obmat_orig, Object::parentinv, and blender::ed::object::XFormObjectSkipChild::parentinv_orig.
Referenced by xform_skip_child_container_item_ensure_from_array().
| void blender::ed::object::object_xform_skip_child_container_update_all | ( | XFormObjectSkipChild_Container * | xcs, |
| Main * | bmain, | ||
| Depsgraph * | depsgraph ) |
Definition at line 258 of file object_utils.cc.
References BKE_scene_graph_evaluated_ensure(), BLI_assert, BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, GHASH_ITER, Object::id, ID_RECALC_TRANSFORM, invert_m4(), invert_m4_m4(), blender::ed::object::XFormObjectSkipChild::mode, mul_m4_m4m4(), blender::ed::object::XFormObjectSkipChild::ob_parent_recurse, blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map, blender::ed::object::XFormObjectSkipChild::obmat_orig, Object::parent, blender::ed::object::XFormObjectSkipChild::parent_obmat_inv_orig, blender::ed::object::XFormObjectSkipChild::parent_obmat_orig, blender::ed::object::XFormObjectSkipChild::parent_recurse_obmat_orig, Object::parentinv, blender::ed::object::XFormObjectSkipChild::parentinv_orig, XFORM_OB_SKIP_CHILD_PARENT_APPLY, XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM, and XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT.
Referenced by object_clear_transform_generic_exec(), and trans_obchild_in_obmode_update_all().
|
static |
Definition at line 126 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_add(), BKE_collection_object_cyclic_check(), BKE_report(), collection_object_active_find_index(), context_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), FOREACH_COLLECTION_BEGIN, FOREACH_COLLECTION_END, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GROUP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, and WM_event_add_notifier().
Referenced by COLLECTION_OT_objects_add_active().
|
static |
Definition at line 616 of file object_bake.cc.
References CTX_data_scene(), multiresbake_image_exec(), NC_SCENE, ND_RENDER_RESULT, OPERATOR_CANCELLED, result, and WM_event_add_notifier().
Referenced by OBJECT_OT_bake_image().
|
static |
Catch escape key to cancel.
Definition at line 592 of file object_bake.cc.
References CTX_data_scene(), CTX_wm_manager(), EVT_ESCKEY, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmEvent::type, WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, and WM_jobs_test().
Referenced by OBJECT_OT_bake_image().
| Vector< Object * > blender::ed::object::objects_in_mode_or_selected | ( | bContext * | C, |
| bool(* | filter_fn )(const Object *ob, void *user_data), | ||
| void * | filter_user_data ) |
Return an array of objects:
Definition at line 145 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_array_from_objects_in_mode_params(), BKE_view_layer_array_selected_objects_params(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), GS, ID_OB, Object::mode, ID::name, OB_MODE_ALL_PAINT, OB_MODE_ALL_PAINT_GPENCIL, OB_MODE_ALL_SCULPT, OB_MODE_EDIT, OB_MODE_POSE, params, SpaceProperties::pinid, SPACE_EMPTY, SPACE_PROPERTIES, and SPACE_VIEW3D.
Referenced by object_array_for_shading_edit_mode_disabled(), object_array_for_shading_edit_mode_enabled(), and object_array_for_wpaint().
|
static |
Definition at line 216 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_remove(), BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), collection_object_active_find_index(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), DEG_relations_tag_update(), FOREACH_COLLECTION_BEGIN, FOREACH_COLLECTION_END, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GROUP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by COLLECTION_OT_objects_remove_active().
|
static |
Definition at line 352 of file object_select.cc.
References CTX_data_active_object(), CTX_data_edit_object(), and Object::mode.
Referenced by OBJECT_OT_select_all(), OBJECT_OT_select_by_type(), OBJECT_OT_select_grouped(), OBJECT_OT_select_linked(), OBJECT_OT_select_mirror(), OBJECT_OT_select_random(), and OBJECT_OT_select_same_collection().
|
static |
Definition at line 1262 of file object_constraint.cc.
References BKE_report(), CONSTRAINT_TYPE_OBJECTSOLVER, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, unit_m4(), and WM_event_add_notifier().
Referenced by CONSTRAINT_OT_objectsolver_clear_inverse(), and objectsolver_clear_inverse_invoke().
|
static |
Definition at line 1283 of file object_constraint.cc.
References edit_constraint_invoke_properties(), objectsolver_clear_inverse_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_objectsolver_clear_inverse().
|
static |
Definition at line 1202 of file object_constraint.cc.
References BKE_report(), CONSTRAINT_TYPE_OBJECTSOLVER, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), force_evaluation_if_constraint_disabled(), Object::id, ID::name, NC_OBJECT, ND_CONSTRAINT, OBJECTSOLVER_SET_INVERSE, OPERATOR_CANCELLED, OPERATOR_FINISHED, printf, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by CONSTRAINT_OT_objectsolver_set_inverse(), and objectsolver_set_inverse_invoke().
|
static |
Definition at line 1229 of file object_constraint.cc.
References edit_constraint_invoke_properties(), objectsolver_set_inverse_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_objectsolver_set_inverse().
|
static |
Definition at line 3458 of file object_modifier.cc.
References ADT_RECALC_ANIM, OceanModifierData::bakeend, OceanModifierData::bakestart, BKE_animsys_eval_context_construct(), BKE_animsys_evaluate_animdata(), BKE_modifier_path_relbase(), BKE_ocean_add(), BKE_ocean_bake(), BKE_ocean_free_modifier_cache(), BKE_ocean_init_cache(), BKE_ocean_init_from_modifier(), OceanModifierData::cached, OceanModifierData::cachepath, OceanModifierData::chop_amount, context_active_object(), CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), DEG_id_tag_update(), depsgraph, OceanCache::duration, edit_modifier_property_get(), eModifierType_Ocean, OceanModifierData::foam_coverage, OceanModifierData::foam_fade, free(), Object::id, ID_RECALC_GEOMETRY, MEM_mallocN, NC_OBJECT, ND_MODIFIER, blender::ed::object::OceanBakeJob::ocean, ocean_bake_exec(), oceanbake_endjob(), oceanbake_free(), oceanbake_startjob(), OceanModifierData::oceancache, blender::ed::object::OceanBakeJob::och, blender::ed::object::OceanBakeJob::omd, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::object::OceanBakeJob::owner, wmOperator::ptr, OceanModifierData::resolution, RNA_boolean_get(), OceanCache::time, OceanModifierData::time, OceanModifierData::wave_scale, WM_event_add_notifier(), WM_JOB_PROGRESS, WM_JOB_TYPE_OBJECT_SIM_OCEAN, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), and WM_jobs_timer().
Referenced by OBJECT_OT_ocean_bake(), ocean_bake_exec(), and ocean_bake_invoke().
|
static |
Definition at line 3551 of file object_modifier.cc.
References edit_modifier_invoke_properties(), ocean_bake_exec(), ocean_bake_invoke(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_ocean_bake(), and ocean_bake_invoke().
|
static |
Definition at line 3379 of file object_modifier.cc.
References edit_modifier_poll_generic(), and ocean_bake_poll().
Referenced by OBJECT_OT_ocean_bake(), and ocean_bake_poll().
|
static |
Definition at line 3402 of file object_modifier.cc.
References G, and oceanbake_breakjob().
Referenced by oceanbake_breakjob(), and oceanbake_update().
|
static |
Definition at line 3442 of file object_modifier.cc.
References BKE_ocean_free(), OceanModifierData::cached, DEG_id_tag_update(), Object::id, ID_RECALC_SYNC_TO_EVAL, blender::ed::object::OceanBakeJob::ocean, oceanbake_endjob(), OceanModifierData::oceancache, blender::ed::object::OceanBakeJob::och, blender::ed::object::OceanBakeJob::omd, and blender::ed::object::OceanBakeJob::owner.
Referenced by ocean_bake_exec(), and oceanbake_endjob().
|
static |
Definition at line 3395 of file object_modifier.cc.
References oceanbake_free().
Referenced by ocean_bake_exec(), and oceanbake_free().
|
static |
Definition at line 3426 of file object_modifier.cc.
References BKE_ocean_bake(), blender::ed::object::OceanBakeJob::do_update, wmJobWorkerStatus::do_update, G, blender::ed::object::OceanBakeJob::ocean, oceanbake_startjob(), oceanbake_update(), blender::ed::object::OceanBakeJob::och, blender::ed::object::OceanBakeJob::progress, wmJobWorkerStatus::progress, blender::ed::object::OceanBakeJob::stop, and wmJobWorkerStatus::stop.
Referenced by ocean_bake_exec(), and oceanbake_startjob().
|
static |
Definition at line 3414 of file object_modifier.cc.
References blender::ed::object::OceanBakeJob::do_update, oceanbake_breakjob(), oceanbake_update(), and blender::ed::object::OceanBakeJob::progress.
Referenced by oceanbake_startjob(), and oceanbake_update().
| void blender::ed::object::operatormacros_object | ( | ) |
Definition at line 290 of file object_ops.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
| void blender::ed::object::operatortypes_object | ( | ) |
Definition at line 30 of file object_ops.cc.
References collection_exporter_register(), COLLECTION_OT_create(), COLLECTION_OT_objects_add_active(), COLLECTION_OT_objects_remove(), COLLECTION_OT_objects_remove_active(), COLLECTION_OT_objects_remove_all(), CONSTRAINT_OT_apply(), CONSTRAINT_OT_childof_clear_inverse(), CONSTRAINT_OT_childof_set_inverse(), CONSTRAINT_OT_copy(), CONSTRAINT_OT_copy_to_selected(), CONSTRAINT_OT_delete(), CONSTRAINT_OT_followpath_path_animate(), CONSTRAINT_OT_limitdistance_reset(), CONSTRAINT_OT_move_down(), CONSTRAINT_OT_move_to_index(), CONSTRAINT_OT_move_up(), CONSTRAINT_OT_objectsolver_clear_inverse(), CONSTRAINT_OT_objectsolver_set_inverse(), CONSTRAINT_OT_stretchto_reset(), object_modifier_add_asset_register(), OBJECT_OT_add(), OBJECT_OT_add_named(), OBJECT_OT_armature_add(), OBJECT_OT_bake(), OBJECT_OT_bake_image(), OBJECT_OT_camera_add(), OBJECT_OT_clear_override_library(), OBJECT_OT_collection_add(), OBJECT_OT_collection_external_asset_drop(), OBJECT_OT_collection_instance_add(), OBJECT_OT_collection_link(), OBJECT_OT_collection_objects_select(), OBJECT_OT_collection_remove(), OBJECT_OT_collection_unlink(), OBJECT_OT_constraint_add(), OBJECT_OT_constraint_add_with_targets(), OBJECT_OT_constraints_clear(), OBJECT_OT_constraints_copy(), OBJECT_OT_convert(), OBJECT_OT_correctivesmooth_bind(), OBJECT_OT_curves_empty_hair_add(), OBJECT_OT_curves_random_add(), OBJECT_OT_data_instance_add(), OBJECT_OT_data_transfer(), OBJECT_OT_datalayout_transfer(), OBJECT_OT_delete(), OBJECT_OT_drop_geometry_nodes(), OBJECT_OT_drop_named_material(), OBJECT_OT_duplicate(), OBJECT_OT_duplicates_make_real(), OBJECT_OT_editmode_toggle(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_empty_image_add(), OBJECT_OT_explode_refresh(), OBJECT_OT_forcefield_toggle(), blender::ed::object::bake_simulation::OBJECT_OT_geometry_node_bake_delete_single(), blender::ed::object::bake_simulation::OBJECT_OT_geometry_node_bake_pack_single(), blender::ed::object::bake_simulation::OBJECT_OT_geometry_node_bake_single(), blender::ed::object::bake_simulation::OBJECT_OT_geometry_node_bake_unpack_single(), OBJECT_OT_geometry_node_tree_copy_assign(), OBJECT_OT_geometry_nodes_input_attribute_toggle(), OBJECT_OT_grease_pencil_add(), OBJECT_OT_grease_pencil_dash_modifier_segment_add(), OBJECT_OT_grease_pencil_dash_modifier_segment_move(), OBJECT_OT_grease_pencil_dash_modifier_segment_remove(), OBJECT_OT_grease_pencil_time_modifier_segment_add(), OBJECT_OT_grease_pencil_time_modifier_segment_move(), OBJECT_OT_grease_pencil_time_modifier_segment_remove(), OBJECT_OT_hide_collection(), OBJECT_OT_hide_view_clear(), OBJECT_OT_hide_view_set(), OBJECT_OT_hook_add_newob(), OBJECT_OT_hook_add_selob(), OBJECT_OT_hook_assign(), OBJECT_OT_hook_recenter(), OBJECT_OT_hook_remove(), OBJECT_OT_hook_reset(), OBJECT_OT_hook_select(), OBJECT_OT_join(), OBJECT_OT_join_shapes(), OBJECT_OT_laplaciandeform_bind(), OBJECT_OT_light_add(), OBJECT_OT_light_linking_blocker_collection_new(), OBJECT_OT_light_linking_blockers_link(), OBJECT_OT_light_linking_blockers_select(), OBJECT_OT_light_linking_receiver_collection_new(), OBJECT_OT_light_linking_receivers_link(), OBJECT_OT_light_linking_receivers_select(), OBJECT_OT_light_linking_unlink_from_collection(), OBJECT_OT_lightprobe_add(), OBJECT_OT_link_to_collection(), OBJECT_OT_location_clear(), OBJECT_OT_make_links_data(), OBJECT_OT_make_links_scene(), OBJECT_OT_make_local(), OBJECT_OT_make_override_library(), OBJECT_OT_make_single_user(), OBJECT_OT_meshdeform_bind(), OBJECT_OT_metaball_add(), OBJECT_OT_mode_set(), OBJECT_OT_mode_set_with_submode(), OBJECT_OT_modifier_add(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_apply_as_shapekey(), OBJECT_OT_modifier_convert(), OBJECT_OT_modifier_copy(), OBJECT_OT_modifier_copy_to_selected(), OBJECT_OT_modifier_move_down(), OBJECT_OT_modifier_move_to_index(), OBJECT_OT_modifier_move_up(), OBJECT_OT_modifier_remove(), OBJECT_OT_modifier_set_active(), OBJECT_OT_modifiers_clear(), OBJECT_OT_modifiers_copy_to_selected(), OBJECT_OT_move_to_collection(), OBJECT_OT_multires_base_apply(), OBJECT_OT_multires_external_pack(), OBJECT_OT_multires_external_save(), OBJECT_OT_multires_higher_levels_delete(), OBJECT_OT_multires_rebuild_subdiv(), OBJECT_OT_multires_reshape(), OBJECT_OT_multires_subdivide(), OBJECT_OT_multires_unsubdivide(), OBJECT_OT_ocean_bake(), OBJECT_OT_origin_clear(), OBJECT_OT_origin_set(), OBJECT_OT_parent_clear(), OBJECT_OT_parent_inverse_apply(), OBJECT_OT_parent_no_inverse_set(), OBJECT_OT_parent_set(), OBJECT_OT_paths_calculate(), OBJECT_OT_paths_clear(), OBJECT_OT_paths_update(), OBJECT_OT_paths_update_visible(), OBJECT_OT_pointcloud_add(), OBJECT_OT_posemode_toggle(), OBJECT_OT_quadriflow_remesh(), OBJECT_OT_reset_override_library(), OBJECT_OT_rotation_clear(), OBJECT_OT_scale_clear(), OBJECT_OT_select_all(), OBJECT_OT_select_by_type(), OBJECT_OT_select_grouped(), OBJECT_OT_select_less(), OBJECT_OT_select_linked(), OBJECT_OT_select_mirror(), OBJECT_OT_select_more(), OBJECT_OT_select_random(), OBJECT_OT_select_same_collection(), OBJECT_OT_shade_auto_smooth(), OBJECT_OT_shade_flat(), OBJECT_OT_shade_smooth(), OBJECT_OT_shade_smooth_by_angle(), OBJECT_OT_shaderfx_add(), OBJECT_OT_shaderfx_copy(), OBJECT_OT_shaderfx_move_down(), OBJECT_OT_shaderfx_move_to_index(), OBJECT_OT_shaderfx_move_up(), OBJECT_OT_shaderfx_remove(), OBJECT_OT_shape_key_add(), OBJECT_OT_shape_key_clear(), OBJECT_OT_shape_key_lock(), OBJECT_OT_shape_key_mirror(), OBJECT_OT_shape_key_move(), OBJECT_OT_shape_key_remove(), OBJECT_OT_shape_key_retime(), blender::ed::object::bake_simulation::OBJECT_OT_simulation_nodes_cache_bake(), blender::ed::object::bake_simulation::OBJECT_OT_simulation_nodes_cache_calculate_to_frame(), blender::ed::object::bake_simulation::OBJECT_OT_simulation_nodes_cache_delete(), OBJECT_OT_skin_armature_create(), OBJECT_OT_skin_loose_mark_clear(), OBJECT_OT_skin_radii_equalize(), OBJECT_OT_skin_root_mark(), OBJECT_OT_speaker_add(), OBJECT_OT_surfacedeform_bind(), OBJECT_OT_text_add(), OBJECT_OT_track_clear(), OBJECT_OT_track_set(), OBJECT_OT_transfer_mode(), OBJECT_OT_transform_apply(), OBJECT_OT_transform_axis_target(), OBJECT_OT_transform_to_mouse(), OBJECT_OT_unlink_data(), OBJECT_OT_vertex_group_add(), OBJECT_OT_vertex_group_assign(), OBJECT_OT_vertex_group_assign_new(), OBJECT_OT_vertex_group_clean(), OBJECT_OT_vertex_group_copy(), OBJECT_OT_vertex_group_copy_to_selected(), OBJECT_OT_vertex_group_deselect(), OBJECT_OT_vertex_group_invert(), OBJECT_OT_vertex_group_levels(), OBJECT_OT_vertex_group_limit_total(), OBJECT_OT_vertex_group_lock(), OBJECT_OT_vertex_group_mirror(), OBJECT_OT_vertex_group_move(), OBJECT_OT_vertex_group_normalize(), OBJECT_OT_vertex_group_normalize_all(), OBJECT_OT_vertex_group_quantize(), OBJECT_OT_vertex_group_remove(), OBJECT_OT_vertex_group_remove_from(), OBJECT_OT_vertex_group_select(), OBJECT_OT_vertex_group_set_active(), OBJECT_OT_vertex_group_smooth(), OBJECT_OT_vertex_group_sort(), OBJECT_OT_vertex_parent_set(), OBJECT_OT_vertex_weight_copy(), OBJECT_OT_vertex_weight_delete(), OBJECT_OT_vertex_weight_normalize_active_vertex(), OBJECT_OT_vertex_weight_paste(), OBJECT_OT_vertex_weight_set_active(), OBJECT_OT_visual_transform_apply(), OBJECT_OT_volume_add(), OBJECT_OT_volume_import(), OBJECT_OT_voxel_remesh(), OBJECT_OT_voxel_size_edit(), POSE_OT_constraint_add(), POSE_OT_constraint_add_with_targets(), POSE_OT_constraints_clear(), POSE_OT_constraints_copy(), POSE_OT_ik_add(), POSE_OT_ik_clear(), TRANSFORM_OT_vertex_random(), TRANSFORM_OT_vertex_warp(), and WM_operatortype_append().
Definition at line 374 of file object_relations.cc.
References BKE_object_apply_mat4(), CLEAR_PARENT_ALL, CLEAR_PARENT_INVERSE, CLEAR_PARENT_KEEP_TRANSFORM, DEG_id_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, object_remove_parent_deform_modifiers(), Object::parent, Object::parentinv, PAROBJECT, Object::parsubstr, Object::partype, and unit_m4().
Referenced by parent_clear_exec(), and blender::ed::outliner::parent_clear_invoke().
|
static |
Definition at line 417 of file object_relations.cc.
References CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), DEG_relations_tag_update(), NC_OBJECT, ND_PARENT, ND_TRANSFORM, OPERATOR_FINISHED, parent_clear(), wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_clear().
|
static |
Definition at line 1067 of file object_relations.cc.
References BKE_object_apply_parent_inverse(), BKE_object_parent_loop_check(), BKE_report(), context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_PARENT, ND_TRANSFORM, OPERATOR_FINISHED, PAROBJECT, Object::partype, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, unit_m4(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_no_inverse_set().
| void blender::ed::object::parent_set | ( | Object * | ob, |
| Object * | parent, | ||
| int | type, | ||
| const char * | substr ) |
Definition at line 458 of file object_relations.cc.
References BKE_object_parent_loop_check(), BLI_assert, ELEM, PARBONE, Object::parent, Object::parentinv, PAROBJECT, PARSKEL, Object::parsubstr, PARTYPE, Object::partype, PARVERT1, PARVERT3, STRNCPY, and unit_m4().
| bool blender::ed::object::parent_set | ( | ReportList * | reports, |
| const bContext * | C, | ||
| Scene * | scene, | ||
| Object *const | ob, | ||
| Object *const | par, | ||
| int | partype, | ||
| bool | xmirror, | ||
| bool | keep_transform, | ||
| const int | vert_par[3] ) |
Set the object's parent, return true if successful.
Definition at line 498 of file object_relations.cc.
References blender::animrig::action_fcurve_ensure(), blender::ed::greasepencil::add_armature_automatic_weights(), blender::ed::greasepencil::add_armature_envelope_weights(), blender::ed::greasepencil::add_armature_vertex_groups(), add_fmodifier(), ARM_GROUPS_AUTO, ARM_GROUPS_ENVELOPE, ARM_GROUPS_NAME, FCurve::bezt, BKE_constraint_add_for_object(), BKE_constraint_target_matrix_get(), BKE_displist_make_curveTypes(), BKE_modifiers_is_deformed_by_armature(), BKE_modifiers_is_deformed_by_curve(), BKE_modifiers_is_deformed_by_lattice(), BKE_object_apply_mat4(), BKE_object_calc_parent(), BKE_object_parent_loop_check(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_report(), BLI_assert_msg, bPoseChannel::bone, BONE_RELATIVE_PARENTING, CONSTRAINT_OBTYPE_OBJECT, CONSTRAINT_TYPE_FOLLOWPATH, copy_v3_v3(), copy_v3_v3_int(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CU_FOLLOW, CU_PATH, bConstraint::data, data, Object::data, DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, ED_object_vgroup_calc_from_armature(), ELEM, eModifierType_Armature, eModifierType_Curve, eModifierType_GreasePencilArmature, eModifierType_Lattice, ListBase::first, Bone::flag, Curve::flag, FMODIFIER_TYPE_GENERATOR, FCurve::fpt, Curve::id, Object::id, blender::animrig::id_action_ensure(), ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, invert_m4_m4(), Object::loc, modifier_add(), FCurve::modifiers, bPoseChannel::name, OB_ARMATURE, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, OB_SURF, Object::par1, PAR_ARMATURE, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, PAR_ARMATURE_NAME, PAR_BONE, PAR_BONE_RELATIVE, PAR_CURVE, PAR_FOLLOW, PAR_LATTICE, PAR_OBJECT, PAR_PATH_CONST, PAR_VERTEX, PAR_VERTEX_TRI, PARBONE, Object::parent, Object::parentinv, PAROBJECT, Object::parsubstr, Object::partype, PARVERT1, PARVERT3, ptr, RNA_id_pointer_create(), RPT_ERROR, Object::runtime, STRNCPY, sub_v3_v3v3(), bFollowPathConstraint::tar, Object::type, unit_m4(), and WM_cursor_wait().
Referenced by bc_set_parent(), object_curves_empty_hair_add_exec(), blender::ed::outliner::parent_drop_set_parents(), parent_set_nonvertex_parent(), and parent_set_vertex_parent_with_kdtree().
|
static |
Definition at line 878 of file object_relations.cc.
References context_active_object(), CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), ELEM, NC_OBJECT, ND_PARENT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, PAR_VERTEX, PAR_VERTEX_TRI, parent_set_nonvertex_parent(), parent_set_vertex_parent(), wmOperator::ptr, blender::ed::object::ParentingContext::reports, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_set(), and parent_set_invoke().
|
static |
Definition at line 1005 of file object_relations.cc.
References parent_set_exec(), parent_set_invoke_menu(), wmOperatorType::prop, wmOperator::ptr, RNA_property_is_set(), and wmOperator::type.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 909 of file object_relations.cc.
References context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, ELEM, IFACE_, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, OB_TYPE_SUPPORT_PARVERT, OPERATOR_INTERFACE, ot, PAR_ARMATURE, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, PAR_ARMATURE_NAME, PAR_BONE, PAR_BONE_RELATIVE, PAR_CURVE, PAR_FOLLOW, PAR_LATTICE, PAR_OBJECT, PAR_PATH_CONST, PAR_VERTEX, PAR_VERTEX_TRI, RNA_boolean_set(), RNA_enum_set(), Object::type, UI_ITEM_NONE, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemBooleanO(), uiItemEnumO_ptr(), uiItemFullO_ptr(), uiItemO(), and WM_OP_EXEC_DEFAULT.
Referenced by parent_set_invoke().
|
static |
Definition at line 798 of file object_relations.cc.
References CTX_DATA_BEGIN, CTX_DATA_END, blender::ed::object::ParentingContext::keep_transform, blender::ed::object::ParentingContext::par, parent_set(), blender::ed::object::ParentingContext::partype, blender::ed::object::ParentingContext::reports, blender::ed::object::ParentingContext::scene, and blender::ed::object::ParentingContext::xmirror.
Referenced by parent_set_exec().
|
static |
Definition at line 1013 of file object_relations.cc.
References ELEM, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, wmOperator::ptr, RNA_enum_get(), RNA_property_identifier(), and STREQ.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 763 of file object_relations.cc.
References BLI_assert, min_iii(), tree, UNPACK3, and UNUSED_VARS.
Referenced by parent_set_vertex_parent_with_kdtree().
|
static |
Definition at line 856 of file object_relations.cc.
References BKE_object_as_kdtree(), BKE_report(), BLI_assert, CTX_data_ensure_evaluated_depsgraph(), DEG_get_evaluated_object(), depsgraph, blender::ed::object::ParentingContext::is_vertex_tri, blender::ed::object::ParentingContext::par, parent_set_vertex_parent_with_kdtree(), blender::ed::object::ParentingContext::reports, RPT_ERROR, and tree.
Referenced by parent_set_exec().
|
static |
Definition at line 825 of file object_relations.cc.
References CTX_DATA_BEGIN, CTX_DATA_END, blender::ed::object::ParentingContext::is_vertex_tri, blender::ed::object::ParentingContext::keep_transform, blender::ed::object::ParentingContext::par, parent_set(), parent_set_vert_find(), blender::ed::object::ParentingContext::partype, blender::ed::object::ParentingContext::reports, blender::ed::object::ParentingContext::scene, tree, and blender::ed::object::ParentingContext::xmirror.
Referenced by parent_set_vertex_parent().
|
static |
Definition at line 2496 of file object_constraint.cc.
References BKE_object_pose_armature_get(), BKE_report(), constraint_active_list(), constraint_add_exec(), context_active_object(), wmOperator::idname, OPERATOR_CANCELLED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and RPT_ERROR.
Referenced by POSE_OT_constraint_add(), and POSE_OT_constraint_add_with_targets().
|
static |
Definition at line 2108 of file object_constraint.cc.
References BKE_constraints_copy(), BKE_pose_tag_recalc(), BKE_report(), bPoseChannel::constflag, bPoseChannel::constraints, CTX_data_active_pose_bone(), CTX_DATA_BEGIN_WITH_ID, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ListBase::first, ID_RECALC_GEOMETRY, NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by POSE_OT_constraints_copy().
Get the constraints for the active pose bone. Bone may be on an inactive bone-layer (unlike constraint_active_list, such constraints are not excluded here).
Definition at line 98 of file object_constraint.cc.
References bPoseChannel::constraints, CTX_data_pointer_get(), and PointerRNA::data.
Referenced by edit_constraint_property_get(), and uiTemplateConstraints().
|
static |
Definition at line 2025 of file object_constraint.cc.
References BKE_constraints_free(), CTX_DATA_BEGIN_WITH_ID, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_RECALC_GEOMETRY, NA_REMOVED, NC_OBJECT, ND_CONSTRAINT, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by POSE_OT_constraints_clear().
|
static |
Definition at line 2708 of file object_constraint.cc.
References constraint_active_list(), constraint_add_exec(), CONSTRAINT_TYPE_KINEMATIC, CTX_data_active_object(), wmOperator::ptr, and RNA_boolean_get().
Referenced by POSE_OT_ik_add().
|
static |
Definition at line 2647 of file object_constraint.cc.
References BKE_object_pose_armature_get(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_report(), CONSTRAINT_TYPE_KINEMATIC, bPoseChannel::constraints, CTX_data_active_object(), ELEM, ListBase::first, get_new_constraint_target(), IFACE_, bConstraint::next, OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmOperator::reports, RPT_ERROR, bConstraint::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), and uiItemBooleanO().
Referenced by POSE_OT_ik_add().
|
static |
Definition at line 2750 of file object_constraint.cc.
References BKE_constraint_remove(), CONSTRAINT_TYPE_KINEMATIC, CTX_DATA_BEGIN_WITH_ID, CTX_DATA_END, DEG_id_tag_update(), ID_RECALC_GEOMETRY, NA_REMOVED, NC_OBJECT, ND_CONSTRAINT, bConstraint::next, next, OPERATOR_FINISHED, PCHAN_HAS_IK, PCHAN_HAS_NO_TARGET, bConstraint::type, and WM_event_add_notifier().
Referenced by POSE_OT_ik_clear().
| void blender::ed::object::POSE_OT_constraint_add | ( | wmOperatorType * | ot | ) |
Definition at line 2596 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_constraint_add_exec(), wmOperatorType::prop, RNA_def_enum(), rna_enum_constraint_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraint_add_with_targets | ( | wmOperatorType * | ot | ) |
Definition at line 2615 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_constraint_add_exec(), wmOperatorType::prop, RNA_def_enum(), rna_enum_constraint_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraints_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2051 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_local_editable_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and pose_constraints_clear_exec().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraints_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2146 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and pose_constraint_copy_exec().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_ik_add | ( | wmOperatorType * | ot | ) |
Definition at line 2719 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_ik_add_exec(), pose_ik_add_invoke(), RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_ik_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2783 of file object_constraint.cc.
References wmOperatorType::description, ED_operator_object_active_local_editable_posemode_exclusive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and pose_ik_clear_exec().
Referenced by operatortypes_object().
|
static |
Definition at line 1016 of file object_edit.cc.
References BKE_id_is_editable(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), CTX_data_active_base(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_message_bus(), CTX_wm_view3d(), ED_object_posemode_enter(), ED_object_posemode_enter_ex(), ED_object_posemode_exit(), ED_object_posemode_exit_ex(), editmode_exit_ex(), EM_FREEDATA, FOREACH_OBJECT_BEGIN, FOREACH_OBJECT_END, FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, G, Object::id, Object::mode, mode_compat_set(), OB_ARMATURE, OB_MODE_OBJECT, OB_MODE_POSE, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::reports, Object::type, WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by OBJECT_OT_posemode_toggle().
| void blender::ed::object::posemode_set_for_weight_paint | ( | bContext * | C, |
| Main * | bmain, | ||
| Object * | ob, | ||
| bool | is_mode_set ) |
Definition at line 358 of file object_modes.cc.
References BKE_modifiers_get_virtual_modifierlist(), ed_object_posemode_set_for_weight_paint_ex(), eModifierType_Armature, ModifierData::next, ArmatureModifierData::object, and ModifierData::type.
Referenced by blender::ed::greasepencil::weightmode_toggle_exec(), and wpaint_mode_toggle_exec().
|
static |
Definition at line 739 of file object_remesh.cc.
References G, and blender::ed::object::QuadriFlowJob::success.
Referenced by quadriflow_update_job().
|
static |
Definition at line 1016 of file object_remesh.cc.
References BKE_mesh_calc_area(), CTX_data_active_object(), Object::data, wmOperator::ptr, QUADRIFLOW_REMESH_EDGE_LENGTH, QUADRIFLOW_REMESH_RATIO, RNA_enum_get(), RNA_float_get(), RNA_float_set(), and RNA_int_set().
Referenced by OBJECT_OT_quadriflow_remesh(), and quadriflow_poll_property().
|
static |
Definition at line 917 of file object_remesh.cc.
References DEG_id_tag_update(), G_MAIN, Object::id, ID_RECALC_GEOMETRY, blender::ed::object::QuadriFlowJob::is_nonblocking_job, blender::ed::object::QuadriFlowJob::owner, RPT_ERROR, RPT_INFO, RPT_WARNING, blender::ed::object::QuadriFlowJob::success, WM_report(), WM_reportf(), and WM_set_locked_interface().
Referenced by quadriflow_remesh_exec().
|
static |
Definition at line 732 of file object_remesh.cc.
References MEM_freeN().
Referenced by quadriflow_remesh_exec().
|
static |
Definition at line 1049 of file object_remesh.cc.
References PROP_EDITABLE, wmOperator::ptr, quadriflow_check(), QUADRIFLOW_REMESH_EDGE_LENGTH, QUADRIFLOW_REMESH_FACES, QUADRIFLOW_REMESH_RATIO, RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_enum_get(), RNA_float_get(), RNA_property_identifier(), STREQ, and STRPREFIX.
Referenced by OBJECT_OT_quadriflow_remesh().
|
static |
Definition at line 946 of file object_remesh.cc.
References BKE_mesh_from_object(), CTX_data_active_object(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), wmOperator::flag, blender::ed::object::QuadriFlowJob::is_nonblocking_job, MEM_mallocN, NC_GEOM, ND_DATA, blender::ed::object::QuadriFlowJob::op, OPERATOR_FINISHED, blender::ed::object::QuadriFlowJob::owner, blender::ed::object::QuadriFlowJob::preserve_attributes, wmOperator::ptr, quadriflow_end_job(), quadriflow_free_job(), quadriflow_start_job(), RNA_boolean_get(), RNA_int_get(), blender::ed::object::QuadriFlowJob::scene, blender::ed::object::QuadriFlowJob::seed, blender::ed::object::QuadriFlowJob::smooth_normals, blender::ed::object::QuadriFlowJob::symmetry_axes, blender::ed::object::QuadriFlowJob::target_faces, blender::ed::object::QuadriFlowJob::use_mesh_curvature, blender::ed::object::QuadriFlowJob::use_mesh_symmetry, blender::ed::object::QuadriFlowJob::use_preserve_boundary, blender::ed::object::QuadriFlowJob::use_preserve_sharp, WM_JOB_PROGRESS, WM_JOB_TYPE_QUADRIFLOW_REMESH, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), WM_jobs_timer(), and WM_set_locked_interface().
Referenced by OBJECT_OT_quadriflow_remesh().
|
static |
Definition at line 1100 of file object_remesh.cc.
References IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by OBJECT_OT_quadriflow_remesh().
|
static |
Definition at line 834 of file object_remesh.cc.
References BKE_id_free(), BKE_mesh_batch_cache_dirty_tag(), BKE_MESH_BATCH_DIRTY_ALL, BKE_mesh_copy_for_eval(), BKE_mesh_nomain_to_mesh(), BKE_mesh_remesh_quadriflow(), BKE_sculptsession_free_pbvh(), Object::data, blender::ed::object::QuadriFlowJob::do_update, wmJobWorkerStatus::do_update, G, blender::ed::sculpt_paint::undo::geometry_begin(), blender::ed::sculpt_paint::undo::geometry_end(), blender::ed::object::QuadriFlowJob::is_nonblocking_job, mesh_is_manifold_consistent(), blender::bke::mesh_remesh_reproject_attributes(), blender::bke::mesh_smooth_set(), Object::mode, OB_MODE_SCULPT, blender::ed::object::QuadriFlowJob::op, blender::ed::object::QuadriFlowJob::owner, blender::ed::object::QuadriFlowJob::preserve_attributes, blender::ed::object::QuadriFlowJob::progress, wmJobWorkerStatus::progress, quadriflow_update_job(), remesh_symmetry_bisect(), remesh_symmetry_mirror(), blender::ed::object::QuadriFlowJob::scene, blender::ed::object::QuadriFlowJob::seed, blender::ed::object::QuadriFlowJob::smooth_normals, blender::ed::object::QuadriFlowJob::stop, wmJobWorkerStatus::stop, blender::ed::object::QuadriFlowJob::success, blender::ed::object::QuadriFlowJob::symmetry_axes, blender::ed::object::QuadriFlowJob::target_faces, blender::ed::object::QuadriFlowJob::use_mesh_curvature, blender::ed::object::QuadriFlowJob::use_mesh_symmetry, blender::ed::object::QuadriFlowJob::use_preserve_boundary, and blender::ed::object::QuadriFlowJob::use_preserve_sharp.
Referenced by quadriflow_remesh_exec().
|
static |
Called by ocean-bake, wmJob sends notifier.
Definition at line 757 of file object_remesh.cc.
References blender::ed::object::QuadriFlowJob::do_update, blender::ed::object::QuadriFlowJob::progress, and quadriflow_break_job().
Referenced by quadriflow_start_job().
|
static |
Definition at line 772 of file object_remesh.cc.
References BKE_id_free(), BKE_mesh_copy_for_eval(), BKE_mesh_mirror_bisect_on_mirror_plane_for_modifier(), MirrorModifierData::flag, MOD_MIR_BISECT_AXIS_X, QUADRIFLOW_MIRROR_BISECT_TOLERANCE, MirrorModifierData::tolerance, and zero_v3().
Referenced by quadriflow_start_job().
|
static |
Definition at line 806 of file object_remesh.cc.
References BKE_id_free(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), MirrorModifierData::flag, MOD_MIR_AXIS_X, QUADRIFLOW_MIRROR_BISECT_TOLERANCE, and MirrorModifierData::tolerance.
Referenced by quadriflow_start_job().
|
static |
Definition at line 973 of file object_modifier.cc.
References ATTR_DOMAIN_MASK_COLOR, CD_MASK_COLOR_ALL, MEM_SAFE_FREE, and meta_data_matches().
Referenced by modifier_apply_obdata().
|
static |
Definition at line 2680 of file object_relations.cc.
References BASE_SELECTED, CTX_data_active_base(), ED_operator_objectmode(), Base::flag, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, and Base::object.
Referenced by OBJECT_OT_clear_override_library(), and OBJECT_OT_reset_override_library().
|
static |
Definition at line 2695 of file object_relations.cc.
References BKE_lib_override_library_id_reset(), CTX_data_main(), CTX_data_view_layer(), CTX_wm_view3d(), FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_reset_override_library().
|
static |
Definition at line 228 of file object_hook.cc.
References add_v3_v3(), CU_BEZIER, BezTriple::f1, BPoint::f1, BezTriple::f2, BezTriple::f3, LISTBASE_FOREACH, MEM_mallocN, mul_v3_fl(), object_editcurve_get(), SELECT, BezTriple::vec, BPoint::vec, and zero_v3().
Referenced by object_hook_index_array().
|
static |
Definition at line 158 of file object_hook.cc.
References add_v3_v3(), Lattice::def, BPoint::f1, BPoint::hide, MEM_mallocN, mul_v3_fl(), Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, SELECT, BPoint::vec, and zero_v3().
Referenced by object_hook_index_array().
|
static |
Definition at line 59 of file object_hook.cc.
References add_v3_v3(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, BMVert::co, MEM_mallocN, mul_v3_fl(), and zero_v3().
Referenced by object_hook_index_array().
|
static |
Definition at line 96 of file object_hook.cc.
References add_v3_v3(), BKE_defvert_find_weight(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BLI_findlink(), BLI_strncpy(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MDEFORMVERT, BMVert::co, CustomData_get_offset(), mul_v3_fl(), bDeformGroup::name, and BMesh::vdata.
Referenced by object_hook_index_array().
|
static |
Definition at line 766 of file object_vgroup.cc.
References ptr, vgroup_selection_itemf_helper(), WT_VGROUP_ACTIVE, and WT_VGROUP_MASK_ALL.
Referenced by vgroup_operator_subset_select_props().
|
static |
Definition at line 758 of file object_vgroup.cc.
References ptr, vgroup_selection_itemf_helper(), and WT_VGROUP_MASK_ALL.
Referenced by vgroup_operator_subset_select_props().
Definition at line 190 of file add_modifier_assets.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), all_loading_finished(), build_catalog_tree(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), context_active_object(), CTX_data_main(), blender::ed::asset::draw_menu_for_catalog(), ELEM, blender::asset_system::AssetCatalogTreeItem::get_name(), get_static_item_tree(), IFACE_, Menu::layout, OB_CURVES_LEGACY, OB_FONT, OB_LATTICE, OB_MESH, OB_SURF, OB_VOLUME, tree, uiItemL(), uiItemM(), uiItemS(), and unassigned_local_poll().
Referenced by modifier_add_root_catalogs_menu_type().
Definition at line 292 of file object_add.cc.
References axis_angle_to_quat(), BLI_assert, float, M_PI_2, mul_qt_qtqt(), quat_to_eul(), and rot.
Referenced by rotation_from_view().
Definition at line 318 of file object_add.cc.
References BLI_assert, copy_qt_qt(), CTX_wm_region_view3d(), rot, rotation_from_quat(), RegionView3D::viewquat, and zero_v3().
Referenced by add_generic_get_opts().
|
static |
Definition at line 132 of file object_hook.cc.
References BMEditMesh::bm, BM_ITER_MESH, BM_vert_select_set(), BM_VERTS_OF_MESH, Object::data, EDBM_select_flush(), and HookModifierData::indexar.
Referenced by object_hook_select().
|
static |
Definition at line 367 of file object_hook.cc.
References CU_BEZIER, BezTriple::f1, BPoint::f1, BezTriple::f2, BezTriple::f3, HookModifierData::indexar, LISTBASE_FOREACH, object_editcurve_get(), and SELECT.
Referenced by object_hook_select().
|
static |
Definition at line 206 of file object_hook.cc.
References Object::data, Lattice::editlatt, BPoint::f1, HookModifierData::indexar, EditLatt::latt, Lattice::pntsu, and SELECT.
Referenced by object_hook_select().
|
static |
Definition at line 750 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, Object::parent, and select_grouped_children().
Referenced by object_select_grouped_exec(), and select_grouped_children().
Definition at line 798 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_collection_has_object(), collection_count(), COLLECTION_MENU_MAX, Main::collections, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), ListBase::first, IFACE_, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), and uiItemStringO().
Referenced by object_select_grouped_exec().
Definition at line 939 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, Object::color, compare_v3v3(), CTX_DATA_BEGIN, and CTX_DATA_END.
Referenced by object_select_grouped_exec().
|
static |
Definition at line 1079 of file object_collection.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_collection_has_object_recursive(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_data_scene(), PointerRNA::data, DEG_id_tag_update(), ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_main_add_notifier().
Referenced by OBJECT_OT_collection_objects_select().
Definition at line 925 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, and Object::index.
Referenced by object_select_grouped_exec().
|
static |
Definition at line 955 of file object_select.cc.
References ANIM_scene_get_active_keyingset(), ANIM_validate_keyingset(), BA_SELECT, base_select(), BASE_SELECTED, BKE_report(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), ListBase::first, KeyingSet::flag, KEYINGSET_ABSOLUTE, LISTBASE_FOREACH, KeyingSet::paths, RPT_ERROR, and blender::animrig::SUCCESS.
Referenced by object_select_grouped_exec().
Definition at line 893 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, Object::data, OB_LAMP, and Light::type.
Referenced by object_select_grouped_exec().
Definition at line 852 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), eModifierType_Hook, Base::flag, LISTBASE_FOREACH, Object::modifiers, and HookModifierData::object.
Referenced by object_select_grouped_exec().
|
static |
Definition at line 771 of file object_select.cc.
References BA_SELECT, base_activate(), base_select(), BASE_SELECTABLE, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CTX_data_active_base(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Base::object, and Object::parent.
Referenced by object_select_grouped_exec().
Definition at line 880 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, and Object::parent.
Referenced by object_select_grouped_exec().
Definition at line 911 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, CTX_DATA_BEGIN, CTX_DATA_END, and Object::type.
Referenced by object_select_grouped_exec().
Definition at line 581 of file object_select.cc.
References CTX_data_scene(), DEG_id_tag_update(), GS, ID_LI, ID_MA, ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OB_DATA_SUPPORT_ID, object_select_all_by_library(), object_select_all_by_material(), object_select_all_by_obdata(), and WM_event_add_notifier().
Referenced by blender::ed::outliner::data_select_linked_fn(), and blender::ed::outliner::id_select_linked_fn().
Definition at line 2100 of file object_edit.cc.
References BLI_addtail(), BLI_genericNodeN(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_wm_space_outliner(), and ED_outliner_selected_objects_get().
Referenced by move_to_collection_exec(), and move_to_collection_invoke().
|
static |
Definition at line 3589 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_set(), BLI_assert, context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_VERTEX_GROUP, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_set_active().
|
static |
Definition at line 252 of file object_constraint.cc.
References abs(), BKE_constraint_targets_flush(), BKE_constraint_targets_get(), BLI_listbase_count(), ListBase::first, bConstraintTarget::next, STRNCPY, bConstraintTarget::subtarget, and bConstraintTarget::tar.
Referenced by constraint_add_exec().
|
static |
Definition at line 1770 of file object_edit.cc.
References angle(), ASSET_LIBRARY_ESSENTIALS, AssetWeakReference::asset_library_type, blender::ed::asset::asset_local_id_ensure_imported(), BKE_modifier_unique_name(), BLI_strdup(), blender::StringRefNull::c_str(), CTX_data_main(), CTX_data_scene(), CTX_data_selected_editable_objects(), DATA_, DEG_id_tag_update(), eModifierFlag_PinLast, eModifierType_Nodes, blender::ed::asset::find_asset_from_weak_ref(), ModifierData::flag, NodesModifierData::flag, GS, bNodeTree::id, ID_NT, ID_RECALC_GEOMETRY, id_us_plus(), IDP_DOUBLE, IDP_Double, IDP_FLOAT, IDP_Float, IDP_GetPropertyFromGroup(), is_smooth_by_angle_modifier(), LISTBASE_FOREACH, blender::bke::mesh_smooth_set(), MOD_nodes_update_interface(), NodesModifierData::modifier, modifier_add(), modifier_remove(), ID::name, ModifierData::name, NC_OBJECT, ND_MODIFIER, NodesModifierData::node_group, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, OB_MESH, OPERATOR_CANCELLED, OPERATOR_FINISHED, NodesModifierSettings::properties, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), NodesModifierData::settings, STRNCPY, IDProperty::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_shade_auto_smooth().
|
static |
Definition at line 1862 of file object_edit.cc.
References col, wmOperator::layout, wmOperator::ptr, RNA_boolean_get(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by OBJECT_OT_shade_auto_smooth().
|
static |
Definition at line 1679 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), Object::data, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, Object::mode, OB_MODE_EDIT, and OB_MODE_SCULPT.
Referenced by OBJECT_OT_shade_auto_smooth(), OBJECT_OT_shade_flat(), OBJECT_OT_shade_smooth(), and OBJECT_OT_shade_smooth_by_angle().
|
static |
Definition at line 1587 of file object_edit.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_curve_smooth_flag_set(), BKE_id_is_editable(), BKE_mesh_batch_cache_dirty_tag(), BKE_MESH_BATCH_DIRTY_ALL, BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_selected_editable_objects(), CTX_data_view_layer(), data, Object::data, PointerRNA::data, DEG_id_tag_update(), GS, Object::id, ID_CU_LEGACY, ID_ME, ID_RECALC_GEOMETRY, wmOperator::idname, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), is_smooth_by_angle_modifier(), LISTBASE_FOREACH, blender::bke::mesh_sharp_edges_set_from_angle(), blender::bke::mesh_smooth_set(), Object::mode, modifier_remove(), Object::modifiers, NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OB_MESH, OB_MODE_ALL_PAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RNA_id_pointer_create(), RPT_WARNING, STREQ, Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_shade_flat(), OBJECT_OT_shade_smooth(), and OBJECT_OT_shade_smooth_by_angle().
| ShaderFxData * blender::ed::object::shaderfx_add | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| const char * | name, | ||
| int | type ) |
Definition at line 58 of file object_shader_fx.cc.
References BKE_report(), BKE_reportf(), BKE_shaderfx_findby_type(), BKE_shaderfx_get_info(), BKE_shaderfx_new(), BKE_shaderfx_unique_name(), BLI_addtail(), BLI_assert, Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, eShaderFxTypeFlag_Single, ShaderFxTypeInfo::flags, GreasePencil::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, ID::name, ShaderFxData::name, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, RPT_WARNING, Object::shader_fx, STRNCPY_UTF8, and Object::type.
Referenced by shaderfx_add_exec().
|
static |
Definition at line 303 of file object_shader_fx.cc.
References context_active_object(), CTX_data_main(), CTX_data_scene(), NC_OBJECT, ND_SHADERFX, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), shaderfx_add(), and WM_event_add_notifier().
Referenced by OBJECT_OT_shaderfx_add().
|
static |
Definition at line 319 of file object_shader_fx.cc.
References BKE_shaderfx_get_info(), context_active_object(), eShaderFxTypeFlag_NoUserAdd, ShaderFxTypeInfo::flags, EnumPropertyItem::identifier, RNA_enum_item_add(), RNA_enum_item_end(), rna_enum_object_shaderfx_type_items, and EnumPropertyItem::value.
Referenced by OBJECT_OT_shaderfx_add().
Definition at line 152 of file object_shader_fx.cc.
References DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, ShaderFxData::next, object_shaderfx_remove(), and Object::shader_fx.
| void blender::ed::object::shaderfx_copy | ( | Object * | dst, |
| ShaderFxData * | fx ) |
Definition at line 238 of file object_shader_fx.cc.
References BKE_shaderfx_copydata(), BKE_shaderfx_new(), BLI_addtail(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, ShaderFxData::name, NC_OBJECT, ND_SHADERFX, Object::shader_fx, STRNCPY, ShaderFxData::type, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_copy().
|
static |
Definition at line 670 of file object_shader_fx.cc.
References BKE_shaderfx_copydata(), BKE_shaderfx_new(), BKE_shaderfx_unique_name(), BLI_insertlinkafter(), context_active_object(), DEG_id_tag_update(), edit_shaderfx_property_get(), Object::id, ID_RECALC_GEOMETRY, ShaderFxData::name, NC_OBJECT, ND_SHADERFX, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::shader_fx, STRNCPY, ShaderFxData::type, and WM_main_add_notifier().
Referenced by OBJECT_OT_shaderfx_copy(), and shaderfx_copy_invoke().
|
static |
Definition at line 695 of file object_shader_fx.cc.
References edit_shaderfx_invoke_properties(), and shaderfx_copy_exec().
Referenced by OBJECT_OT_shaderfx_copy().
Definition at line 229 of file object_shader_fx.cc.
References BKE_shaderfx_copy(), BLI_freelistN(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, Object::shader_fx, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_link(), and make_links_data_exec().
| int blender::ed::object::shaderfx_move_down | ( | ReportList * | reports, |
| Object * | ob, | ||
| ShaderFxData * | fx ) |
Definition at line 185 of file object_shader_fx.cc.
References BLI_insertlinkafter(), BLI_remlink(), ShaderFxData::next, and Object::shader_fx.
Referenced by shaderfx_move_down_exec(), and shaderfx_move_to_index().
|
static |
Definition at line 578 of file object_shader_fx.cc.
References context_active_object(), DEG_id_tag_update(), edit_shaderfx_property_get(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, shaderfx_move_down(), and WM_event_add_notifier().
Referenced by OBJECT_OT_shaderfx_move_down(), and shaderfx_move_down_invoke().
|
static |
Definition at line 593 of file object_shader_fx.cc.
References edit_shaderfx_invoke_properties(), and shaderfx_move_down_exec().
Referenced by OBJECT_OT_shaderfx_move_down().
| bool blender::ed::object::shaderfx_move_to_index | ( | ReportList * | reports, |
| Object * | ob, | ||
| ShaderFxData * | fx, | ||
| int | index ) |
Definition at line 195 of file object_shader_fx.cc.
References BKE_report(), BLI_assert, BLI_findindex(), BLI_listbase_count(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, RPT_WARNING, Object::shader_fx, shaderfx_move_down(), shaderfx_move_up(), and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_reorder(), and shaderfx_move_to_index_exec().
|
static |
Definition at line 623 of file object_shader_fx.cc.
References context_active_object(), edit_shaderfx_property_get(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_int_get(), and shaderfx_move_to_index().
Referenced by OBJECT_OT_shaderfx_move_to_index(), and shaderfx_move_to_index_invoke().
|
static |
Definition at line 636 of file object_shader_fx.cc.
References edit_shaderfx_invoke_properties(), and shaderfx_move_to_index_exec().
Referenced by OBJECT_OT_shaderfx_move_to_index().
| int blender::ed::object::shaderfx_move_up | ( | ReportList * | reports, |
| Object * | ob, | ||
| ShaderFxData * | fx ) |
Definition at line 175 of file object_shader_fx.cc.
References BLI_insertlinkbefore(), BLI_remlink(), ShaderFxData::prev, and Object::shader_fx.
Referenced by shaderfx_move_to_index(), and shaderfx_move_up_exec().
|
static |
Definition at line 533 of file object_shader_fx.cc.
References context_active_object(), DEG_id_tag_update(), edit_shaderfx_property_get(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, shaderfx_move_up(), and WM_event_add_notifier().
Referenced by OBJECT_OT_shaderfx_move_up(), and shaderfx_move_up_invoke().
|
static |
Definition at line 548 of file object_shader_fx.cc.
References edit_shaderfx_invoke_properties(), and shaderfx_move_up_exec().
Referenced by OBJECT_OT_shaderfx_move_up().
| bool blender::ed::object::shaderfx_remove | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Object * | ob, | ||
| ShaderFxData * | fx ) |
Definition at line 134 of file object_shader_fx.cc.
References BKE_reportf(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID::name, ShaderFxData::name, object_shaderfx_remove(), and RPT_ERROR.
Referenced by shaderfx_remove_exec().
|
static |
Definition at line 476 of file object_shader_fx.cc.
References BKE_reportf(), context_active_object(), CTX_data_main(), edit_shaderfx_property_get(), MAX_NAME, ShaderFxData::name, NC_OBJECT, ND_SHADERFX, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, shaderfx_remove(), STRNCPY, and WM_event_add_notifier().
Referenced by OBJECT_OT_shaderfx_remove(), and shaderfx_remove_invoke().
|
static |
Definition at line 502 of file object_shader_fx.cc.
References edit_shaderfx_invoke_properties(), and shaderfx_remove_exec().
Referenced by OBJECT_OT_shaderfx_remove().
|
static |
Definition at line 343 of file object_shapekey.cc.
References context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_shape_key_add(), Object::id, ID_RECALC_GEOMETRY, OPERATOR_FINISHED, wmOperator::ptr, and RNA_boolean_get().
Referenced by OBJECT_OT_shape_key_add().
|
static |
Definition at line 477 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_listbase_is_empty(), Key::block, clamp_f(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, LISTBASE_FOREACH, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_clear().
|
static |
Definition at line 303 of file object_shapekey.cc.
References BKE_keyblock_from_object(), context_object(), and shape_key_poll().
Referenced by OBJECT_OT_shape_key_lock().
|
static |
Definition at line 680 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_assert, BLI_listbase_is_empty(), Key::block, CTX_data_active_object(), KEYBLOCK_LOCKED_SHAPE, LISTBASE_FOREACH, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SHAPE_KEY_LOCK, SHAPE_KEY_UNLOCK, and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_lock().
|
static |
Definition at line 708 of file object_shapekey.cc.
References ptr, RNA_enum_get(), SHAPE_KEY_LOCK, SHAPE_KEY_UNLOCK, and TIP_.
Referenced by OBJECT_OT_shape_key_lock().
|
static |
Definition at line 555 of file object_shapekey.cc.
References context_object(), ED_mesh_report_mirror(), object_shape_key_mirror(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), and shape_key_report_if_active_locked().
Referenced by OBJECT_OT_shape_key_mirror().
|
static |
Definition at line 319 of file object_shapekey.cc.
References BKE_keyblock_from_object(), context_object(), and shape_key_mode_poll().
Referenced by OBJECT_OT_shape_key_remove().
|
static |
Definition at line 312 of file object_shapekey.cc.
References context_object(), Object::mode, OB_MODE_EDIT, and shape_key_poll().
Referenced by OBJECT_OT_shape_key_add(), OBJECT_OT_shape_key_mirror(), shape_key_mode_exists_poll(), and shape_key_move_poll().
|
static |
Definition at line 610 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_keyblock_move(), context_object(), DEG_id_tag_update(), ELEM, Object::id, ID_RECALC_GEOMETRY, KB_MOVE_BOTTOM, KB_MOVE_DOWN, KB_MOVE_TOP, KB_MOVE_UP, KEY_NORMAL, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), Object::shapenr, Key::totkey, Key::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_move().
|
static |
Definition at line 328 of file object_shapekey.cc.
References BKE_key_from_object(), context_object(), shape_key_mode_poll(), and Key::totkey.
Referenced by OBJECT_OT_shape_key_move().
|
static |
Definition at line 294 of file object_shapekey.cc.
References context_object(), Object::data, ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by OBJECT_OT_shape_key_clear(), OBJECT_OT_shape_key_retime(), shape_key_exists_poll(), and shape_key_mode_poll().
|
static |
Definition at line 384 of file object_shapekey.cc.
References BKE_key_evaluate_object_ex(), BKE_object_shapekey_free(), context_object(), CTX_data_main(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_OBJECT, ND_DRAW, object_shapekey_remove(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), shape_key_report_if_active_locked(), shape_key_report_if_any_locked(), and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_remove().
|
static |
Definition at line 434 of file object_shapekey.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_shape_key_remove().
|
static |
Definition at line 420 of file object_shapekey.cc.
References wmOperator::ptr, RNA_enum_get(), RNA_property_identifier(), and STREQ.
Referenced by OBJECT_OT_shape_key_remove().
| bool blender::ed::object::shape_key_report_if_active_locked | ( | Object * | ob, |
| ReportList * | reports ) |
Checks if the active shape key of the object is locked, and produces an error message if so (unless reports is null).
Definition at line 89 of file object_shapekey.cc.
References BKE_keyblock_from_object(), BKE_reportf(), KeyBlock::flag, Object::id, KEYBLOCK_LOCKED_SHAPE, ID::name, and RPT_ERROR.
Referenced by shape_key_mirror_exec(), and shape_key_remove_exec().
| bool blender::ed::object::shape_key_report_if_any_locked | ( | Object * | ob, |
| ReportList * | reports ) |
Checks if any of the shape keys of the object are locked, and produces an error message if so (unless reports is null).
Definition at line 118 of file object_shapekey.cc.
References BKE_reportf(), Object::id, ID::name, object_is_any_shape_key_locked(), and RPT_ERROR.
Referenced by edbm_shape_propagate_to_all_exec(), and shape_key_remove_exec().
| bool blender::ed::object::shape_key_report_if_locked | ( | const Object * | obedit, |
| ReportList * | reports ) |
Checks if the currently active Edit Mode on the object is targeting a locked shape key, and produces an error message if so (unless reports is null).
Definition at line 60 of file object_shapekey.cc.
References BKE_reportf(), Object::data, ED_curve_get_edit_shape_key(), ED_lattice_get_edit_shape_key(), ED_mesh_get_edit_shape_key(), KeyBlock::flag, Object::id, KEYBLOCK_LOCKED_SHAPE, ID::name, OB_CURVES_LEGACY, OB_LATTICE, OB_MESH, OB_SURF, RPT_ERROR, and Object::type.
Referenced by clear_tilt_exec(), createTransCurveVerts(), createTransEditVerts(), createTransLatticeVerts(), curve_normals_make_consistent_exec(), curve_smooth_radius_exec(), curve_smooth_tilt_exec(), edbm_blend_from_shape_exec(), edbm_do_smooth_laplacian_vertex_exec(), edbm_do_smooth_vertex_exec(), edbm_face_make_planar_exec(), lattice_flip_exec(), make_regular_exec(), mesh_symmetry_snap_exec(), object_rand_verts_exec(), object_warp_verts_exec(), set_radius_exec(), smooth_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
|
static |
Definition at line 513 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_listbase_is_empty(), Key::block, context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, LISTBASE_FOREACH, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_retime().
|
static |
Definition at line 1701 of file object_relations.cc.
References ID_IS_LINKED.
Referenced by single_mat_users(), single_obdata_users(), single_object_action_users(), and single_objectdata_action_users().
|
static |
Definition at line 2035 of file object_relations.cc.
References BKE_id_copy_ex(), BKE_id_is_editable(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), BKE_object_material_get(), flag, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, Material::id, LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, single_data_needs_duplication(), and ID::us.
Referenced by make_single_user_exec().
Definition at line 1981 of file object_relations.cc.
References Mesh::flag, Object::flag, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, OB_DONE, and single_obdata_users().
Referenced by apply_objects_internal(), and modifier_apply_exec_ex().
|
static |
Definition at line 1824 of file object_relations.cc.
References Curve::bevobj, BKE_id_copy_ex(), BKE_id_is_editable(), BKE_pose_rebuild(), BKE_scene_objects_iterator_end(), BLI_assert_msg, DEG_id_tag_update(), Camera::dof, ListBase::first, flag, CameraDOFSettings::focus_object, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_NEW_REMAP, ID_NEW_SET, ID_RECALC_GEOMETRY, id_us_min(), LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, Main::meshes, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, printf, single_data_needs_duplication(), and Curve::taperobj.
Referenced by make_single_user_exec(), and single_obdata_user_make().
|
static |
Definition at line 1994 of file object_relations.cc.
References AnimData::action, BKE_animdata_duplicate_id_action(), BKE_animdata_from_id(), BKE_id_is_editable(), DEG_id_tag_update(), flag, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_RECALC_GEOMETRY, single_data_needs_duplication(), USER_DUP_ACT, and USER_DUP_LINKED_ID.
Referenced by make_single_user_exec().
|
static |
Definition at line 1787 of file object_relations.cc.
References BKE_libblock_relink_to_newid(), BKE_main_collection_sync_remap(), View3D::camera, flag, ID_NEW_REMAP, libblock_relink_collection(), and single_object_users_collection().
Referenced by make_single_user_exec(), and object_single_user_make().
|
static |
Definition at line 1729 of file object_relations.cc.
References BKE_collection_child_add_no_sync(), BKE_id_copy_ex(), BKE_object_scenes_users_get(), BLI_remlink(), CollectionChild::collection, flag, Object::flag, Collection::id, Object::id, ID_IS_LINKED, ID_NEW_SET, id_us_min(), LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, LISTBASE_FOREACH, MEM_freeN(), ID::newid, CollectionChild::next, and single_object_users_collection().
Referenced by single_object_users(), and single_object_users_collection().
|
static |
Definition at line 2014 of file object_relations.cc.
References AnimData::action, BKE_animdata_duplicate_id_action(), BKE_animdata_from_id(), BKE_id_is_editable(), DEG_id_tag_update(), flag, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_RECALC_GEOMETRY, single_data_needs_duplication(), USER_DUP_ACT, and USER_DUP_LINKED_ID.
Referenced by make_single_user_exec().
|
static |
Definition at line 2996 of file object_modifier.cc.
References BKE_object_defgroup_add_name(), BLI_BITMAP_ENABLE, BLI_BITMAP_TEST, BONE_CONNECTED, copy_v3_v3(), ED_armature_ebone_add(), EditBone::flag, EditBone::head, EditBone::name, EditBone::parent, EditBone::rad_head, EditBone::rad_tail, blender::offset_indices::GroupedSpan< T >::size(), skin_armature_bone_create(), SNPRINTF, EditBone::tail, v, vgroup_vert_add(), and WEIGHT_REPLACE.
Referenced by modifier_skin_armature_create(), and skin_armature_bone_create().
|
static |
Definition at line 3110 of file object_modifier.cc.
References ARM_DEF_QUATERNION, ARM_DEF_VGROUP, BKE_modifier_new(), BKE_modifiers_persistent_uid_init(), BKE_reportf(), BLI_insertlinkafter(), CD_MVERT_SKIN, CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CustomData_has_layer(), Object::data, ArmatureModifierData::deformflag, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_Armature, eModifierType_Skin, Object::id, ID_RECALC_GEOMETRY, ArmatureModifierData::modifier, modifier_skin_armature_create(), Object::modifiers, NC_OBJECT, ND_MODIFIER, ArmatureModifierData::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_WARNING, skin_armature_create_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_armature_create(), skin_armature_create_exec(), and skin_armature_create_invoke().
|
static |
Definition at line 3144 of file object_modifier.cc.
References edit_modifier_invoke_properties(), OPERATOR_CANCELLED, skin_armature_create_exec(), and skin_armature_create_invoke().
Referenced by OBJECT_OT_skin_armature_create(), and skin_armature_create_invoke().
|
static |
Definition at line 2819 of file object_modifier.cc.
References CTX_data_edit_object(), Object::data, edit_modifier_poll_generic(), ID_IS_OVERRIDE_LIBRARY, OB_MESH, and skin_edit_poll().
Referenced by OBJECT_OT_skin_loose_mark_clear(), OBJECT_OT_skin_radii_equalize(), OBJECT_OT_skin_root_mark(), and skin_edit_poll().
|
static |
Definition at line 2899 of file object_modifier.cc.
References BKE_editmesh_from_object(), bm, BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MVERT_SKIN, CTX_data_edit_object(), CustomData_bmesh_get(), CustomData_has_layer(), BMHeader::data, DEG_id_tag_update(), MVertSkin::flag, BMVert::head, Object::id, ID_RECALC_GEOMETRY, MVERT_SKIN_LOOSE, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SKIN_LOOSE_CLEAR, SKIN_LOOSE_MARK, skin_loose_mark_clear_exec(), BMesh::vdata, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_loose_mark_clear(), and skin_loose_mark_clear_exec().
|
static |
Definition at line 2814 of file object_modifier.cc.
References edit_modifier_poll_generic(), OB_MESH, and skin_poll().
Referenced by OBJECT_OT_skin_armature_create(), and skin_poll().
|
static |
Definition at line 2955 of file object_modifier.cc.
References BKE_editmesh_from_object(), bm, BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MVERT_SKIN, CTX_data_edit_object(), CustomData_bmesh_get(), CustomData_has_layer(), BMHeader::data, DEG_id_tag_update(), BMVert::head, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, MVertSkin::radius, skin_radii_equalize_exec(), BMesh::vdata, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_radii_equalize(), and skin_radii_equalize_exec().
|
static |
Definition at line 2827 of file object_modifier.cc.
References BLI_gset_add(), BM_edge_other_vert(), BM_EDGES_OF_VERT, BM_ELEM_CD_GET_VOID_P, BM_ITER_ELEM, MVertSkin::flag, skin_root_clear(), v2, and visited.
Referenced by skin_root_clear(), and skin_root_mark_exec().
|
static |
Definition at line 2846 of file object_modifier.cc.
References BKE_editmesh_from_object(), BKE_mesh_ensure_skin_customdata(), BLI_gset_add(), BLI_gset_free(), BLI_gset_ptr_new(), bm, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MVERT_SKIN, CTX_data_edit_object(), CustomData_get_offset(), Object::data, DEG_id_tag_update(), MVertSkin::flag, Object::id, ID_RECALC_GEOMETRY, MVERT_SKIN_ROOT, NC_OBJECT, ND_MODIFIER, OPERATOR_FINISHED, skin_root_clear(), skin_root_mark_exec(), BMesh::vdata, visited, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_root_mark(), and skin_root_mark_exec().
|
static |
Definition at line 579 of file object_transform.cc.
References append_sorted_object_parent_hierarchy(), BKE_main_id_tag_all(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), and ID_TAG_DOIT.
Referenced by apply_objects_internal(), and object_origin_set_exec().
|
static |
Definition at line 828 of file object_constraint.cc.
References CONSTRAINT_TYPE_STRETCHTO, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, edit_constraint_property_get(), NC_OBJECT, ND_CONSTRAINT, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by CONSTRAINT_OT_stretchto_reset(), and stretchto_reset_invoke().
|
static |
Definition at line 848 of file object_constraint.cc.
References edit_constraint_invoke_properties(), OPERATOR_CANCELLED, and stretchto_reset_exec().
Referenced by CONSTRAINT_OT_stretchto_reset().
|
static |
Definition at line 3664 of file object_modifier.cc.
References BKE_modifier_get_evaluated(), context_active_object(), CTX_data_ensure_evaluated_depsgraph(), DEG_id_tag_update(), depsgraph, edit_modifier_property_get(), eModifierType_SurfaceDeform, SurfaceDeformModifierData::flags, Object::id, ID_RECALC_GEOMETRY, MOD_SDEF_BIND, SurfaceDeformModifierData::modifier, NC_OBJECT, ND_MODIFIER, object_force_modifier_bind_simple_options(), OPERATOR_CANCELLED, OPERATOR_FINISHED, surfacedeform_bind_exec(), SurfaceDeformModifierData::target, and WM_event_add_notifier().
Referenced by OBJECT_OT_surfacedeform_bind(), surfacedeform_bind_exec(), and surfacedeform_bind_invoke().
|
static |
Definition at line 3695 of file object_modifier.cc.
References edit_modifier_invoke_properties(), OPERATOR_CANCELLED, surfacedeform_bind_exec(), and surfacedeform_bind_invoke().
Referenced by OBJECT_OT_surfacedeform_bind(), and surfacedeform_bind_invoke().
|
static |
Definition at line 3659 of file object_modifier.cc.
References edit_modifier_poll_generic(), and surfacedeform_bind_poll().
Referenced by OBJECT_OT_surfacedeform_bind(), and surfacedeform_bind_poll().
|
static |
Definition at line 2070 of file object_relations.cc.
References LibraryIDLinkCallbackData::id_pointer, IDWALK_RET_NOP, and ID::tag.
Referenced by tag_localizable_objects().
Definition at line 2080 of file object_relations.cc.
References BKE_library_foreach_ID_link(), BKE_main_id_tag_all(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), ListBase::first, ID_IS_LINKED, ID_TAG_DOIT, IDWALK_READONLY, MAKE_LOCAL_SELECT_OBDATA, Main::objects, ID::tag, and tag_localizable_looper().
Referenced by make_local_exec().
|
static |
Definition at line 294 of file object_constraint.cc.
References ACTCON_USE_EVAL_TIME, blender::animrig::legacy::action_treat_as_legacy(), BIK_test_constraint(), BKE_armature_find_bone_name(), BKE_armature_from_object(), BKE_constraint_targets_flush(), BKE_constraint_targets_get(), BKE_object_exists_check(), BKE_tracking_object_find_track_with_name(), BKE_tracking_object_get_camera(), BKE_tracking_object_get_named(), CAMERASOLVER_ACTIVECLIP, CONSTRAINT_DISABLE, CONSTRAINT_OBTYPE_BONE, CONSTRAINT_TYPE_ACTION, CONSTRAINT_TYPE_ARMATURE, CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_CLAMPTO, CONSTRAINT_TYPE_FOLLOWPATH, CONSTRAINT_TYPE_FOLLOWTRACK, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_OBJECTSOLVER, CONSTRAINT_TYPE_PIVOT, CONSTRAINT_TYPE_SPLINEIK, CONSTRAINT_TYPE_TRACKTO, CONSTRAINT_TYPE_TRANSFORM_CACHE, CU_PATH, bConstraint::data, ELEM, bConstraint::flag, Curve::flag, ID_OB, LISTBASE_FOREACH, MEM_SAFE_FREE, bPoseChannel::name, OB_ARMATURE, OB_CURVES_LEGACY, blender::animrig::Action::slot_for_handle(), STREQ, bKinematicConstraint::tar, bPivotConstraint::tar, and bConstraint::type.
Referenced by object_test_constraint(), and test_constraints().
|
static |
Definition at line 588 of file object_constraint.cc.
References CONSTRAINT_OBTYPE_BONE, CONSTRAINT_OBTYPE_OBJECT, constraint_type_get(), bPoseChannel::constraints, Object::constraints, LISTBASE_FOREACH, and test_constraint().
Referenced by object_test_constraints().
|
static |
Definition at line 4077 of file object_modifier.cc.
References BLI_uniquename_cb(), context_active_object(), DEG_id_tag_update(), DNA_struct_default_get, edit_modifier_property_get(), eModifierType_GreasePencilTime, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, MEM_malloc_arrayN, MEM_SAFE_FREE, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, STREQ, time_modifier_segment_add_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), time_modifier_segment_add_exec(), and time_modifier_segment_add_invoke().
|
static |
Definition at line 4130 of file object_modifier.cc.
References edit_modifier_invoke_properties(), OPERATOR_CANCELLED, time_modifier_segment_add_exec(), and time_modifier_segment_add_invoke().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), and time_modifier_segment_add_invoke().
|
static |
Definition at line 4155 of file object_modifier.cc.
References time_modifier_segment_free().
Referenced by time_modifier_segment_free(), and time_modifier_segment_remove_exec().
|
static |
Definition at line 4218 of file object_modifier.cc.
References context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), eModifierType_GreasePencilTime, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), time_modifier_segment_move_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_move(), time_modifier_segment_move_exec(), and time_modifier_segment_move_invoke().
|
static |
Definition at line 4265 of file object_modifier.cc.
References edit_modifier_invoke_properties(), OPERATOR_CANCELLED, time_modifier_segment_move_exec(), and time_modifier_segment_move_invoke().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_move(), and time_modifier_segment_move_invoke().
|
static |
Definition at line 4072 of file object_modifier.cc.
References edit_modifier_poll_generic(), and time_modifier_segment_poll().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), OBJECT_OT_grease_pencil_time_modifier_segment_move(), OBJECT_OT_grease_pencil_time_modifier_segment_remove(), and time_modifier_segment_poll().
|
static |
Definition at line 4157 of file object_modifier.cc.
References context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), eModifierType_GreasePencilTime, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, time_modifier_segment_free(), time_modifier_segment_remove_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_remove(), time_modifier_segment_remove_exec(), and time_modifier_segment_remove_invoke().
|
static |
Definition at line 4183 of file object_modifier.cc.
References edit_modifier_invoke_properties(), OPERATOR_CANCELLED, time_modifier_segment_remove_exec(), and time_modifier_segment_remove_invoke().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_remove(), and time_modifier_segment_remove_invoke().
|
static |
Definition at line 1231 of file object_relations.cc.
References BKE_constraint_add_for_object(), CONSTRAINT_TYPE_DAMPTRACK, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_TRACKTO, context_active_object(), CREATE_TRACK_DAMPTRACK, CREATE_TRACK_LOCKTRACK, CREATE_TRACK_TRACKTO, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), bConstraint::data, data, DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, LOCK_Y, NC_OBJECT, ND_TRANSFORM, OB_CAMERA, OB_LAMP, OB_SPEAKER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), bDampTrackConstraint::tar, bLockTrackConstraint::tar, bTrackToConstraint::tar, TRACK_nZ, UP_Y, and WM_event_add_notifier().
Referenced by OBJECT_OT_track_set().
|
static |
Callback for GHash free.
Definition at line 397 of file object_utils.cc.
References data_xform_destroy(), MEM_freeN(), and blender::ed::object::XFormObjectData_Extra::xod.
Referenced by data_xform_container_destroy().
| void blender::ed::object::TRANSFORM_OT_vertex_random | ( | wmOperatorType * | ot | ) |
Definition at line 137 of file object_random.cc.
References wmOperatorType::description, ED_transverts_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, object_rand_verts_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_float_distance(), RNA_def_float_factor(), RNA_def_int(), wmOperatorType::srna, and WM_operator_type_modal_from_exec_for_object_edit_coords().
Referenced by operatortypes_object().
| void blender::ed::object::TRANSFORM_OT_vertex_warp | ( | wmOperatorType * | ot | ) |
Definition at line 253 of file object_warp.cc.
References DEG2RADF, wmOperatorType::description, ED_transverts_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, object_warp_verts_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ANGLE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_float_matrix(), RNA_def_float_vector_xyz(), RNA_def_property_flag(), RNA_def_property_subtype(), and wmOperatorType::srna.
Referenced by operatortypes_object().
|
static |
Definition at line 657 of file object_transform.cc.
References blender::threading::parallel_for().
|
static |
Definition at line 1314 of file object_transform.cc.
| void blender::ed::object::ui_template_modifier_asset_menu_items | ( | uiLayout & | layout, |
| StringRef | catalog_path ) |
Definition at line 406 of file add_modifier_assets.cc.
References blender::asset_system::all_library_reference(), blender::asset_system::AssetCatalogTreeItem::catalog_path(), col, get_static_item_tree(), blender::ed::asset::list::library_get_once_available(), blender::asset_system::AssetCatalogPath::str(), tree, uiItemMContents(), uiItemS(), uiLayoutColumn(), and uiLayoutSetContextString().
Definition at line 136 of file add_modifier_assets.cc.
References CTX_data_main(), GEO_NODE_ASSET_MODIFIER, get_static_item_tree(), IFACE_, Menu::layout, LISTBASE_FOREACH, wmOperatorType::name, Main::nodetrees, blender::ed::asset::operator_asset_reference_props_set(), ot, tree, UI_ITEM_NONE, uiItemFullO_ptr(), uiItemL(), uiItemS(), WM_OP_INVOKE_DEFAULT, WM_operator_properties_id_lookup_set_from_id(), and WM_operatortype_find().
Referenced by modifier_add_unassigned_assets_menu_type().
|
static |
Definition at line 119 of file add_modifier_assets.cc.
References GEO_NODE_ASSET_MODIFIER, LISTBASE_FOREACH, and Main::nodetrees.
Referenced by root_catalogs_draw().
|
static |
Definition at line 2494 of file object_vgroup.cc.
References BKE_object_defgroup_add(), context_object(), CTX_data_main(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, NC_OBJECT, ND_DRAW, ND_VERTEX_GROUP, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_add().
|
static |
Definition at line 2645 of file object_vgroup.cc.
References context_object(), CTX_data_scene(), CTX_data_tool_settings(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, vgroup_assign_verts(), ToolSettings::vgroup_weight, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_assign(), and vertex_group_assign_new_exec().
|
static |
Definition at line 2683 of file object_vgroup.cc.
References BKE_object_defgroup_add(), context_object(), and vertex_group_assign_exec().
Referenced by OBJECT_OT_vertex_group_assign_new().
|
static |
Definition at line 3304 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, object_array_for_wpaint(), OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), vgroup_clean_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_clean().
|
static |
Definition at line 2860 of file object_vgroup.cc.
References context_object(), CTX_data_main(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, NC_OBJECT, ND_DRAW, ND_VERTEX_GROUP, OPERATOR_FINISHED, vgroup_duplicate(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_copy().
|
static |
Definition at line 3535 of file object_vgroup.cc.
References BKE_object_supports_vertex_groups(), BKE_reportf(), context_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_RECALC_GEOMETRY, NC_GEOM, ND_VERTEX_GROUP, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, vgroup_array_copy(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_copy_to_selected().
|
static |
Definition at line 2826 of file object_vgroup.cc.
References context_object(), CTX_data_scene(), Object::data, DEG_id_tag_update(), ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, NC_GEOM, ND_SELECT, OPERATOR_FINISHED, Scene::toolsettings, vgroup_select_verts(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_deselect().
|
static |
Definition at line 3187 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), context_object(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), vgroup_invert_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_invert().
|
static |
Definition at line 2894 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), context_object(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), vgroup_levels_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_levels().
|
static |
Definition at line 3412 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), BKE_reportf(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, object_array_for_wpaint(), OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_int_get(), RPT_INFO, RPT_WARNING, vgroup_limit_total_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_limit_total().
|
static |
Definition at line 3073 of file object_vgroup.cc.
References CTX_data_active_object(), NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), vgroup_lock_all(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 3087 of file object_vgroup.cc.
References ptr, RNA_enum_get(), TIP_, VGROUP_INVERT, VGROUP_LOCK, VGROUP_MASK_ALL, VGROUP_MASK_INVERT_UNSELECTED, VGROUP_MASK_SELECTED, VGROUP_MASK_UNSELECTED, VGROUP_TOGGLE, and VGROUP_UNLOCK.
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 2430 of file object_vgroup.cc.
References OB_MESH, and vertex_group_vert_poll_ex().
Referenced by OBJECT_OT_vertex_group_smooth().
|
static |
Definition at line 3477 of file object_vgroup.cc.
References context_object(), CTX_data_main(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), ED_mesh_report_mirror(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), vgroup_mirror(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_mirror().
|
static |
Definition at line 3011 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), context_object(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, normalize_vertex_group_target(), OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), vgroup_normalize_all(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_normalize_all().
|
static |
Definition at line 2945 of file object_vgroup.cc.
References context_object(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, vgroup_normalize(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_normalize().
|
static |
Definition at line 2375 of file object_vgroup.cc.
References context_object(), and vertex_group_poll_ex().
Referenced by OBJECT_OT_vertex_group_clean(), OBJECT_OT_vertex_group_copy(), OBJECT_OT_vertex_group_copy_to_selected(), OBJECT_OT_vertex_group_invert(), OBJECT_OT_vertex_group_levels(), OBJECT_OT_vertex_group_limit_total(), OBJECT_OT_vertex_group_lock(), OBJECT_OT_vertex_group_mirror(), OBJECT_OT_vertex_group_move(), OBJECT_OT_vertex_group_normalize(), OBJECT_OT_vertex_group_normalize_all(), OBJECT_OT_vertex_group_quantize(), OBJECT_OT_vertex_group_remove(), OBJECT_OT_vertex_group_set_active(), and OBJECT_OT_vertex_group_sort().
|
static |
Definition at line 2381 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), context_object(), and vertex_group_supported_poll_ex().
Definition at line 2360 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BLI_listbase_is_empty(), CTX_wm_operator_poll_msg_set(), and vertex_group_supported_poll_ex().
Referenced by vertex_group_poll().
|
static |
Definition at line 3366 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), context_object(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_int_get(), steps, vgroup_quantize_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_quantize().
|
static |
Definition at line 2575 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_defgroup_remove_all_ex(), BLI_findlink(), context_object(), CTX_data_main(), CTX_data_scene(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), grease_pencil_clear_from_all_vgroup(), grease_pencil_clear_from_vgroup(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, NC_OBJECT, ND_DRAW, ND_VERTEX_GROUP, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), Object::type, vgroup_delete_active(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_remove().
|
static |
Definition at line 2717 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_clear(), BKE_object_defgroup_clear_all(), BKE_object_defgroup_list(), BLI_findlink(), context_object(), CTX_data_scene(), Object::data, DEG_id_tag_update(), grease_pencil_clear_from_all_vgroup(), grease_pencil_clear_from_vgroup(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_remove_from().
|
static |
Definition at line 2788 of file object_vgroup.cc.
References context_object(), CTX_data_scene(), Object::data, DEG_id_tag_update(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, NC_GEOM, ND_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, Scene::toolsettings, vgroup_select_verts(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_select().
|
static |
Definition at line 3243 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, object_array_for_wpaint(), OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), RNA_int_get(), vgroup_smooth_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_smooth().
|
static |
Definition at line 3834 of file object_vgroup.cc.
References BKE_object_defgroup_list_mutable(), BLI_listbase_sort(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, ND_VERTEX_GROUP, OPERATOR_CANCELLED, wmOperator::ptr, ret, RNA_enum_get(), SORT_TYPE_BONEHIERARCHY, SORT_TYPE_NAME, vgroup_do_remap(), vgroup_init_remap(), vgroup_sort_bone_hierarchy(), vgroup_sort_name(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_sort().
|
static |
Definition at line 2354 of file object_vgroup.cc.
References context_object(), and vertex_group_supported_poll_ex().
Referenced by OBJECT_OT_vertex_group_add().
|
static |
Definition at line 2332 of file object_vgroup.cc.
References CTX_wm_operator_poll_msg_set(), Object::data, ED_operator_object_active_local_editable_ex(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, OB_TYPE_SUPPORT_VGROUP, and Object::type.
Referenced by object_array_for_wpaint_filter(), vertex_group_poll_edit(), vertex_group_poll_ex(), vertex_group_supported_poll(), vertex_group_vert_poll_ex(), vertex_group_vert_select_mesh_poll(), and vertex_group_vert_select_unlocked_poll().
|
static |
Definition at line 91 of file object_vgroup.cc.
References Object::data, ME_EDIT_PAINT_FACE_SEL, ME_EDIT_PAINT_VERT_SEL, Object::mode, OB_MESH, OB_MODE_EDIT, and Object::type.
Referenced by vgroup_clean_subset(), vgroup_invert_subset(), vgroup_levels_subset(), vgroup_limit_total_subset(), vgroup_normalize(), vgroup_normalize_all(), vgroup_quantize_subset(), and vgroup_smooth_subset().
|
static |
Definition at line 2393 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), BKE_object_is_in_wpaint_select_vert(), context_object(), CTX_wm_operator_poll_msg_set(), Object::mode, OB_MODE_WEIGHT_PAINT, Object::type, and vertex_group_supported_poll_ex().
Referenced by vertex_group_mesh_vert_poll(), and vertex_group_vert_select_poll().
|
static |
Definition at line 2472 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), BKE_object_is_in_wpaint_select_vert(), context_object(), OB_MESH, Object::type, and vertex_group_supported_poll_ex().
Referenced by OBJECT_OT_vertex_weight_copy(), OBJECT_OT_vertex_weight_delete(), OBJECT_OT_vertex_weight_normalize_active_vertex(), OBJECT_OT_vertex_weight_paste(), and OBJECT_OT_vertex_weight_set_active().
|
static |
Definition at line 2435 of file object_vgroup.cc.
References vertex_group_vert_poll_ex().
Referenced by OBJECT_OT_vertex_group_assign_new(), OBJECT_OT_vertex_group_deselect(), and OBJECT_OT_vertex_group_select().
|
static |
Definition at line 2448 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_is_in_editmode_vgroup(), BKE_object_is_in_wpaint_select_vert(), BLI_findlink(), context_object(), CTX_wm_operator_poll_msg_set(), DG_LOCK_WEIGHT, bDeformGroup::flag, and vertex_group_supported_poll_ex().
Referenced by OBJECT_OT_vertex_group_assign(), and OBJECT_OT_vertex_group_remove_from().
|
static |
Definition at line 110 of file object_relations.cc.
References BEZT_ISSEL_ANY_HIDDENHANDLES, BKE_editmesh_looptris_and_normals_calc(), BKE_object_calc_parent(), BKE_object_parent_loop_check(), BKE_report(), BKE_scene_graph_update_tagged(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), CU_BEZIER, Object::data, Lattice::def, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, EDBM_mesh_load(), EDBM_mesh_make(), Lattice::editlatt, ELEM, BPoint::f1, ListBase::first, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, INDEX_UNSET, invert_m4_m4(), EditLatt::latt, NC_OBJECT, OB_CURVES_LEGACY, OB_LATTICE, OB_MESH, OB_SURF, object_editcurve_get(), OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::parent, PARVERT1, PARVERT3, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, ptr, wmOperator::reports, RPT_ERROR, SELECT, Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_parent_set().
|
static |
Definition at line 105 of file object_relations.cc.
References ED_operator_editlattice(), ED_operator_editmesh(), and ED_operator_editsurfcurve().
Referenced by OBJECT_OT_vertex_parent_set().
|
static |
Definition at line 4235 of file object_vgroup.cc.
References context_object(), CTX_data_tool_settings(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, vgroup_copy_active_to_sel(), ToolSettings::vgroupsubset, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_copy().
|
static |
Definition at line 4099 of file object_vgroup.cc.
References check_vertex_group_accessible(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), vgroup_remove_weight(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_delete().
|
static |
Definition at line 4196 of file object_vgroup.cc.
References context_object(), CTX_data_tool_settings(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, vgroup_normalize_active_vertex(), ToolSettings::vgroupsubset, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_normalize_active_vertex().
|
static |
Definition at line 4048 of file object_vgroup.cc.
References check_vertex_group_accessible(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), vgroup_copy_active_to_sel_single(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_paste().
|
static |
Definition at line 4149 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_set(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_set_active().
Matching index only.
Definition at line 368 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_active_index_set(), BKE_object_defgroup_data_create(), BKE_object_defgroup_list(), BKE_object_defgroup_list_mutable(), BKE_object_defgroup_remap_update_users(), BKE_object_defgroup_remove_all(), BLI_assert, BLI_duplicatelist(), BLI_freelistN(), BLI_listbase_count(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), Object::data, MEM_dupallocN, MEM_freeN(), MEM_SAFE_FREE, and vgroup_parray_alloc().
Referenced by vertex_group_copy_to_selected_exec().
|
static |
Definition at line 2230 of file object_vgroup.cc.
References blender::bke::greasepencil::assign_to_vertex_group(), BKE_defvert_ensure_index(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_data_create(), BKE_object_defgroup_list(), BLI_findlink(), BMEditMesh::bm, BM_data_layer_add(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), CustomData_has_layer(), Object::data, Lattice::def, Lattice::dvert, BPoint::f1, Lattice::id, bDeformGroup::name, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, Object::type, BMesh::vdata, vgroup_edit_lattice(), and MDeformWeight::weight.
Referenced by vertex_group_assign_exec().
|
static |
Definition at line 1865 of file object_vgroup.cc.
References Object::data, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_mirror_assign(), and vgroup_parray_remove_zero().
Referenced by vertex_group_clean_exec().
|
static |
Definition at line 639 of file object_vgroup.cc.
References BKE_defvert_copy_subset(), BKE_object_defgroup_subset_from_select_type(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ED_mesh_active_dvert_get_em(), ED_mesh_active_dvert_get_ob(), ED_mesh_defvert_mirror_update_em(), ED_mesh_defvert_mirror_update_ob(), ME_SYMMETRY_X, MEM_freeN(), and blender::bke::Point.
Referenced by vertex_weight_copy_exec().
|
static |
Definition at line 3967 of file object_vgroup.cc.
References BKE_defvert_copy_index(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ED_mesh_active_dvert_get_em(), ED_mesh_active_dvert_get_ob(), ED_mesh_defvert_mirror_update_em(), ED_mesh_defvert_mirror_update_ob(), ME_SYMMETRY_X, and blender::bke::Point.
Referenced by vertex_weight_paste_exec().
Removes out of range #MDeformWeights
Definition at line 133 of file object_vgroup.cc.
References BKE_defvert_remove_group(), MDeformWeight::def_nr, MDeformVert::dw, MDeformVert::totweight, and vgroup_parray_alloc().
Referenced by ED_object_vgroup_calc_from_armature().
|
static |
Definition at line 2217 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_defgroup_remove(), and BLI_findlink().
Referenced by vertex_group_remove_exec().
|
static |
Definition at line 3687 of file object_vgroup.cc.
References BKE_defgroup_name_index(), BKE_defvert_remap(), BKE_editmesh_from_object(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_active_index_set(), BKE_object_defgroup_array_get(), BKE_object_defgroup_list(), BKE_object_defgroup_remap_update_users(), BKE_report(), BLI_assert, BLI_listbase_count(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ListBase::first, bGPdata::layers, LISTBASE_FOREACH, MAX_VGROUP_NAME, MEM_freeN(), MEM_mallocN, Object::mode, bDeformGroup::next, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, MDeformVert::totweight, Object::type, and BMesh::vdata.
Referenced by vertex_group_sort_exec(), and vgroup_move_exec().
|
static |
Definition at line 1116 of file object_vgroup.cc.
References BKE_defgroup_duplicate(), BKE_defvert_ensure_index(), BKE_defvert_find_index(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_active_index_set(), BKE_object_defgroup_list_mutable(), BKE_object_defgroup_unique_name(), BLI_addtail(), BLI_findlink(), BLI_listbase_count(), Object::data, MEM_freeN(), bDeformGroup::name, SNPRINTF, STRNCPY, and vgroup_parray_alloc().
Referenced by vertex_group_copy_exec().
Definition at line 104 of file object_vgroup.cc.
References BLI_assert, Object::data, Lattice::editlatt, EditLatt::latt, OB_LATTICE, and Object::type.
Referenced by get_vert_def_nr(), vgroup_assign_verts(), vgroup_mirror(), and vgroup_select_verts().
|
static |
Definition at line 3670 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BLI_listbase_count(), BLI_strncpy(), LISTBASE_FOREACH, MAX_VGROUP_NAME, and MEM_mallocN.
Referenced by vertex_group_sort_exec(), and vgroup_move_exec().
|
static |
Definition at line 1487 of file object_vgroup.cc.
References BKE_defvert_ensure_index(), BKE_defvert_find_index(), CLAMP, Object::data, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_mirror_sync(), vgroup_parray_remove_zero(), and MDeformWeight::weight.
Referenced by vertex_group_invert_exec().
|
static |
Definition at line 3603 of file object_vgroup.cc.
References BKE_object_defgroup_list(), context_object(), ListBase::first, EnumPropertyItem::icon, EnumPropertyItem::identifier, bDeformGroup::name, EnumPropertyItem::name, bDeformGroup::next, rna_enum_dummy_NULL_items, RNA_enum_item_add(), RNA_enum_item_end(), and EnumPropertyItem::value.
Referenced by OBJECT_OT_vertex_group_set_active().
|
static |
Definition at line 1226 of file object_vgroup.cc.
References BKE_defvert_find_index(), CLAMP, Object::data, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_mirror_sync(), and MDeformWeight::weight.
Referenced by vertex_group_levels_exec().
|
static |
Definition at line 1793 of file object_vgroup.cc.
References BLI_assert, Object::data, MDeformWeight::def_nr, MDeformVert::dw, inv_cmp_mdef_vert_weights(), LIKELY, MEM_freeN(), MEM_mallocN, MEM_reallocN, MDeformVert::totweight, vertex_group_use_vert_sel(), and vgroup_parray_alloc().
Referenced by vertex_group_limit_total_exec().
Definition at line 1411 of file object_vgroup.cc.
References BKE_object_defgroup_list(), DG_LOCK_WEIGHT, ListBase::first, bDeformGroup::flag, MEM_freeN(), bDeformGroup::next, VGROUP_INVERT, VGROUP_LOCK, VGROUP_MASK_ALL, VGROUP_MASK_INVERT_UNSELECTED, VGROUP_MASK_SELECTED, VGROUP_MASK_UNSELECTED, vgroup_selected_get(), VGROUP_TOGGLE, and VGROUP_UNLOCK.
Referenced by vertex_group_lock_exec().
| void blender::ed::object::vgroup_mirror | ( | Object * | ob, |
| bool | mirror_weights, | ||
| bool | flip_vgroups, | ||
| bool | all_vgroups, | ||
| bool | use_topology, | ||
| int * | r_totmirr, | ||
| int * | r_totfail ) |
Definition at line 2005 of file object_vgroup.cc.
References BKE_lattice_index_from_uvw(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_flip_map(), BKE_object_defgroup_flip_map_single(), BKE_object_defgroup_list(), BLI_assert, BLI_BITMAP_ENABLE, BLI_BITMAP_NEW, BLI_BITMAP_TEST, BLI_findlink(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), BM_VERT, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, Lattice::def, Lattice::dvert, dvert_mirror_op(), EDBM_verts_mirror_cache_begin(), EDBM_verts_mirror_cache_end(), EDBM_verts_mirror_get(), BPoint::f1, ME_EDIT_PAINT_VERT_SEL, MEM_freeN(), mesh_get_x_mirror_vert(), OB_LATTICE, OB_MESH, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, Object::type, v, vgroup_edit_lattice(), and w().
Referenced by vertex_group_mirror_exec().
|
static |
Definition at line 3899 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list_mutable(), BLI_findlink(), BLI_listbase_link_move(), context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), NC_GEOM, ND_VERTEX_GROUP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, ret, RNA_enum_get(), vgroup_do_remap(), vgroup_init_remap(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_move().
|
static |
Definition at line 1168 of file object_vgroup.cc.
References BKE_defvert_find_index(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BLI_findlink(), CLAMP, Object::data, max_ff(), MEM_freeN(), vertex_group_use_vert_sel(), vgroup_parray_alloc(), and MDeformWeight::weight.
Referenced by vertex_group_normalize_exec().
|
static |
Definition at line 600 of file object_vgroup.cc.
References BKE_defvert_normalize_subset(), BKE_object_defgroup_subset_from_select_type(), BMEditMesh::bm, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ED_mesh_active_dvert_get_em(), ED_mesh_active_dvert_get_ob(), ED_mesh_defvert_mirror_update_em(), ED_mesh_defvert_mirror_update_ob(), ME_SYMMETRY_X, MEM_freeN(), and BMesh::vdata.
Referenced by vertex_weight_normalize_active_vertex_exec().
|
static |
Definition at line 1273 of file object_vgroup.cc.
References BKE_defvert_normalize_lock_map(), BKE_defvert_normalize_lock_single(), BKE_defvert_normalize_subset(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_defgroup_lock_flags_get(), BKE_report(), BLI_listbase_count(), Object::data, MEM_freeN(), RPT_ERROR, vertex_group_use_vert_sel(), and vgroup_parray_alloc().
Referenced by vertex_group_normalize_all_exec().
|
static |
Definition at line 808 of file object_vgroup.cc.
References BKE_defvert_add_index_notest(), BKE_defvert_find_index(), BKE_defvert_remove_group(), BKE_object_defgroup_array_get(), Object::data, MDeformWeight::weight, WEIGHT_ADD, WEIGHT_REPLACE, and WEIGHT_SUBTRACT.
Referenced by vgroup_vert_add().
|
static |
Definition at line 775 of file object_vgroup.cc.
References ot, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, rna_vertex_group_select_itemf(), rna_vertex_group_with_single_itemf(), wmOperatorType::srna, WT_VGROUP_ACTIVE, and WT_VGROUP_ALL.
Referenced by OBJECT_OT_vertex_group_clean(), OBJECT_OT_vertex_group_invert(), OBJECT_OT_vertex_group_levels(), OBJECT_OT_vertex_group_limit_total(), OBJECT_OT_vertex_group_normalize_all(), OBJECT_OT_vertex_group_quantize(), and OBJECT_OT_vertex_group_smooth().
| bool blender::ed::object::vgroup_parray_alloc | ( | ID * | id, |
| MDeformVert *** | dvert_arr, | ||
| int * | dvert_tot, | ||
| bool | use_vert_sel ) |
Definition at line 151 of file object_vgroup.cc.
References bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Lattice::def, Lattice::dvert, Lattice::editlatt, BPoint::f1, GS, ID_LT, ID_ME, EditLatt::latt, MEM_mallocN, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, and BMesh::vdata.
Referenced by vgroup_array_copy(), vgroup_clean_subset(), vgroup_data_clamp_range(), vgroup_duplicate(), vgroup_invert_subset(), vgroup_levels_subset(), vgroup_limit_total_subset(), vgroup_normalize(), vgroup_normalize_all(), vgroup_parray_mirror_assign(), vgroup_parray_mirror_sync(), vgroup_quantize_subset(), and vgroup_smooth_subset().
| void blender::ed::object::vgroup_parray_from_weight_array | ( | MDeformVert ** | dvert_array, |
| int | dvert_tot, | ||
| const float * | dvert_weights, | ||
| int | def_nr, | ||
| bool | remove_zero ) |
Definition at line 471 of file object_vgroup.cc.
References BKE_defvert_ensure_index(), BKE_defvert_find_index(), BKE_defvert_remove_group(), BLI_assert, IN_RANGE_INCL, and MDeformWeight::weight.
Referenced by vgroup_smooth_subset().
| void blender::ed::object::vgroup_parray_mirror_assign | ( | Object * | ob, |
| MDeformVert ** | dvert_array, | ||
| int | dvert_tot ) |
Fill in the pointers for mirror verts (as if all mirror verts were selected too).
similar to vgroup_parray_mirror_sync but only fill in mirror points.
Definition at line 302 of file object_vgroup.cc.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_mesh_elem_table_ensure(), BM_VERT, Object::data, ED_mesh_mirror_get_vert(), MEM_freeN(), and vgroup_parray_alloc().
Referenced by vgroup_clean_subset(), and vgroup_quantize_subset().
| void blender::ed::object::vgroup_parray_mirror_sync | ( | Object * | ob, |
| MDeformVert ** | dvert_array, | ||
| int | dvert_tot, | ||
| const bool * | vgroup_validmap, | ||
| int | vgroup_tot ) |
For use with tools that use vgroup_parray_alloc with use_vert_sel == true. This finds the unselected mirror deform verts and copies the weights to them from the selected.
Definition at line 257 of file object_vgroup.cc.
References BKE_defvert_mirror_subset(), BKE_editmesh_from_object(), BKE_object_defgroup_flip_map(), BLI_assert, BMEditMesh::bm, BM_mesh_elem_table_ensure(), BM_VERT, Object::data, ED_mesh_mirror_get_vert(), MEM_freeN(), and vgroup_parray_alloc().
Referenced by vgroup_invert_subset(), vgroup_levels_subset(), and vgroup_smooth_subset().
| void blender::ed::object::vgroup_parray_remove_zero | ( | MDeformVert ** | dvert_array, |
| int | dvert_tot, | ||
| const bool * | vgroup_validmap, | ||
| int | vgroup_tot, | ||
| float | epsilon, | ||
| bool | keep_single ) |
Definition at line 334 of file object_vgroup.cc.
References BKE_defvert_remove_group(), MDeformWeight::def_nr, MDeformVert::dw, MDeformVert::totweight, and MDeformWeight::weight.
Referenced by vgroup_clean_subset(), and vgroup_invert_subset().
| void blender::ed::object::vgroup_parray_to_weight_array | ( | const MDeformVert ** | dvert_array, |
| int | dvert_tot, | ||
| float * | dvert_weights, | ||
| int | def_nr ) |
Definition at line 460 of file object_vgroup.cc.
References BKE_defvert_find_weight().
Referenced by vgroup_smooth_subset().
|
static |
Definition at line 1896 of file object_vgroup.cc.
References CLAMP, Object::data, MDeformWeight::def_nr, MDeformVert::dw, floorf, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, steps, MDeformVert::totweight, Object::type, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_mirror_assign(), and MDeformWeight::weight.
Referenced by vertex_group_quantize_exec().
Definition at line 589 of file object_vgroup.cc.
References BKE_defvert_find_index(), BKE_defvert_remove_group(), and ED_mesh_active_dvert_get_only().
Referenced by vertex_weight_delete_exec().
| void blender::ed::object::vgroup_select_by_name | ( | Object * | ob, |
| const char * | name ) |
Definition at line 995 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_set(), and BKE_object_defgroup_name_index().
Referenced by ED_armature_pose_select_pick_bone(), and pose_select_mirror_exec().
|
static |
Definition at line 1009 of file object_vgroup.cc.
References Lattice::actbp, BKE_defvert_find_index(), BKE_lattice_active_point_get(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BLI_findlink(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ITER_MESH, BM_vert_select_set(), BM_VERTS_OF_MESH, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, Lattice::def, def_group, DEG_id_tag_update(), Lattice::dvert, ED_grease_pencil_edit_selection_domain_get(), EDBM_deselect_flush(), EDBM_select_flush(), BPoint::f1, GreasePencil::id, ID_RECALC_GEOMETRY, blender::Span< T >::is_empty(), LT_ACTBP_NONE, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, paintvert_flush_flags(), Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, select(), blender::bke::greasepencil::select_from_group(), blender::bke::SpanAttributeWriter< T >::span, Object::type, and vgroup_edit_lattice().
Referenced by vertex_group_deselect_exec(), and vertex_group_select_exec().
|
static |
Definition at line 1384 of file object_vgroup.cc.
References BKE_mesh_from_object(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_count(), BKE_object_defgroup_mirror_selection(), BKE_object_defgroup_selected_get(), mask(), ME_USING_MIRROR_X_VERTEX_GROUPS, MEM_callocN, Object::mode, and OB_MODE_WEIGHT_PAINT.
Referenced by vgroup_lock_all().
| const EnumPropertyItem * blender::ed::object::vgroup_selection_itemf_helper | ( | const bContext * | C, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| bool * | r_free, | ||
| unsigned int | selection_mask ) |
Definition at line 712 of file object_vgroup.cc.
References BKE_modifiers_is_deformed_by_armature(), BKE_object_pose_armature_get(), CTX_data_active_object(), RNA_enum_item_end(), RNA_enum_items_add_value(), WT_vertex_group_select_item, WT_VGROUP_ACTIVE, WT_VGROUP_ALL, WT_VGROUP_BONE_DEFORM, and WT_VGROUP_BONE_SELECT.
Referenced by rna_vertex_group_select_itemf(), and rna_vertex_group_with_single_itemf().
|
static |
Definition at line 1542 of file object_vgroup.cc.
References BKE_editmesh_from_object(), BKE_object_defgroup_subset_to_index_array(), BLI_assert, bm, BMEditMesh::bm, BM_edge_other_vert(), BM_EDGES_OF_VERT, BM_elem_index_get, BM_ITER_ELEM, BM_mesh_elem_index_ensure(), BM_mesh_elem_table_ensure(), BM_VERT, BM_vert_at_index(), blender::bke::mesh::build_vert_to_edge_map(), CD_PROP_BOOL, CLAMP, CustomData_get_layer_named(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), Object::data, e, fabsf, blender::Array< T, InlineBufferCapacity, Allocator >::fill(), IS_BM_VERT_READ, IS_BM_VERT_WRITE, IS_ME_VERT_READ, IS_ME_VERT_WRITE, ME_SYMMETRY_X, MEM_freeN(), MEM_mallocN, OB_MESH, blender::bke::Point, signum_i(), blender::offset_indices::GroupedSpan< T >::size(), STACK_DECLARE, STACK_INIT, STACK_PUSH, STACK_SIZE, Object::type, v, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_from_weight_array(), vgroup_parray_mirror_sync(), vgroup_parray_to_weight_array(), and WEIGHT_ACCUMULATE.
Referenced by vertex_group_smooth_exec().
|
static |
Sorts the weight groups according to the bone hierarchy of the associated armature (similar to how bones are ordered in the Outliner)
Definition at line 3805 of file object_vgroup.cc.
References BKE_modifiers_is_deformed_by_armature(), BKE_object_defgroup_find_name(), BKE_object_defgroup_list_mutable(), BLI_addhead(), BLI_remlink(), bArmature::bonebase, Object::data, LISTBASE_FOREACH_BACKWARD, Node::name, and vgroup_sort_bone_hierarchy().
Referenced by vertex_group_sort_exec(), and vgroup_sort_bone_hierarchy().
|
static |
Definition at line 3793 of file object_vgroup.cc.
References BLI_strcasecmp_natural(), and bDeformGroup::name.
Referenced by vertex_group_sort_exec().
| bool blender::ed::object::vgroup_sync_from_pose | ( | Object * | ob | ) |
Definition at line 117 of file object_vgroup.cc.
References bArmature::act_bone, BKE_object_defgroup_active_index_set(), BKE_object_defgroup_name_index(), BKE_object_pose_armature_get(), Object::data, Object::mode, Bone::name, and OB_MODE_POSE.
Referenced by blender::ed::sculpt_paint::vwpaint::mode_enter_generic().
Use when adjusting the active vertex weight and apply to mirror vertices.
Definition at line 564 of file object_vgroup.cc.
References BMEditMesh::bm, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ED_mesh_active_dvert_get_em(), ED_mesh_active_dvert_get_ob(), ED_mesh_defvert_mirror_update_em(), ED_mesh_defvert_mirror_update_ob(), ME_SYMMETRY_X, and BMesh::vdata.
Referenced by do_view3d_vgroup_buttons().
| void blender::ed::object::vgroup_vert_add | ( | Object * | ob, |
| bDeformGroup * | dg, | ||
| int | vertnum, | ||
| float | weight, | ||
| int | assignmode ) |
Called while not in editmode.
Definition at line 872 of file object_vgroup.cc.
References BKE_object_defgroup_array_get(), BKE_object_defgroup_data_create(), BKE_object_defgroup_list(), BLI_findindex(), Object::data, and vgroup_nr_vert_add().
Referenced by envelope_bone_weighting(), heat_bone_weighting(), blender::io::usd::import_mesh_skel_bindings(), SkinInfo::link_armature(), and skin_armature_bone_create().
| void blender::ed::object::vgroup_vert_remove | ( | Object * | ob, |
| bDeformGroup * | dg, | ||
| int | vertnum ) |
Mesh object mode, lattice can be in edit-mode.
Definition at line 900 of file object_vgroup.cc.
References BKE_defvert_find_index(), BKE_defvert_remove_group(), BKE_object_defgroup_array_get(), BKE_object_defgroup_list(), BLI_findindex(), and Object::data.
Referenced by envelope_bone_weighting(), and heat_bone_weighting().
| float blender::ed::object::vgroup_vert_weight | ( | Object * | ob, |
| bDeformGroup * | dg, | ||
| int | vertnum ) |
Definition at line 983 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BLI_findindex(), and get_vert_def_nr().
Referenced by heat_bone_weighting().
|
static |
Definition at line 393 of file object_add.cc.
References ptr, and RNA_struct_idprops_unset().
Referenced by add_generic_props().
|
static |
Definition at line 1138 of file object_transform.cc.
References BKE_object_apply_mat4(), BKE_object_transform_copy(), BKE_object_where_is_calc(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, visual_transform_apply_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_visual_transform_apply(), and visual_transform_apply_exec().
|
static |
Definition at line 75 of file object_volume.cc.
References BKE_id_delete(), BKE_main_blendfile_path(), BKE_reportf(), BKE_volume_grids_error_msg(), BKE_volume_is_points_only(), BKE_volume_is_y_up(), BKE_volume_load(), BKE_volume_unload(), BLI_freelistN(), BLI_path_extension_strip(), BLI_path_rel(), BLI_path_split_file_part(), CTX_data_main(), ED_image_filesel_detect_sequences(), FILE_MAX, LISTBASE_FOREACH, M_PI_2, object_volume_add(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_WARNING, and STRNCPY.
Referenced by OBJECT_OT_volume_import(), and volume_import_invoke().
|
static |
Definition at line 135 of file object_volume.cc.
References OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_string_set(), RNA_struct_property_is_set(), volume_import_exec(), and WM_event_add_fileselect().
Referenced by OBJECT_OT_volume_import().
|
static |
Definition at line 106 of file object_remesh.cc.
References BKE_id_free(), BKE_mesh_batch_cache_dirty_tag(), BKE_MESH_BATCH_DIRTY_ALL, BKE_mesh_nomain_to_mesh(), BKE_mesh_remesh_voxel(), BKE_mesh_remesh_voxel_fix_poles(), BKE_report(), BKE_sculpt_update_object_for_edit(), BKE_sculptsession_free_pbvh(), BKE_shrinkwrap_remesh_target_project(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), Object::data, DEG_id_tag_update(), depsgraph, blender::bke::Face, blender::ed::sculpt_paint::undo::geometry_begin(), blender::ed::sculpt_paint::undo::geometry_end(), Object::id, ID_RECALC_GEOMETRY, ME_REMESH_FIX_POLES, ME_REMESH_REPROJECT_ATTRIBUTES, ME_REMESH_REPROJECT_VOLUME, blender::bke::mesh_remesh_reproject_attributes(), blender::bke::mesh_smooth_set(), Object::mode, NC_GEOM, ND_DATA, OB_MODE_SCULPT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_voxel_remesh().
|
static |
Definition at line 350 of file object_remesh.cc.
References CTX_wm_region(), wmOperator::customdata, blender::ed::object::VoxelSizeEditCustomData::draw_handle, ED_region_draw_cb_exit(), ED_workspace_status_text(), and MEM_freeN().
Referenced by OBJECT_OT_voxel_size_edit(), and voxel_size_edit_modal().
|
static |
Definition at line 266 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, b, B_UNIT_LENGTH, BKE_unit_value_as_string(), BLF_color3f(), BLF_draw(), BLF_position(), BLF_size(), BLF_width_and_height(), BLI_strlen_utf8(), clamp_f(), CTX_data_scene(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_line_smooth(), GPU_line_width(), GPU_matrix_mul, GPU_matrix_pop(), GPU_matrix_push(), GPU_PRIM_LINES, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor4f(), immVertex3fv(), immVertexFormat(), int, len_v3v3(), uiFontStyle::points, blender::ed::object::VoxelSizeEditCustomData::preview_plane, str, blender::ed::object::VoxelSizeEditCustomData::text_mat, UI_SCALE_FAC, UI_style_get(), uiFontStyle::uifont_id, blender::ed::object::VoxelSizeEditCustomData::voxel_size, VOXEL_SIZE_EDIT_MAX_GRIDS_LINES, VOXEL_SIZE_EDIT_MAX_STR_LEN, voxel_size_parallel_lines_draw(), uiStyle::widget, and x.
Referenced by voxel_size_edit_invoke().
|
static |
Definition at line 438 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, BKE_boundbox_init_from_minmax(), copy_m3_m4(), copy_v3_v3(), CTX_data_active_object(), CTX_wm_region(), CTX_wm_region_view3d(), wmOperator::customdata, Object::data, dot_v2v2(), dot_v3v3(), blender::ed::object::VoxelSizeEditCustomData::draw_handle, ED_region_draw_cb_activate(), ED_region_tag_redraw(), ED_view3d_pixel_size(), ED_view3d_project_v2(), fabsf, blender::ed::object::VoxelSizeEditCustomData::init_mval, blender::ed::object::VoxelSizeEditCustomData::init_voxel_size, invert_m4_m4(), invert_v3(), len_v3v3(), mat4_to_size(), blender::Bounds< T >::max, max_ff(), mid_v3_v3v3(), blender::Bounds< T >::min, mul_m3_v3(), mul_m4_m4_post(), mul_m4_m4_pre(), mul_v3_fl(), mul_v3_m4v3(), normal_tri_v3(), normalize_v2(), normalize_v3(), OPERATOR_RUNNING_MODAL, blender::ed::object::VoxelSizeEditCustomData::preview_plane, REGION_DRAW_POST_VIEW, Object::runtime, scale_m4_fl(), size_to_mat4(), blender::ed::object::VoxelSizeEditCustomData::slow_mode, sub_v2_v2v2(), sub_v3_v3v3(), blender::ed::object::VoxelSizeEditCustomData::text_mat, unit_m4(), BoundBox::vec, RegionView3D::viewinv, blender::ed::object::VoxelSizeEditCustomData::voxel_size, voxel_size_edit_draw(), VOXEL_SIZE_EDIT_MAX_GRIDS_LINES, voxel_size_edit_update_header(), blender::ed::object::VoxelSizeEditCustomData::voxel_size_max, blender::ed::object::VoxelSizeEditCustomData::voxel_size_min, and WM_event_add_modal_handler().
Referenced by OBJECT_OT_voxel_size_edit().
|
static |
Definition at line 372 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, clamp_f(), copy_v2_v2(), CTX_wm_region(), wmOperator::customdata, Object::data, blender::ed::object::VoxelSizeEditCustomData::draw_handle, ED_region_draw_cb_exit(), ED_region_tag_redraw(), ED_workspace_status_text(), EVT_ESCKEY, EVT_LEFTSHIFTKEY, EVT_PADENTER, EVT_RETKEY, float, blender::ed::object::VoxelSizeEditCustomData::init_mval, blender::ed::object::VoxelSizeEditCustomData::init_voxel_size, KM_PRESS, KM_RELEASE, LEFTMOUSE, max_ff(), MEM_freeN(), wmEvent::mval, NC_GEOM, ND_DATA, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RIGHTMOUSE, blender::ed::object::VoxelSizeEditCustomData::slow_mode, blender::ed::object::VoxelSizeEditCustomData::slow_mval, blender::ed::object::VoxelSizeEditCustomData::slow_voxel_size, wmEvent::type, wmEvent::val, blender::ed::object::VoxelSizeEditCustomData::voxel_size, voxel_size_edit_cancel(), voxel_size_edit_update_header(), blender::ed::object::VoxelSizeEditCustomData::voxel_size_max, blender::ed::object::VoxelSizeEditCustomData::voxel_size_min, and WM_event_add_notifier().
Referenced by OBJECT_OT_voxel_size_edit().
|
static |
Definition at line 607 of file object_remesh.cc.
References CTX_wm_region_view3d(), and object_remesh_poll().
Referenced by OBJECT_OT_voxel_size_edit().
|
static |
Definition at line 362 of file object_remesh.cc.
References wmOperator::customdata, IFACE_, WorkspaceStatus::item(), WorkspaceStatus::item_bool(), and blender::ed::object::VoxelSizeEditCustomData::slow_mode.
Referenced by voxel_size_edit_invoke(), and voxel_size_edit_modal().
|
static |
Definition at line 219 of file object_remesh.cc.
References add_v3_v3v3(), GPU_PRIM_LINES, immBegin(), immEnd(), immVertex3fv(), int, len_v3v3(), madd_v3_v3v3fl(), mid_v3_v3v3(), mul_v3_fl(), normalize_v3(), sub_v3_v3v3(), and VOXEL_SIZE_EDIT_MAX_GRIDS_LINES.
Referenced by voxel_size_edit_draw().
|
static |
Definition at line 781 of file object_collection.cc.
References BKE_reportf(), collection_export_recursive(), blender::ed::object::CollectionExportStats::collections_num, CTX_data_view_layer(), ViewLayer::layer_collections, LISTBASE_FOREACH, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_INFO, and blender::ed::object::CollectionExportStats::successful_exports_num.
Referenced by WM_OT_collection_export_all().
|
static |
Definition at line 805 of file object_collection.cc.
References collection_export_all_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and wm_collection_export_all_exec().
Referenced by collection_exporter_register().
|
static |
Definition at line 361 of file object_bake_api.cc.
References bias_tangent_normal_pixels(), BKE_imbuf_write(), ImBuf::byte_buffer, ImBuf::channels, COLOR_ROLE_SCENE_LINEAR, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImageFormatData::depth, ImBuf::dither, ImBuf::float_buffer, IB_PROFILE_LINEAR_RGB, IB_PROFILE_SRGB, IB_rect, IB_rectfloat, IMB_allocImBuf(), IMB_buffer_byte_from_float(), IMB_buffer_float_from_float(), IMB_colormanagement_get_rect_colorspace(), IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_transform(), IMB_freeImBuf(), MEM_callocN, MEM_freeN(), ImageFormatData::planes, RE_bake_margin(), RE_bake_mask_fill(), ImBuf::x, and ImBuf::y.
Referenced by bake_targets_output_external().
|
static |
Definition at line 206 of file object_bake_api.cc.
References bias_tangent_normal_pixels(), BKE_image_acquire_ibuf(), BKE_image_mark_dirty(), BKE_image_release_ibuf(), BKE_imageuser_default(), ImBuf::byte_buffer, ImBuf::channels, COLOR_ROLE_SCENE_LINEAR, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::dither, ImBuf::float_buffer, IB_DISPLAY_BUFFER_INVALID, IB_MIPMAP_INVALID, IB_PROFILE_LINEAR_RGB, IB_PROFILE_SRGB, IB_RECT_INVALID, IMB_buffer_byte_from_float(), IMB_buffer_byte_from_float_mask(), IMB_buffer_float_from_float(), IMB_buffer_float_from_float_mask(), IMB_colormanagement_get_float_colorspace(), IMB_colormanagement_get_rect_colorspace(), IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_transform(), imb_freemipmapImBuf(), lock, MEM_callocN, MEM_freeN(), ImBuf::mipmap, RE_bake_margin(), RE_bake_mask_fill(), ImageUser::tile, ImBuf::userflags, ImBuf::x, and ImBuf::y.
Referenced by bake_targets_output_internal().
| XFormObjectSkipChild_Container * blender::ed::object::xform_skip_child_container_create | ( | ) |
Definition at line 159 of file object_utils.cc.
References BLI_ghash_ptr_new(), MEM_callocN, and blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by object_clear_transform_generic_exec().
| void blender::ed::object::xform_skip_child_container_item_ensure_from_array | ( | XFormObjectSkipChild_Container * | xcs, |
| const Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| Object ** | objects, | ||
| uint | objects_len ) |
Definition at line 169 of file object_utils.cc.
References BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), BLI_gset_add(), BLI_gset_free(), BLI_gset_haskey(), BLI_gset_ptr_new_ex(), LISTBASE_FOREACH, object_xform_skip_child_container_item_ensure(), Object::parent, XFORM_OB_SKIP_CHILD_PARENT_APPLY, and XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM.
Referenced by object_clear_transform_generic_exec().
|
static |
Definition at line 199 of file object_add.cc.
Referenced by add_generic_props().
|
static |
Definition at line 661 of file object_constraint.cc.
Referenced by edit_constraint_properties().
|
static |
Definition at line 2726 of file object_add.cc.
Referenced by convert_target_itemf(), and OBJECT_OT_convert().
|
static |
Definition at line 48 of file object_data_transfer.cc.
Referenced by OBJECT_OT_data_transfer(), and OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 157 of file object_add.cc.
Referenced by OBJECT_OT_effector_add().
|
static |
Definition at line 174 of file object_add.cc.
Referenced by OBJECT_OT_lightprobe_add().
|
static |
Definition at line 117 of file object_edit.cc.
Referenced by add_shapekey_layers(), editmode_enter_ex(), and editmode_load_free_ex().
|
static |
Definition at line 110 of file object_modifier.cc.
|
static |
Definition at line 2317 of file object_edit.cc.
Referenced by move_to_collection_invoke().
|
static |
Definition at line 1085 of file object_remesh.cc.
Referenced by OBJECT_OT_quadriflow_remesh().
| const EnumPropertyItem blender::ed::object::prop_clear_parent_types[] |
Definition at line 313 of file object_relations.cc.
Referenced by OBJECT_OT_parent_clear().
|
static |
Definition at line 1142 of file object_relations.cc.
Referenced by OBJECT_OT_track_clear().
| const EnumPropertyItem blender::ed::object::prop_make_parent_types[] |
Definition at line 481 of file object_relations.cc.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 1224 of file object_relations.cc.
Referenced by OBJECT_OT_track_set().
|
static |
Definition at line 97 of file object_multires_modifier.cc.
Referenced by OBJECT_OT_multires_subdivide().
|
static |
Definition at line 731 of file object_select.cc.
Referenced by OBJECT_OT_select_grouped().
|
static |
Definition at line 444 of file object_select.cc.
Referenced by OBJECT_OT_select_linked().
|
static |
Definition at line 1355 of file object_add.cc.
Referenced by OBJECT_OT_grease_pencil_add().
|
static |
Definition at line 1353 of file object_vgroup.cc.
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 1372 of file object_vgroup.cc.
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 696 of file object_vgroup.cc.
Referenced by vgroup_selection_itemf_helper().