|
Blender V4.5
|
Namespaces | |
| namespace | bake_simulation |
Classes | |
| struct | XFormObjectData |
| struct | CollectionAddInfo |
| struct | ObjectConversionInfo |
| class | FillColorRecord |
| struct | MultiresBakerJobData |
| struct | MultiresBakeJob |
| struct | BakeAPIRender |
| struct | CollectionExportStats |
| struct | ElemData_Armature |
| struct | ElemData_MetaBall |
| struct | XFormObjectData_Mesh |
| struct | XFormObjectData_Lattice |
| struct | XFormObjectData_Curve |
| struct | XFormObjectData_Armature |
| struct | XFormObjectData_MetaBall |
| struct | XFormObjectData_GreasePencil |
| struct | XFormObjectData_Curves |
| struct | XFormObjectData_PointCloud |
| struct | MoveToCollectionData |
| struct | OceanBakeJob |
| struct | ParentingContext |
| struct | VoxelSizeEditCustomData |
| struct | QuadriFlowJob |
| struct | XFormAxisItem |
| struct | XFormAxisData |
| struct | XFormObjectSkipChild_Container |
| struct | XFormObjectSkipChild |
| struct | XFormObjectData_Container |
| struct | XFormObjectData_Extra |
| struct | ComponentObjects |
| struct | CollectionWithTransform |
| class | GeometryToObjectsBuilder |
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 [] |
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 wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | make_links_scene_exec (bContext *C, wmOperator *op) |
| static bool | allow_make_links_data (const int type, Object *ob_src, Object *ob_dst) |
| static wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | make_single_user_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | 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_grease_pencil_select_verts (const Scene &scene, const ToolSettings &tool_settings, const bDeformGroup *def_group, const bool select, Object &object) |
| 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 bool lock_active, ReportList *reports, std::optional< int > current_frame={}) |
| static void | vgroup_normalize_all_deform_if_active_is_deform (Object *ob, const bool lock_active, ReportList *reports, std::optional< int > current_frame={}) |
| 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 wmOperatorStatus | 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 wmOperatorStatus | vertex_group_sort_exec (bContext *C, wmOperator *op) |
Add Grease Pencil Operator | |
| static EnumPropertyItem | rna_enum_gpencil_add_stroke_depth_order_items [] |
| static wmOperatorStatus | object_grease_pencil_add_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | object_grease_pencil_add_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| void | OBJECT_OT_grease_pencil_add (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, wmOperatorStatus *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 wmOperatorStatus | 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 wmOperatorStatus | 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 wmOperatorStatus | multires_subdivide_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | 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 void | parent_clear_data (Object *ob) |
| static wmOperatorStatus | parent_clear_exec (bContext *C, wmOperator *op) |
Make Parent Operator | |
| const EnumPropertyItem | prop_make_parent_types [] |
| bool | 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]) |
| void | parent_set (Object *ob, Object *parent, int type, const char *substr) |
| void | OBJECT_OT_parent_set (wmOperatorType *ot) |
| static bool | parent_set_with_depsgraph (ReportList *reports, const bContext *C, Scene *scene, Depsgraph *depsgraph, Object *const ob, Object *const par, Object *const parent_eval, int partype, const bool xmirror, const bool keep_transform, const int vert_par[3]) |
| static void | parent_set_vert_find (KDTree_3d *tree, Object *child, int vert_par[3], bool is_tri) |
| static bool | parent_set_nonvertex_parent (bContext *C, ParentingContext *parenting_context) |
| static bool | parent_set_vertex_parent_with_kdtree (bContext *C, ParentingContext *parenting_context, KDTree_3d *tree) |
| static bool | parent_set_vertex_parent (bContext *C, ParentingContext *parenting_context) |
| static wmOperatorStatus | parent_set_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | parent_set_invoke_menu (bContext *C, wmOperatorType *ot) |
| static wmOperatorStatus | parent_set_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static bool | parent_set_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop) |
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 |
Bit-flags for enter/exit edit-mode.
| Enumerator | |
|---|---|
| EM_FREEDATA | |
| EM_NO_CONTEXT | |
Definition at line 261 of file ED_object.hh.
| 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 121 of file ED_object.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_SINGLE_USER_ALL | |
| MAKE_SINGLE_USER_SELECTED | |
Definition at line 2851 of file object_relations.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| VGROUP_MASK_ALL | |
| VGROUP_MASK_SELECTED | |
| VGROUP_MASK_UNSELECTED | |
| VGROUP_MASK_INVERT_UNSELECTED | |
Definition at line 1492 of file object_vgroup.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| KB_MOVE_TOP | |
| KB_MOVE_UP | |
| KB_MOVE_DOWN | |
| KB_MOVE_BOTTOM | |
Definition at line 632 of file object_shapekey.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| MODIFIER_APPLY_DATA | |
| MODIFIER_APPLY_SHAPE | |
Definition at line 466 of file ED_object.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| CREATE_TRACK_DAMPTRACK | |
| CREATE_TRACK_TRACKTO | |
| CREATE_TRACK_LOCKTRACK | |
Definition at line 1266 of file object_relations.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 | |
|---|---|
| SORT_TYPE_NAME | |
| SORT_TYPE_BONEHIERARCHY | |
Definition at line 4002 of file object_vgroup.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| QUADRIFLOW_REMESH_RATIO | |
| QUADRIFLOW_REMESH_EDGE_LENGTH | |
| QUADRIFLOW_REMESH_FACES | |
Definition at line 634 of file object_remesh.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| CLEAR_TRACK | |
| CLEAR_TRACK_KEEP_TRANSFORM | |
Definition at line 1185 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 2100 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 1452 of file object_relations.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 1269 of file object_transform.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| VGROUP_TOGGLE | |
| VGROUP_LOCK | |
| VGROUP_UNLOCK | |
| VGROUP_INVERT | |
Definition at line 1473 of file object_vgroup.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| ALIGN_WORLD | |
| ALIGN_VIEW | |
| ALIGN_CURSOR | |
Definition at line 195 of file object_add.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| SHAPE_KEY_LOCK | |
| SHAPE_KEY_UNLOCK | |
Definition at line 704 of file object_shapekey.cc.
| Enumerator | |
|---|---|
| CLEAR_TANGENT_NORMAL | |
| CLEAR_DISPLACEMENT | |
Definition at line 266 of file object_bake.cc.
|
strong |
| Enumerator | |
|---|---|
| Up | |
| Down | |
Definition at line 3739 of file object_modifier.cc.
| Enumerator | |
|---|---|
| CLEAR_PARENT_ALL | |
| CLEAR_PARENT_KEEP_TRANSFORM | |
| CLEAR_PARENT_INVERSE | |
Definition at line 187 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 358 of file ED_object.hh.
| Enumerator | |
|---|---|
| BA_DESELECT | |
| BA_SELECT | |
| BA_INVERT | |
Definition at line 181 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 165 of file ED_object.hh.
| Enumerator | |
|---|---|
| QUADRIFLOW_STATUS_SUCCESS | |
| QUADRIFLOW_STATUS_FAIL | |
| QUADRIFLOW_STATUS_CANCELED | |
| QUADRIFLOW_STATUS_NONMANIFOLD | |
Definition at line 640 of file object_remesh.cc.
| Enumerator | |
|---|---|
| SYMMETRY_AXES_X | |
| SYMMETRY_AXES_Y | |
| SYMMETRY_AXES_Z | |
Definition at line 647 of file object_remesh.cc.
| Enumerator | |
|---|---|
| SKIN_LOOSE_MARK | |
| SKIN_LOOSE_CLEAR | |
Definition at line 2639 of file object_modifier.cc.
|
strong |
| Enumerator | |
|---|---|
| Up | |
| Down | |
Definition at line 3975 of file object_modifier.cc.
|
static |
Definition at line 4925 of file object_add.cc.
References active_shape_key_editable_poll(), BKE_lib_override_library_id_is_user_deletable(), BKE_object_obdata_is_libdata(), C, CTX_data_active_object(), CTX_data_main(), CTX_wm_operator_poll_msg_set(), Object::id, Object::mode, OB_MESH, OB_MODE_EDIT, and Object::type.
Referenced by active_shape_key_editable_poll(), OBJECT_OT_join_shapes(), and OBJECT_OT_update_shapes().
| 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.
Definition at line 4404 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(), blender::ed::greasepencil::duplicate_grease_pencil_object(), 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 477 of file object_add.cc.
References ALIGN_CURSOR, ALIGN_VIEW, ALIGN_WORLD, C, copy_v3_fl(), CTX_data_scene(), CTX_wm_view3d(), Scene::cursor, 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(), U, 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(), blender::ed::curves::append_primitive_curve(), 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 419 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(), 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(), blender::ed::curves::CURVES_OT_add_bezier(), blender::ed::curves::CURVES_OT_add_circle(), 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_random_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 3698 of file object_add.cc.
References add_grease_pencil_materials_for_conversion(), BKE_grease_pencil_object_material_new(), BKE_id_material_array_p(), BKE_id_material_len_p(), BKE_id_name(), copy_v4_v4(), MaterialGPencilStyle::fill_rgba, MaterialGPencilStyle::flag, GP_MATERIAL_FILL_SHOW, GP_MATERIAL_STROKE_SHOW, Material::gp_style, i, Material::id, IFACE_, Material::r, and SET_FLAG_FROM_TEST.
Referenced by add_grease_pencil_materials_for_conversion(), convert_curves_legacy_to_grease_pencil(), and convert_font_to_grease_pencil().
|
static |
Definition at line 508 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(), C, HookModifierData::cent, copy_v3_v3(), CTX_data_ensure_evaluated_depsgraph(), Object::data, DEG_get_evaluated(), 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, reports, 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 487 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 472 of file object_add.cc.
References ot, and RNA_def_boolean().
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().
Definition at line 753 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(), i, 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 686 of file object_add.cc.
References add_type_with_obdata(), C, 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 615 of file object_add.cc.
References base_activate(), BKE_id_material_len_p(), BKE_object_add(), BKE_object_add_for_data(), BKE_object_materials_sync_length(), BKE_object_obdata_to_type(), BKE_view_layer_active_base_get(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BLI_assert, C, 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, Scene::id, 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 414 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(), blender::ed::curves::CURVES_OT_add_bezier(), blender::ed::curves::CURVES_OT_add_circle(), 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 408 of file object_add.cc.
References OBJECT_ADD_SIZE_MAXF, ot, and RNA_def_float_distance().
Referenced by add_unit_props_radius(), and OBJECT_OT_metaball_add().
| void blender::ed::object::add_unit_props_size | ( | wmOperatorType * | ot | ) |
Definition at line 402 of file object_add.cc.
References OBJECT_ADD_SIZE_MAXF, ot, and RNA_def_float_distance().
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 1464 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 565 of file object_transform.cc.
References append_sorted_object_parent_hierarchy(), ELEM, and ID_TAG_DOIT.
Referenced by append_sorted_object_parent_hierarchy(), and sorted_selected_editable_objects().
|
static |
Definition at line 945 of file object_modifier.cc.
References blender::ed::greasepencil::apply_eval_grease_pencil_data(), BKE_id_copy_ex(), BKE_modifier_get_info(), BKE_object_material_from_eval_data(), DEG_get_bmain(), DEG_get_ctime(), DEG_get_evaluated(), depsgraph, blender::bke::greasepencil::ensure_non_empty_layer_names(), GeometrySet::from_grease_pencil(), GeometrySet::get_component_for_write(), GeometrySet::has_grease_pencil(), GreasePencil::id, LIB_ID_COPY_LOCALIZE, MOD_APPLY_TO_ORIGINAL, ModifierTypeInfo::modify_geometry_set, GreasePencil::runtime, Object::runtime, and ModifierData::type.
Referenced by modifier_apply_obdata().
|
static |
Definition at line 986 of file object_modifier.cc.
References blender::ed::greasepencil::apply_eval_grease_pencil_data(), 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(), RenderData::cfra, DEG_get_bmain(), DEG_get_ctime(), DEG_get_evaluated(), depsgraph, blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::bke::greasepencil::ensure_non_empty_layer_names(), blender::bke::greasepencil::Layer::frames(), GeometrySet::from_grease_pencil(), blender::IndexMask::from_indices(), GeometrySet::get_component_for_write(), GeometrySet::has_grease_pencil(), i, GreasePencil::id, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), 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, Scene::r, GreasePencil::runtime, Object::runtime, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), ModifierData::type, and WM_cursor_wait().
Referenced by modifier_apply_obdata().
|
static |
Definition at line 668 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_idtype_idcode_to_name(), BKE_lattice_transform(), BKE_main_id_newptr_and_tag_clear(), BKE_mball_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(), C, 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(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, GreasePencilFrame::drawing_index, ELEM, fabsf, Curve::flag, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::foreach_item(), blender::bke::greasepencil::Layer::frames(), Curve::fsize, GP_DRAWING, GS, TextBox::h, i, Light::id, Object::id, 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::MutableSpan< T >::index_range(), blender::math::invert(), invert_m3_m3(), invert_m4_m4(), blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), Curve::key, LA_AREA, LA_AREA_DISK, LA_AREA_ELLIPSE, LA_AREA_RECT, LA_AREA_SQUARE, Object::loc, mat3_to_scale(), mat4_to_scale(), max_fff(), blender::bke::mesh_transform(), 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_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, OPERATOR_CANCELLED, blender::threading::parallel_for(), Object::parentinv, ptr, Object::quat, blender::bke::greasepencil::Drawing::radii_for_write(), reports, Object::rot, Object::rotAngle, Object::rotAxis, RPT_ERROR, RPT_WARNING, Object::scale, single_obdata_user_make(), sorted_selected_editable_objects(), blender::bke::greasepencil::Drawing::strokes_for_write(), Curve::tb, blender::bke::greasepencil::Layer::to_object_space(), Curve::totbox, MovieClip::tracking, 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 614 of file object_transform.cc.
References C, 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 649 of file object_transform.cc.
References apply_objects_internal_can_multiuser(), BLI_assert, C, 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 1277 of file object_transform.cc.
References arithmetic_mean(), blender::Span< T >::begin(), blender::Span< T >::end(), blender::Span< T >::is_empty(), and blender::Span< T >::size().
Referenced by arithmetic_mean(), and object_origin_set_exec().
|
static |
Definition at line 146 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4(), and blender::MatBase< float, 4, 4 >::identity().
Referenced by data_xform_restore().
|
static |
Definition at line 138 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4_recurse(), BKE_armature_transform(), bArmature::bonebase, and blender::Span< T >::data().
Referenced by armature_coords_and_quats_apply(), and data_xform_by_mat4().
|
static |
Definition at line 110 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(), bArmature::bonebase, and blender::MutableSpan< T >::data().
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 1399 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::corner_data, Mesh::corners_num, blender::ed::object::BakeAPIRender::custom_cage, CustomData_get_named_layer(), CustomData_has_layer(), DAG_EVAL_RENDER, Object::data, DEG_disable_visibility_optimization(), DEG_get_evaluated(), DEG_graph_build_from_view_layer(), DEG_graph_free(), DEG_graph_new(), depsgraph, eModifierMode_Render, eModifierType_EdgeSplit, eModifierType_Multires, Mesh::faces_num, ListBase::first, MultiresModifierData::flags, i, 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_calloc_arrayN(), MEM_freeN(), MEM_malloc_arrayN(), 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, ID::orig_id, 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_IMAGE_TEXTURES, 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, reports, 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, UNLIKELY, 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 164 of file object_bake_api.cc.
References G.
Referenced by bake_exec(), and bake_invoke().
|
static |
Definition at line 1931 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(), C, CTX_data_scene(), 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, 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 636 of file object_bake.cc.
References BLI_assert, C, 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 1864 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::area, BKE_screen_find_big_area(), C, 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 2171 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, C, 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 2049 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 2044 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 717 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 140 of file object_bake_api.cc.
References C, 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 473 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, i, Image::id, Material::id, Object::id, ID_TAG_DOIT, LISTBASE_FOREACH, lock, ID::name, blender::bke::node_is_connected_to_output(), OB_MESH, R_BAKE_TARGET_IMAGE_TEXTURES, R_BAKE_TARGET_VERTEX_COLORS, reports, RPT_ERROR, RPT_INFO, ID::tag, ImageUser::tile, tile, Image::tiles, 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().
Referenced by bake_object_image_get_array(), and multiresbake_check().
Definition at line 55 of file object_bake.cc.
References bake_object_image_get(), i, MEM_malloc_arrayN(), and Object::totcol.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 649 of file object_bake_api.cc.
References bake_object_check(), BKE_main_id_tag_idcode(), BKE_report(), BKE_reportf(), 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, reports, RPT_ERROR, and Object::type.
Referenced by bake_exec(), and bake_startjob().
|
static |
Definition at line 592 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, reports, 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 127 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::do_update, blender::ed::object::BakeAPIRender::progress, and progress.
Referenced by bake_invoke().
|
static |
Definition at line 1156 of file object_bake_api.cc.
References add_v3_v3(), add_v4_v4(), and result.
Referenced by bake_targets_output_vertex_colors().
|
static |
Definition at line 2064 of file object_bake_api.cc.
References RenderData::bake, wmOperator::ptr, Scene::r, 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 1992 of file object_bake_api.cc.
References bake(), bake_objects_check(), bake_pass_filter_check(), bake_targets_clear(), blender::ed::object::BakeAPIRender::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, 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, 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 707 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 1390 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 1316 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_calloc_arrayN(), 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(), reports, BakeTargets::result, blender::ed::object::BakeAPIRender::save_mode, and blender::ed::object::BakeAPIRender::target.
Referenced by bake().
|
static |
Definition at line 875 of file object_bake_api.cc.
References bake_targets_init_image_textures(), BakeImage::height, blender::ed::object::BakeAPIRender::height, i, 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, reports, BakeImage::width, and blender::ed::object::BakeAPIRender::width.
Referenced by bake_targets_init().
|
static |
Definition at line 732 of file object_bake_api.cc.
References BKE_main_id_tag_idcode(), BKE_report(), ED_object_get_active_image(), i, Image::id, ID_IM, ID_TAG_DOIT, BakeImage::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_calloc_arrayN(), MEM_recallocN, R_BAKE_SAVE_INTERNAL, reports, RPT_ERROR, blender::ed::object::BakeAPIRender::save_mode, ID::tag, tile, BakeImage::tile_number, Image::tiles, and Object::totcol.
Referenced by bake_targets_init_external(), and bake_targets_init_internal().
|
static |
Definition at line 788 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, i, Image::id, BakeImage::image, BakeTargets::images, BakeTargets::images_num, lock, ID::name, BakeImage::offset, BakeTargets::pixels_num, reports, 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 1001 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_calloc_arrayN(), MEM_callocN(), OB_MESH, BakeImage::offset, BakeTargets::pixels_num, reports, RPT_ERROR, Object::totcol, Object::type, and BakeImage::width.
Referenced by bake_targets_init().
|
static |
Definition at line 1366 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, reports, blender::ed::object::BakeAPIRender::save_mode, and blender::ed::object::BakeAPIRender::target.
Referenced by bake().
|
static |
Definition at line 909 of file object_bake_api.cc.
References RenderData::bake, BKE_image_path_from_imtype(), BKE_main_blendfile_path(), BKE_reportf(), BLI_assert_msg, BLI_path_suffix(), BakeTargets::channels_num, FILE_MAX, blender::ed::object::BakeAPIRender::filepath, BakeImage::height, i, Material::id, Object::id, blender::ed::object::BakeAPIRender::identifier, BakeTargets::images, BakeTargets::images_num, blender::ed::object::BakeAPIRender::is_automatic_name, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), 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, reports, BakeTargets::result, RPT_ERROR, RPT_INFO, SCE_PASS_NORMAL, blender::ed::object::BakeAPIRender::scene, SNPRINTF, BakeImage::tile_number, UNUSED_VARS_NDEBUG, 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 827 of file object_bake_api.cc.
References blender::ed::object::BakeAPIRender::area, bake_update_image(), BKE_report(), BKE_reportf(), BakeTargets::channels_num, BakeImage::height, i, 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, reports, 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 1190 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, data, Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), i, ID_RECALC_GEOMETRY, BakeTargets::is_noncolor, l, MEM_calloc_arrayN(), MEM_freeN(), MEM_SAFE_FREE, mul_v4_fl(), CustomDataLayer::name, blender::bke::Point, BakeTargets::result, result, CustomDataLayer::type, v, and zero_v4().
Referenced by bake_targets_output().
|
static |
Definition at line 1352 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 1065 of file object_bake_api.cc.
References CD_ORIGINDEX, blender::bke::mesh::corner_tris_calc(), Mesh::corners_num, CustomData_get_layer(), Object::data, BakePixel::du_dx, BakePixel::du_dy, BakePixel::dv_dx, BakePixel::dv_dy, Mesh::face_data, Mesh::faces_num, find_original_loop(), i, l, MEM_freeN(), MEM_malloc_arrayN(), BakePixel::object_id, ORIGINDEX_NONE, BakeTargets::pixels_num, poly_to_tri_count(), BakePixel::primitive_id, BakePixel::seed, BakePixel::uv, v, and Mesh::vert_data.
Referenced by bake_targets_populate_pixels().
|
static |
Definition at line 353 of file object_bake_api.cc.
References BKE_image_free_gputextures(), BKE_image_partial_update_mark_full_update(), DEG_id_tag_update(), i, Image::id, BakeImage::image, BakeTargets::images, and BakeTargets::images_num.
Referenced by bake().
Definition at line 172 of file object_bake_api.cc.
References ListBase::first, SpaceImage::image, SPACE_IMAGE, ScrArea::spacedata, and ScrArea::spacetype.
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(), C, 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(), select_grouped_parent(), and select_marker_camera_switch().
Definition at line 116 of file object_select.cc.
References base_activate(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), C, 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 click_select_channel_object(), 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 active, DEG_id_tag_update(), ListBase::first, Scene::id, ID_RECALC_SELECT, NC_SCENE, ND_OB_ACTIVE, Main::wm, WM_main_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by base_activate(), ED_undo_object_set_active_or_warn(), and visual_geometry_to_objects_exec().
| 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 2181 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(), blender::ed::curves::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), 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 2203 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
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(), blender::ed::transform::clear_trans_object_base_flags(), click_select_channel_object(), 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(), ED_undo_object_editmode_restore_helper(), 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(), select_marker_camera_switch(), and blender::ed::outliner::tree_element_object_activate().
|
static |
Definition at line 193 of file object_bake_api.cc.
References BLI_assert, fabsf, x, and y.
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(), C, FILTER_ID_NT, GEO_NODE_ASSET_MODIFIER, blender::ed::asset::AssetFilterSettings::id_types, IDP_Int, and NTREE_GEOMETRY.
Referenced by root_catalogs_draw().
| bool blender::ed::object::calc_active_center | ( | Object * | ob, |
| bool | select_only, | ||
| float | r_center[3] ) |
Definition at line 135 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 blender::ed::transform::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 63 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, Object::loc, mul_m4_v3(), OB_ARMATURE, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_SURF, SELECT, Object::type, BPoint::vec, and MetaElem::x.
Referenced by calc_active_center(), blender::ed::transform::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 125 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 blender::ed::transform::calculateCenterActive().
Definition at line 79 of file add_modifier_assets.cc.
References BLI_assert, C, 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, uiLayout::op(), blender::ed::asset::operator_asset_reference_props_set(), ot, uiLayout::separator(), tree, UI_ITEM_NONE, WM_OP_INVOKE_DEFAULT, and WM_operatortype_find().
Referenced by modifier_add_catalog_assets_menu_type().
Definition at line 1141 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 3054 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 4203 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BKE_report(), BLI_findlink(), check_vertex_group_accessible(), DG_LOCK_WEIGHT, bDeformGroup::flag, wmOperator::reports, and RPT_ERROR.
Referenced by check_vertex_group_accessible(), vertex_weight_delete_exec(), and vertex_weight_paste_exec().
|
static |
Definition at line 928 of file object_constraint.cc.
References BKE_report(), C, CONSTRAINT_TYPE_CHILDOF, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 949 of file object_constraint.cc.
References C, childof_clear_inverse_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_childof_clear_inverse().
|
static |
Definition at line 872 of file object_constraint.cc.
References BKE_report(), C, CHILDOF_SET_INVERSE, CONSTRAINT_TYPE_CHILDOF, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 898 of file object_constraint.cc.
References C, childof_set_inverse_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_childof_set_inverse().
|
static |
Definition at line 305 of file object_bake.cc.
References clear_single_image(), flag, i, Image::id, ID_TAG_DOIT, and ID::tag.
Referenced by multiresbake_image_exec_locked(), and multiresbake_startjob().
|
static |
Definition at line 2774 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, C, 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, Scene::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 271 of file object_bake.cc.
References BKE_image_acquire_ibuf(), BKE_image_release_ibuf(), BKE_imageuser_default(), CLEAR_DISPLACEMENT, CLEAR_TANGENT_NORMAL, flag, Image::id, ID_TAG_DOIT, IMB_rectfill(), LISTBASE_FOREACH, ImBuf::planes, R_IMF_PLANES_RGBA, ID::tag, ImageUser::tile, tile, and Image::tiles.
Referenced by clear_images_poly().
|
static |
Definition at line 861 of file object_collection.cc.
References BKE_collection_add(), BKE_collection_object_add(), C, context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Collection::id, 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 1664 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(), C, blender::ed::object::CollectionAddInfo::collection, LayerCollection::collection, Main::collections, CTX_data_main(), CTX_data_view_layer(), CTX_wm_region_view3d(), ED_view3d_cursor3d_position(), ID_GR, blender::ed::object::CollectionAddInfo::loc, blender::ed::object::CollectionAddInfo::local_view_bits, 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(), blender::ed::object::CollectionAddInfo::rot, blender::ed::object::CollectionAddInfo::scale, 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 407 of file object_collection.cc.
References BKE_collection_add(), BKE_collection_object_add(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Collection::id, 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 1810 of file object_add.cc.
References add_type(), BKE_collection_child_remove(), BKE_view_layer_array_selected_objects_params(), C, LayerCollection::collection, collection_add_info_get_from_op(), CTX_data_layer_collection(), CTX_data_main(), CTX_data_view_layer(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), 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(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), Object::transflag, translate_m4(), U, unit_m4(), and UNPACK3.
Referenced by OBJECT_OT_collection_external_asset_drop().
|
static |
Definition at line 701 of file object_collection.cc.
References C, collection_exporter_export(), blender::ed::object::CollectionExportStats::collections_num, data, Collection::exporters, 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 471 of file object_collection.cc.
References C, and CTX_data_view_layer().
Referenced by WM_OT_collection_export_all().
|
static |
Definition at line 758 of file object_collection.cc.
References C, 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 476 of file object_collection.cc.
References Collection::active_exporter_index, BKE_collection_exporter_name_set(), BKE_reportf(), BKE_view_layer_need_resync_tag(), BLI_addtail(), BLI_listbase_count(), C, CTX_data_collection(), CTX_data_view_layer(), data, DEG_id_tag_update(), blender::bke::FileHandlerType::export_operator, Collection::exporters, blender::bke::file_handler_find(), Collection::id, ID_RECALC_SYNC_TO_EVAL, blender::bke::FileHandlerType::idname, IDP_GROUP, IDP_New(), IO_HANDLER_PANEL_OPEN, blender::bke::FileHandlerType::label, MAX_ID_NAME, MEM_callocN(), 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 452 of file object_collection.cc.
References Collection::id, 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 592 of file object_collection.cc.
References BKE_main_blendfile_path(), BKE_reportf(), BLI_path_abs(), BLI_path_basename(), BLI_path_extension(), BLI_path_join, C, CTX_data_main(), data, blender::bke::FileHandlerType::export_operator, blender::bke::file_handler_find(), FILE_MAX, blender::bke::FileHandlerType::get_default_filename(), Collection::id, IDP_CopyProperty(), IDP_FreeProperty(), ID::name, OPERATOR_CANCELLED, OPERATOR_FINISHED, ot, wmOperator::reports, RNA_pointer_create_discrete(), RNA_string_get(), RNA_string_set(), RPT_ERROR, RPT_INFO, 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 665 of file object_collection.cc.
References BLI_findlink(), C, collection_exporter_export(), CTX_data_collection(), data, Collection::exporters, OPERATOR_CANCELLED, wmOperator::ptr, and RNA_int_get().
Referenced by COLLECTION_OT_exporter_export().
Definition at line 824 of file object_collection.cc.
References blender::bke::file_handlers(), IFACE_, uiLayout::label(), Menu::layout, uiLayout::op(), RNA_string_set(), and WM_operatortype_find().
Referenced by collection_exporter_register().
|
static |
Definition at line 458 of file object_collection.cc.
References C, 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 844 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, MEM_callocN(), N_, STRNCPY(), WM_menutype_add(), WM_operatortype_append(), and WM_OT_collection_export_all().
Referenced by operatortypes_object().
|
static |
Definition at line 537 of file object_collection.cc.
References Collection::active_exporter_index, BKE_collection_exporter_free_data(), BKE_view_layer_need_resync_tag(), BLI_findlink(), BLI_listbase_count(), BLI_remlink(), C, count, CTX_data_collection(), CTX_data_view_layer(), data, DEG_id_tag_update(), Collection::exporters, Collection::id, 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 566 of file object_collection.cc.
References ALERT_ICON_NONE, C, IFACE_, and WM_operator_confirm_ex().
Referenced by COLLECTION_OT_exporter_remove().
|
static |
Definition at line 464 of file object_collection.cc.
References BLI_listbase_is_empty(), C, collection_exporter_common_check(), CTX_data_collection(), and Collection::exporters.
Referenced by COLLECTION_OT_exporter_remove().
Definition at line 456 of file object_edit.cc.
References BKE_layer_collection_findindex(), BKE_layer_collection_has_selected_objects(), C, 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, uiLayout::op(), RNA_int_set(), uiLayout::row(), uiLayoutSetOperatorContext(), and WM_OP_INVOKE_REGION_WIN.
Referenced by hide_collections_menu_draw(), and object_hide_collection_invoke().
|
static |
Definition at line 1719 of file object_add.cc.
References add_type(), C, collection_add_info_get_from_op(), copy_v3_v3(), Object::empty_drawsize, id_us_plus(), Object::instance_collection, OB_DUPLICOLLECTION, OB_EMPTY, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::scale, Object::transflag, and U.
Referenced by OBJECT_OT_collection_instance_add().
|
static |
Definition at line 724 of file object_collection.cc.
References BKE_reportf(), C, collection_export(), CTX_data_collection(), Collection::id, ID::name, 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 897 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_add(), BKE_collection_object_cyclic_check(), BKE_report(), BLI_findlink(), C, Main::collections, context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, Collection::id, 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 111 of file object_collection.cc.
References BKE_collection_object_find(), and i.
Referenced by collection_objects_remove_exec(), objects_add_active_exec(), and objects_remove_active_exec().
|
static |
Definition at line 58 of file object_collection.cc.
References BKE_collection_object_find(), C, context_object(), count, CTX_data_main(), CTX_data_scene(), i, Collection::id, ID::name, 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 300 of file object_collection.cc.
References BKE_object_groups_clear(), C, 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 331 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_remove(), C, 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 434 of file object_collection.cc.
References collection_create_exec(), ED_operator_objectmode(), MAX_ID_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_string().
Referenced by operatortypes_object().
|
static |
Definition at line 743 of file object_collection.cc.
References collection_exporter_poll(), collection_io_export_all_exec(), and ot.
Referenced by collection_exporter_register().
|
static |
Definition at line 520 of file object_collection.cc.
References collection_exporter_add_exec(), collection_exporter_poll(), MAX_ID_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_string().
Referenced by collection_exporter_register().
|
static |
Definition at line 679 of file object_collection.cc.
References collection_exporter_export_exec(), collection_exporter_poll(), ot, and RNA_def_int().
Referenced by collection_exporter_register().
|
static |
Definition at line 574 of file object_collection.cc.
References collection_exporter_remove_exec(), collection_exporter_remove_invoke(), collection_exporter_remove_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by collection_exporter_register().
| void blender::ed::object::COLLECTION_OT_objects_add_active | ( | wmOperatorType * | ot | ) |
Definition at line 189 of file object_collection.cc.
References collection_object_active_itemf(), ED_operator_objectmode(), objects_add_active_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove | ( | wmOperatorType * | ot | ) |
Definition at line 378 of file object_collection.cc.
References collection_object_active_itemf(), collection_objects_remove_exec(), ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove_active | ( | wmOperatorType * | ot | ) |
Definition at line 271 of file object_collection.cc.
References collection_object_active_itemf(), ED_operator_objectmode(), objects_remove_active_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::COLLECTION_OT_objects_remove_all | ( | wmOperatorType * | ot | ) |
Definition at line 316 of file object_collection.cc.
References collection_objects_remove_all_exec(), ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
|
static |
Definition at line 974 of file object_collection.cc.
References BKE_collection_object_remove(), BKE_report(), C, context_object(), CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), Collection::id, 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 1016 of file object_collection.cc.
References BKE_id_delete(), BKE_report(), BLI_assert, C, COLLECTION_IS_MASTER, CTX_data_collection(), CTX_data_main(), DEG_relations_tag_update(), Collection::flag, ID::flag, IDOverrideLibrary::hierarchy_root, Collection::id, ID_FLAG_EMBEDDED_DATA, ID_IS_OVERRIDE_LIBRARY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, ID::override_library, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by OBJECT_OT_collection_unlink().
|
static |
Definition at line 1047 of file object_collection.cc.
References BLI_assert, C, COLLECTION_IS_MASTER, CTX_data_collection(), ED_operator_objectmode(), Collection::flag, ID::flag, IDOverrideLibrary::hierarchy_root, Collection::id, ID_FLAG_EMBEDDED_DATA, ID_IS_OVERRIDE_LIBRARY, and ID::override_library.
Referenced by OBJECT_OT_collection_unlink().
| bConstraint * blender::ed::object::constraint_active_get | ( | Object * | ob | ) |
Single constraint.
Definition at line 150 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 80 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 1243 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 2301 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(), BLI_addtail(), C, constraint_dependency_tag_update(), CONSTRAINT_TYPE_ARMATURE, CONSTRAINT_TYPE_NULL, 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_callocN(), 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(), bArmatureConstraint::targets, Object::type, bConstraintTarget::weight, and WM_event_add_notifier().
Referenced by object_constraint_add_exec(), pose_constraint_add_exec(), and pose_ik_add_exec().
|
static |
Definition at line 1440 of file object_constraint.cc.
References BKE_constraint_apply_and_remove_for_object(), BKE_constraint_apply_and_remove_for_pose(), BKE_report(), BKE_reportf(), C, 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 1506 of file object_constraint.cc.
References C, constraint_apply_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_apply().
|
static |
Definition at line 1539 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(), C, 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 1346 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 1355 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 1591 of file object_constraint.cc.
References C, constraint_copy_exec(), edit_constraint_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_copy().
|
static |
Definition at line 1624 of file object_constraint.cc.
References BKE_constraint_copy_for_object(), BKE_constraint_copy_for_pose(), BKE_pose_tag_recalc(), BKE_report(), C, 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 1693 of file object_constraint.cc.
References C, 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 1704 of file object_constraint.cc.
References C, 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(), ptr, and UNUSED_VARS.
Referenced by CONSTRAINT_OT_copy_to_selected().
|
static |
Definition at line 1370 of file object_constraint.cc.
References BKE_constraint_remove_ex(), BKE_reportf(), C, 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 1407 of file object_constraint.cc.
References C, 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 1310 of file object_constraint.cc.
References constraint_tag_update(), DEG_relations_tag_update(), object_pose_tag_update(), and Object::pose.
Referenced by constraint_add_exec(), constraint_copy_for_object(), constraint_copy_for_pose(), and constraint_link().
Definition at line 1277 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 1336 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 pose-channel this is from (if applicable).
Definition at line 114 of file object_constraint.cc.
References BLI_findindex(), bPose::chanbase, 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 1778 of file object_constraint.cc.
References BLI_insertlinkafter(), BLI_remlink(), C, 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 1800 of file object_constraint.cc.
References C, 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 1320 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 1892 of file object_constraint.cc.
References C, 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 1911 of file object_constraint.cc.
References C, constraint_move_to_index_exec(), and edit_constraint_invoke_properties().
Referenced by CONSTRAINT_OT_move_to_index().
|
static |
Definition at line 1836 of file object_constraint.cc.
References BLI_insertlinkbefore(), BLI_remlink(), C, 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 1858 of file object_constraint.cc.
References C, 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 1515 of file object_constraint.cc.
References constraint_apply_exec(), constraint_apply_invoke(), edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_childof_clear_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 959 of file object_constraint.cc.
References childof_clear_inverse_exec(), childof_clear_inverse_invoke(), edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_childof_set_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 908 of file object_constraint.cc.
References childof_set_inverse_exec(), childof_set_inverse_invoke(), edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 1600 of file object_constraint.cc.
References constraint_copy_exec(), constraint_copy_invoke(), edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1755 of file object_constraint.cc.
References constraint_copy_to_selected_exec(), constraint_copy_to_selected_invoke(), constraint_copy_to_selected_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1416 of file object_constraint.cc.
References constraint_delete_exec(), constraint_delete_invoke(), edit_constraint_poll(), edit_constraint_properties(), edit_constraint_report_property(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_followpath_path_animate | ( | wmOperatorType * | ot | ) |
Definition at line 1081 of file object_constraint.cc.
References edit_constraint_poll(), edit_constraint_properties(), followpath_path_animate_exec(), followpath_path_animate_invoke(), MAXFRAME, MINAFRAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_limitdistance_reset | ( | wmOperatorType * | ot | ) |
Definition at line 828 of file object_constraint.cc.
References edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), limitdistance_reset_exec(), limitdistance_reset_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 1811 of file object_constraint.cc.
References constraint_move_down_exec(), constraint_move_down_invoke(), edit_constraint_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_to_index | ( | wmOperatorType * | ot | ) |
Definition at line 1922 of file object_constraint.cc.
References constraint_move_to_index_exec(), constraint_move_to_index_invoke(), edit_constraint_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 1869 of file object_constraint.cc.
References constraint_move_up_exec(), constraint_move_up_invoke(), edit_constraint_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_objectsolver_clear_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 1218 of file object_constraint.cc.
References edit_constraint_poll(), edit_constraint_properties(), objectsolver_clear_inverse_exec(), objectsolver_clear_inverse_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_objectsolver_set_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 1162 of file object_constraint.cc.
References edit_constraint_poll(), edit_constraint_properties(), objectsolver_set_inverse_exec(), objectsolver_set_inverse_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::CONSTRAINT_OT_stretchto_reset | ( | wmOperatorType * | ot | ) |
Definition at line 771 of file object_constraint.cc.
References edit_constraint_liboverride_allowed_poll(), edit_constraint_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 1287 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 475 of file object_constraint.cc.
References CONSTRAINT_OBTYPE_BONE, CONSTRAINT_OBTYPE_OBJECT, OB_ARMATURE, and Object::type.
Referenced by test_constraints().
Definition at line 1256 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 148 of file object_edit.cc.
References C, context_object(), and CTX_data_active_object().
Referenced by blender::ed::object::bake_simulation::bake_simulation_poll(), bone_collection_assign_exec(), bone_collection_assign_poll(), bone_collection_unassign_exec(), bone_collection_unassign_named_exec(), 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(), dynamicpaint_bake_exec(), 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_object_active_only(), ED_operator_outliner_active_no_editobject(), ED_operator_posemode_exclusive(), 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_camera_custom_update_exec(), object_camera_custom_update_poll(), 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(), operator_rigidbody_active_poll(), operator_rigidbody_add_poll(), operator_rigidbody_con_active_poll(), output_toggle_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(), surface_slot_add_exec(), surface_slot_remove_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(), type_toggle_exec(), uiTemplateConstraints(), uiTemplateModifiers(), and uiTemplateShaderFx().
context.object
Definition at line 143 of file object_edit.cc.
References C, CTX_data_pointer_get_type(), and PointerRNA::data.
Referenced by blender::nodes::add_attribute_search_button(), blender::nodes::add_layer_name_search_button(), add_or_move_to_collection_exec(), armature_bone_select_poll(), bone_collection_create_and_assign_exec(), bone_collection_create_and_assign_poll(), 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(), 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_mode_itemf(), blender::ed::geometry::geometry_attribute_convert_poll(), blender::ed::geometry::geometry_attribute_convert_ui(), 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(), particle_system_add_exec(), particle_system_remove_exec(), set_active_group_exec(), shape_key_add_exec(), shape_key_clear_exec(), shape_key_copy_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(), 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_lock_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(), vgroup_move_exec(), and vgroup_selection_itemf_helper().
|
static |
Definition at line 3476 of file object_add.cc.
References convert_curves(), convert_curves_component_to_curves(), convert_curves_to_grease_pencil(), convert_curves_to_mesh(), OB_GREASE_PENCIL, and OB_MESH.
Referenced by convert_curves(), and object_convert_exec().
|
static |
Definition at line 2950 of file object_add.cc.
References BKE_id_new(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_material_from_eval_data(), BKE_reportf(), blender::ed::object::ObjectConversionInfo::bmain, DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, Curves::geometry, get_object_for_conversion(), Curves::id, Object::id, ID::name, OB_CURVES, OB_DONE, Base::object, blender::ed::object::ObjectConversionInfo::reports, RPT_WARNING, and Object::runtime.
Referenced by convert_curves(), convert_curves_legacy_to_curves(), and convert_mesh_to_curves().
|
static |
Definition at line 3885 of file object_add.cc.
References convert_curves_legacy(), convert_curves_legacy_to_curves(), convert_curves_legacy_to_grease_pencil(), convert_curves_legacy_to_mesh(), OB_CURVES, OB_GREASE_PENCIL, and OB_MESH.
Referenced by convert_curves_legacy(), and object_convert_exec().
|
static |
Definition at line 3827 of file object_add.cc.
References convert_curves_component_to_curves(), convert_curves_legacy_to_curves(), and convert_grease_pencil_component_to_curves().
Referenced by convert_curves_legacy(), and convert_curves_legacy_to_curves().
|
static |
Definition at line 3838 of file object_add.cc.
References add_grease_pencil_materials_for_conversion(), BKE_grease_pencil_add(), BKE_id_free(), BKE_id_name(), BLI_assert, blender::ed::object::ObjectConversionInfo::bmain, RenderData::cfra, convert_curves_legacy_to_grease_pencil(), CU_BACK, CU_FRONT, blender::bke::curve_legacy_to_curves(), Object::data, DATA_, DEG_id_tag_update(), MutableSpan< T >::fill(), Curve::flag, Object::flag, Curves::geometry, get_object_for_conversion(), Curve::id, GreasePencil::id, ID_RECALC_GEOMETRY, GreasePencil::material_array_num, OB_CURVES_LEGACY, OB_DONE, OB_GREASE_PENCIL, Base::object, Scene::r, blender::bke::greasepencil::Drawing::radii_for_write(), blender::ed::object::ObjectConversionInfo::scene, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), Object::totcol, and Object::type.
Referenced by convert_curves_legacy(), and convert_curves_legacy_to_grease_pencil().
|
static |
Definition at line 3809 of file object_add.cc.
References BKE_object_free_derived_caches(), blender::ed::object::ObjectConversionInfo::bmain, convert_curves_legacy_to_mesh(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, get_object_for_conversion(), OB_DONE, Base::object, and object_data_convert_curve_to_mesh().
Referenced by convert_curves_legacy(), and convert_curves_legacy_to_mesh().
|
static |
Definition at line 3417 of file object_add.cc.
References BKE_grease_pencil_copy_for_eval(), BKE_grease_pencil_new_nomain(), BKE_grease_pencil_nomain_to_grease_pencil(), BKE_id_new(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_material_from_eval_data(), BKE_reportf(), BLI_assert, blender::ed::object::ObjectConversionInfo::bmain, convert_curves_to_grease_pencil(), DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, MutableSpan< T >::fill(), Object::flag, Curves::geometry, get_object_for_conversion(), Curves::id, GreasePencil::id, Object::id, ID::name, OB_DONE, OB_GREASE_PENCIL, Base::object, blender::bke::greasepencil::Drawing::radii_for_write(), blender::ed::object::ObjectConversionInfo::reports, RPT_WARNING, Object::runtime, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by convert_curves(), and convert_curves_to_grease_pencil().
|
static |
Definition at line 3367 of file object_add.cc.
References BKE_id_new(), BKE_mesh_copy_for_eval(), BKE_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_material_from_eval_data(), BKE_reportf(), blender::ed::object::ObjectConversionInfo::bmain, convert_curves_to_mesh(), blender::bke::curve_to_wire_mesh(), DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, Curves::geometry, get_object_for_conversion(), Curves::id, Mesh::id, Object::id, ID::name, OB_DONE, OB_MESH, Base::object, blender::ed::object::ObjectConversionInfo::reports, RPT_WARNING, Object::runtime, and Node::type.
Referenced by convert_curves(), and convert_curves_to_mesh().
|
static |
Definition at line 1173 of file object_bake_api.cc.
References MPropCol::color, i, linearrgb_to_srgb_uchar4(), num, MLoopCol::r, and unit_float_to_uchar_clamp_v4.
Referenced by bake_targets_output_vertex_colors().
|
static |
Definition at line 3789 of file object_add.cc.
References convert_font(), convert_font_to_curves(), convert_font_to_curves_legacy(), convert_font_to_grease_pencil(), convert_font_to_mesh(), OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, and OB_MESH.
Referenced by convert_font(), and object_convert_exec().
|
static |
Definition at line 3601 of file object_add.cc.
References BKE_curve_dimension_update(), BKE_vfont_to_curve_ex(), blender::ed::object::ObjectConversionInfo::bmain, convert_font_to_curve_legacy_generic(), CU_3D, CURVE_VFONT_CLEAR, Object::data, DEG_get_evaluated(), DEG_id_tag_update(), blender::ed::object::ObjectConversionInfo::depsgraph, ListBase::first, Curve::flag, FO_EDIT, Curve::id, Object::id, ID_REAL_USERS, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, blender::ed::object::ObjectConversionInfo::keep_original, LISTBASE_FOREACH, ID::next, Curve::nurb, OB_CURVES_LEGACY, Curve::ob_type, Main::objects, and Object::type.
Referenced by convert_font_to_curve_legacy_generic(), convert_font_to_curves(), convert_font_to_curves_legacy(), and convert_font_to_grease_pencil().
|
static |
Definition at line 3672 of file object_add.cc.
References BKE_curves_add(), BKE_id_free(), BKE_id_name(), BLI_assert, blender::ed::object::ObjectConversionInfo::bmain, convert_font_to_curve_legacy_generic(), convert_font_to_curves(), blender::bke::curve_legacy_to_curves(), blender::bke::curves_copy_parameters(), Object::data, Object::flag, Curves::geometry, get_object_for_conversion(), Curve::id, OB_CURVES, OB_CURVES_LEGACY, OB_DONE, Base::object, and Object::type.
Referenced by convert_font(), and convert_font_to_curves().
|
static |
Definition at line 3661 of file object_add.cc.
References convert_font_to_curve_legacy_generic(), convert_font_to_curves_legacy(), Object::flag, get_object_for_conversion(), OB_DONE, and Base::object.
Referenced by convert_font(), convert_font_to_curves_legacy(), and convert_font_to_mesh().
|
static |
Definition at line 3732 of file object_add.cc.
References add_grease_pencil_materials_for_conversion(), BKE_grease_pencil_add(), BKE_id_delete(), BKE_id_free(), BKE_id_name(), BLI_assert, blender::ed::object::ObjectConversionInfo::bmain, RenderData::cfra, convert_font_to_curve_legacy_generic(), convert_font_to_grease_pencil(), CU_BACK, CU_FRONT, blender::bke::curve_legacy_to_curves(), Object::data, DATA_, MutableSpan< T >::fill(), Curve::flag, Object::flag, Curves::geometry, get_object_for_conversion(), Curve::id, GreasePencil::material_array_num, OB_CURVES_LEGACY, OB_DONE, OB_GREASE_PENCIL, Base::object, Scene::r, blender::bke::greasepencil::Drawing::radii_for_write(), blender::ed::object::ObjectConversionInfo::scene, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), Object::totcol, and Object::type.
Referenced by convert_font(), and convert_font_to_grease_pencil().
|
static |
Definition at line 3775 of file object_add.cc.
References BKE_object_free_derived_caches(), blender::ed::object::ObjectConversionInfo::bmain, convert_font_to_curves_legacy(), convert_font_to_mesh(), blender::ed::object::ObjectConversionInfo::depsgraph, and object_data_convert_curve_to_mesh().
Referenced by convert_font(), and convert_font_to_mesh().
|
static |
Definition at line 3585 of file object_add.cc.
References convert_grease_pencil(), convert_grease_pencil_component_to_curves(), convert_grease_pencil_to_mesh(), OB_CURVES, and OB_MESH.
Referenced by convert_grease_pencil(), and object_convert_exec().
|
static |
Definition at line 2988 of file object_add.cc.
References BKE_id_new(), BKE_id_new_nomain(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_material_from_eval_data(), BKE_reportf(), blender::ed::object::ObjectConversionInfo::bmain, DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, blender::bke::GeometrySet::from_curves(), Curves::geometry, blender::bke::GeometrySet::get_curves(), get_object_for_conversion(), i, Curves::id, Object::id, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::geometry::join_geometries(), ID::name, OB_CURVES, OB_DONE, Base::object, blender::ed::object::ObjectConversionInfo::reports, blender::ed::greasepencil::retrieve_visible_drawings(), RPT_WARNING, Object::runtime, blender::ed::object::ObjectConversionInfo::scene, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by convert_curves_legacy_to_curves(), convert_grease_pencil(), and convert_mesh_to_curves().
|
static |
Definition at line 3491 of file object_add.cc.
References BKE_id_free(), BKE_id_new(), BKE_id_new_nomain(), BKE_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_material_from_eval_data(), BKE_reportf(), blender::ed::object::ObjectConversionInfo::bmain, convert_grease_pencil_to_mesh(), blender::bke::curve_to_wire_mesh(), DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, blender::bke::GeometrySet::from_curves(), Curves::geometry, blender::bke::GeometrySet::get_curves(), get_object_for_conversion(), i, Curves::id, Object::id, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::geometry::join_geometries(), ID::name, OB_CURVES, OB_DONE, OB_MESH, Base::object, blender::bke::CurvesGeometry::points_range(), blender::bke::CurvesGeometry::positions_for_write(), blender::ed::object::ObjectConversionInfo::reports, blender::ed::greasepencil::retrieve_visible_drawings(), RPT_WARNING, Object::runtime, blender::ed::object::ObjectConversionInfo::scene, blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::bke::greasepencil::Layer::to_object_space(), blender::math::transform_point(), and Node::type.
Referenced by convert_grease_pencil(), and convert_grease_pencil_to_mesh().
|
static |
Definition at line 3949 of file object_add.cc.
References convert_mball(), convert_mball_to_mesh(), and OB_MESH.
Referenced by convert_mball(), and object_convert_exec().
|
static |
Definition at line 3902 of file object_add.cc.
References Object::base_flag, BASE_SELECTED, BKE_mball_basis_find(), BKE_mesh_new_from_object_to_bmain(), blender::ed::object::ObjectConversionInfo::bmain, convert_mball_to_mesh(), Object::data, DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, duplibase_for_convert(), Base::flag, Object::flag, MetaBall::id, id_us_min(), id_us_plus(), OB_DONE, OB_MBALL, OB_MESH, blender::ed::object::ObjectConversionInfo::obact, Base::object, blender::ed::object::ObjectConversionInfo::scene, Object::type, and blender::ed::object::ObjectConversionInfo::view_layer.
Referenced by convert_mball(), and convert_mball_to_mesh().
|
static |
Definition at line 3344 of file object_add.cc.
References convert_mesh(), convert_mesh_to_curves(), convert_mesh_to_curves_legacy(), convert_mesh_to_grease_pencil(), convert_mesh_to_mesh(), convert_mesh_to_pointcloud(), OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_MESH, and OB_POINTCLOUD.
Referenced by convert_mesh(), and object_convert_exec().
|
static |
Definition at line 3043 of file object_add.cc.
References convert_curves_component_to_curves(), and convert_grease_pencil_component_to_curves().
Referenced by convert_mesh().
|
static |
Definition at line 2930 of file object_add.cc.
References BKE_mesh_to_curve(), BKE_object_free_modifiers(), blender::ed::object::ObjectConversionInfo::bmain, blender::ed::object::ObjectConversionInfo::depsgraph, ED_rigidbody_object_remove(), Object::flag, get_object_for_conversion(), OB_CURVES_LEGACY, OB_DONE, Base::object, Object::rigidbody_object, blender::ed::object::ObjectConversionInfo::scene, and Object::type.
Referenced by convert_mesh().
|
static |
Definition at line 3285 of file object_add.cc.
References BKE_grease_pencil_add(), BKE_id_name(), BKE_object_free_derived_caches(), BKE_object_free_modifiers(), BKE_object_get_evaluated_mesh(), BKE_object_material_resize(), blender::ed::object::ObjectConversionInfo::bmain, RenderData::cfra, blender::ed::object::FillColorRecord::color, convert_mesh_to_grease_pencil(), Object::data, DATA_, DEG_get_evaluated(), blender::ed::object::ObjectConversionInfo::depsgraph, Object::flag, get_object_for_conversion(), Mesh::id, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_range(), blender::bke::greasepencil::LEGACY_RADIUS_CONVERSION_FACTOR, mesh_data_to_grease_pencil(), mesh_to_grease_pencil_add_material(), mesh_to_grease_pencil_get_material_list(), blender::ed::object::FillColorRecord::name, OB_DONE, OB_GREASE_PENCIL, Base::object, blender::ed::object::ObjectConversionInfo::op_props, Scene::r, RNA_boolean_get(), RNA_float_get(), RNA_int_get(), blender::ed::object::ObjectConversionInfo::scene, and Object::type.
Referenced by convert_mesh(), and convert_mesh_to_grease_pencil().
|
static |
Definition at line 3070 of file object_add.cc.
References BKE_mesh_copy_for_eval(), BKE_mesh_merge_customdata_for_apply_modifier(), BKE_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_object_free_modifiers(), BKE_object_get_evaluated_mesh(), BKE_object_material_from_eval_data(), blender::ed::object::ObjectConversionInfo::bmain, CD_SHAPEKEY, CustomData_has_layer(), Object::data, DEG_get_evaluated(), DEG_id_tag_update(), blender::ed::object::ObjectConversionInfo::depsgraph, blender::ed::object::ObjectConversionInfo::do_merge_customdata, Object::flag, get_object_for_conversion(), Key::id, Mesh::id, Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, id_us_min(), blender::ed::object::ObjectConversionInfo::keep_original, Mesh::key, OB_DONE, Base::object, and Mesh::vert_data.
Referenced by convert_mesh().
|
static |
Definition at line 3052 of file object_add.cc.
References BKE_mesh_to_pointcloud(), BKE_object_free_modifiers(), blender::ed::object::ObjectConversionInfo::bmain, blender::ed::object::ObjectConversionInfo::depsgraph, ED_rigidbody_object_remove(), Object::flag, get_object_for_conversion(), OB_DONE, OB_POINTCLOUD, Base::object, blender::ed::object::ObjectConversionInfo::scene, and Object::type.
Referenced by convert_mesh().
|
static |
Definition at line 3982 of file object_add.cc.
References convert_pointcloud(), convert_pointcloud_to_mesh(), and OB_MESH.
Referenced by convert_pointcloud(), and object_convert_exec().
|
static |
Definition at line 3964 of file object_add.cc.
References BKE_object_free_modifiers(), BKE_pointcloud_to_mesh(), blender::ed::object::ObjectConversionInfo::bmain, convert_pointcloud_to_mesh(), blender::ed::object::ObjectConversionInfo::depsgraph, ED_rigidbody_object_remove(), Object::flag, get_object_for_conversion(), OB_DONE, OB_MESH, Base::object, blender::ed::object::ObjectConversionInfo::scene, and Object::type.
Referenced by convert_pointcloud(), and convert_pointcloud_to_mesh().
| 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_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_object_add(), ParticleSystem::childcache, ParticleCacheKey::co, copy_v3_v3(), Object::data, DEG_relations_tag_update(), depsgraph, ParticleSettings::draw, eModifierType_ParticleSystem, blender::bke::SpanAttributeWriter< T >::finish(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), Object::mode, OB_MESH, OB_MODE_PARTICLE_EDIT, ParticleSystem::part, PART_DRAW_PARENT, PART_DRAW_PATH, ParticleSystem::pathcache, blender::bke::Point, psys_eval_get(), ParticleSettings::ren_as, ParticleCacheKey::segments, blender::bke::SpanAttributeWriter< T >::span, ParticleSystem::totcached, ParticleSystem::totchildcache, and ModifierData::type.
Referenced by modifier_convert_exec().
|
static |
Definition at line 2764 of file object_add.cc.
References C, 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 OBJECT_OT_convert().
|
static |
Definition at line 88 of file object_visual_geometry_to_objects.cc.
References BKE_id_material_array_p(), BKE_id_material_len_p(), BKE_id_material_used_eval(), BKE_object_material_get_eval(), DEG_get_original(), i, Material::id, id_us_plus(), Object::mat, Object::matbits, MEM_calloc_arrayN(), and Object::totcol.
|
static |
Definition at line 2345 of file object_add.cc.
References BKE_libblock_relink_to_newid(), BKE_main_id_newptr_and_tag_clear(), BLI_assert, C, 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 512 of file object_data_transform.cc.
References blender::Span< T >::index_range(), and blender::threading::parallel_for().
Referenced by data_xform_by_mat4().
|
static |
Definition at line 523 of file object_data_transform.cc.
References copy_transformed_radii(), blender::Span< T >::index_range(), mat4_to_scale(), and blender::threading::parallel_for().
Referenced by copy_transformed_radii(), and data_xform_by_mat4().
|
static |
Definition at line 2925 of file object_modifier.cc.
References CorrectiveSmoothModifierData::bind_coords, CorrectiveSmoothModifierData::bind_coords_num, BKE_modifier_get_evaluated(), BKE_modifier_is_enabled(), BKE_report(), C, context_active_object(), 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_invoke(), and OBJECT_OT_correctivesmooth_bind().
|
static |
Definition at line 2968 of file object_modifier.cc.
References C, correctivesmooth_bind_exec(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_correctivesmooth_bind().
|
static |
Definition at line 2920 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by 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 788 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, reports, 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 3601 of file object_modifier.cc.
References BLI_uniquename_cb(), C, context_active_object(), blender::StringRefBase::data(), 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_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_add().
|
static |
Definition at line 3654 of file object_modifier.cc.
References C, dash_modifier_segment_add_exec(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_grease_pencil_dash_modifier_segment_add().
|
static |
Definition at line 3681 of file object_modifier.cc.
Referenced by dash_modifier_segment_remove_exec().
|
static |
Definition at line 3744 of file object_modifier.cc.
References C, context_active_object(), DEG_id_tag_update(), Down, 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(), Up, and WM_event_add_notifier().
Referenced by dash_modifier_segment_move_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_move().
|
static |
Definition at line 3791 of file object_modifier.cc.
References C, dash_modifier_segment_move_exec(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_grease_pencil_dash_modifier_segment_move().
|
static |
Definition at line 3596 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by 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 3683 of file object_modifier.cc.
References C, context_active_object(), dash_modifier_segment_free(), 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, blender::dna::array::remove_index(), and WM_event_add_notifier().
Referenced by dash_modifier_segment_remove_invoke(), and OBJECT_OT_grease_pencil_dash_modifier_segment_remove().
|
static |
Definition at line 3709 of file object_modifier.cc.
References C, dash_modifier_segment_remove_exec(), edit_modifier_invoke_properties(), and OPERATOR_CANCELLED.
Referenced by 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(), BKE_reportf(), BLI_SPACE_TRANSFORM_SETUP, C, context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), Object::data, data_transfer_exec_is_object_valid(), data_transfer_exec_preprocess_objects(), DEG_get_evaluated(), 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, RPT_WARNING, 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, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_TAG_DOIT, ID::name, OB_MESH, wmOperator::reports, RPT_WARNING, 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(), C, CTX_data_selected_editable_objects(), Object::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 652 of file object_data_transfer.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_data_transfer().
|
static |
Used by both OBJECT_OT_data_transfer and OBJECT_OT_datalayout_transfer.
Definition at line 564 of file object_data_transfer.cc.
References C, context_active_object(), data, Object::data, OB_MESH, and Object::type.
Referenced by datalayout_transfer_poll(), and OBJECT_OT_data_transfer().
|
static |
Used by both OBJECT_OT_data_transfer and OBJECT_OT_datalayout_transfer.
Definition at line 575 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 float4x4 & | transform ) |
Definition at line 535 of file object_data_transform.cc.
References armature_coords_and_quats_apply_with_mat4(), BKE_curve_nurbs_vert_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(), copy_transformed_positions(), copy_transformed_radii(), CU_IS_2D, CURVE_TYPE_BEZIER, data_xform_by_mat4(), edit_armature_coords_and_quats_apply_with_mat4(), Lattice::editlatt, Curve::editnurb, MetaBall::elems, Curves::geometry, GS, blender::ed::object::XFormObjectData::id, ID_AR, ID_CU_LEGACY, ID_CV, ID_GP, ID_LT, ID_MB, ID_ME, ID_PT, Curve::key, Lattice::key, EditLatt::latt, metaball_coords_and_quats_apply_with_mat4(), ID::name, Curve::nurb, EditNurb::nurbs, and blender::bke::curves::bezier::write_all_positions().
Referenced by data_xform_by_mat4(), and data_xform_container_update_all().
| XFormObjectData_Container * blender::ed::object::data_xform_container_create | ( | ) |
Definition at line 420 of file object_utils.cc.
References BLI_ghash_ptr_new(), and blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map.
Referenced by blender::ed::transform::createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
| void blender::ed::object::data_xform_container_destroy | ( | XFormObjectData_Container * | xds | ) |
Definition at line 427 of file object_utils.cc.
References BLI_ghash_free(), blender::ed::object::XFormObjectData_Container::obdata_in_obmode_map, and trans_obdata_in_obmode_free_elem().
Referenced by blender::ed::transform::freeTransObjectCustomData(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
| void blender::ed::object::data_xform_container_item_ensure | ( | XFormObjectData_Container * | xds, |
| Object * | ob ) |
Definition at line 361 of file object_utils.cc.
References BLI_ghash_ensure_p(), BLI_ghash_ptr_new(), copy_m4_m4(), Object::data, data_xform_create(), 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 blender::ed::transform::createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
| 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 378 of file object_utils.cc.
References BKE_scene_graph_evaluated_ensure(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), data_xform_by_mat4(), DEG_get_evaluated(), 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, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), Object::type, and blender::ed::object::XFormObjectData_Extra::xod.
Referenced by object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), snap_selected_to_location_rotation(), and blender::ed::transform::trans_obdata_in_obmode_update_all().
| std::unique_ptr< XFormObjectData > blender::ed::object::data_xform_create | ( | ID * | id | ) |
Definition at line 502 of file object_data_transform.cc.
References data_xform_create_ex().
Referenced by data_xform_container_item_ensure().
|
static |
Definition at line 317 of file object_data_transform.cc.
References armature_coords_and_quats_get(), BKE_armature_bonelist_count(), BKE_curve_nurbs_vert_coords_alloc(), BKE_grease_pencil_has_curve_with_type(), 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_alloc(), BLI_listbase_count(), bm, BM_mesh_vert_coords_get(), bArmature::bonebase, CURVE_TYPE_BEZIER, bArmature::edbo, edit_armature_coords_and_quats_get(), Lattice::editlatt, Curve::editnurb, MetaBall::elems, Curves::geometry, GS, ID_AR, ID_CU_LEGACY, ID_CV, ID_GP, ID_LT, ID_MB, ID_ME, ID_PT, Curve::key, Lattice::key, EditLatt::latt, metaball_coords_and_quats_get(), ID::name, Curve::nurb, EditNurb::nurbs, OB_FONT, Curve::ob_type, and blender::bke::curves::bezier::retrieve_all_positions().
Referenced by data_xform_create(), and data_xform_create_from_edit_mode().
| std::unique_ptr< XFormObjectData > blender::ed::object::data_xform_create_from_edit_mode | ( | ID * | id | ) |
Definition at line 507 of file object_data_transform.cc.
References data_xform_create_ex().
Referenced by op_generic_value_invoke().
| void blender::ed::object::data_xform_restore | ( | XFormObjectData & | xod | ) |
Definition at line 667 of file object_data_transform.cc.
References armature_coords_and_quats_apply(), BKE_curve_nurbs_vert_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, CURVE_TYPE_BEZIER, data_xform_restore(), edit_armature_coords_and_quats_apply(), Lattice::editlatt, Curve::editnurb, MetaBall::elems, Curves::geometry, GS, blender::ed::object::XFormObjectData::id, ID_AR, ID_CU_LEGACY, ID_CV, ID_GP, ID_LT, ID_MB, ID_ME, ID_PT, Curve::key, Lattice::key, EditLatt::latt, metaball_coords_and_quats_apply(), ID::name, Curve::nurb, EditNurb::nurbs, and blender::bke::curves::bezier::write_all_positions().
Referenced by data_xform_restore(), and op_generic_value_restore().
| void blender::ed::object::data_xform_tag_update | ( | XFormObjectData & | xod | ) |
Definition at line 787 of file object_data_transform.cc.
References data_xform_tag_update(), DEG_id_tag_update(), EDBM_update(), Curves::geometry, GS, bArmature::id, bGPdata::id, blender::ed::object::XFormObjectData::id, Curve::id, Curves::id, GreasePencil::id, Lattice::id, MetaBall::id, ID_AR, ID_CU_LEGACY, ID_CV, ID_GD_LEGACY, ID_GP, ID_LT, ID_MB, ID_ME, ID_PT, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID::name, and params.
Referenced by data_xform_tag_update(), and op_generic_value_restore().
|
static |
Definition at line 837 of file object_data_transfer.cc.
References BKE_object_data_transfer_dttype_to_srcdst_index(), BKE_object_data_transfer_layout(), C, context_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), data_transfer_exec_is_object_valid(), data_transfer_exec_preprocess_objects(), DataTransferModifierData::data_types, DEG_get_evaluated(), 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 915 of file object_data_transfer.cc.
References C, datalayout_transfer_exec(), edit_modifier_invoke_properties(), and WM_menu_invoke().
Referenced by OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 831 of file object_data_transfer.cc.
References C, data_transfer_poll(), edit_modifier_poll_generic(), and OB_MESH.
Referenced by OBJECT_OT_datalayout_transfer().
|
static |
Definition at line 3073 of file object_relations.cc.
References BKE_libblock_find_session_uid(), BKE_report(), C, 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, bNodeTree::id, 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, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, NTREE_GEOMETRY, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_int_get(), RPT_ERROR, bNodeTree::type, 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 3036 of file object_relations.cc.
References BKE_libblock_find_session_uid(), C, 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 2986 of file object_relations.cc.
References BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), C, 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 2964 of file object_relations.cc.
References BKE_object_material_get(), C, 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(), i, EnumPropertyItem::identifier, mask(), EnumPropertyItem::name, RNA_enum_item_add(), RNA_enum_item_add_separator(), types, and EnumPropertyItem::value.
Referenced by dt_layers_select_src_itemf().
|
static |
Definition at line 242 of file object_data_transfer.cc.
References C, 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 C, 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(), C, 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(), 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, i, 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(), C, 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 2843 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, Scene::customdata_mask, CustomData_MeshMasks_update(), Object::data, DEG_graph_tag_relations_update(), DEG_id_tag_update(), depsgraph, 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 convert_mball_to_mesh(), and get_object_for_conversion().
|
static |
Definition at line 4443 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, C, 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(), Scene::id, 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(), U, and WM_event_add_notifier().
Referenced by OBJECT_OT_duplicate().
|
static |
Compare function that matches dupliobject_hash.
Definition at line 2431 of file object_add.cc.
References b, i, MAX_DUPLI_RECUR, DupliObject::ob, OB_DUPLICOLLECTION, DupliObject::persistent_id, and DupliObject::type.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2396 of file object_add.cc.
References BLI_ghashutil_ptrhash(), hash, i, MAX_DUPLI_RECUR, DupliObject::ob, OB_DUPLICOLLECTION, DupliObject::persistent_id, ptr, and DupliObject::type.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2465 of file object_add.cc.
References b, i, MAX_DUPLI_RECUR, and DupliObject::persistent_id.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2418 of file object_add.cc.
References BLI_ghashutil_inthash, hash, i, MAX_DUPLI_RECUR, DupliObject::persistent_id, and ptr.
Referenced by make_object_duplilist_real().
|
static |
Definition at line 2071 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, dvert_mirror_op(), and MDeformWeight::weight.
Referenced by dvert_mirror_op(), and vgroup_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 230 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 315 of file object_modes.cc.
References BASE_SELECTED, BASE_VISIBLE, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, 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 203 of file object_data_transform.cc.
References edit_armature_coords_and_quats_apply_with_mat4(), and blender::MatBase< float, 4, 4 >::identity().
Referenced by data_xform_restore().
|
static |
Definition at line 178 of file object_data_transform.cc.
References COPY_PTR, COPY_VAL, blender::Span< T >::data(), ED_armature_edit_transform(), bArmature::edbo, ListBase::first, and EditBone::next.
Referenced by data_xform_by_mat4(), and edit_armature_coords_and_quats_apply().
|
static |
Definition at line 154 of file object_data_transform.cc.
References COPY_PTR, COPY_VAL, blender::MutableSpan< T >::data(), bArmature::edbo, ListBase::first, and EditBone::next.
Referenced by data_xform_create_ex().
|
static |
Definition at line 637 of file object_constraint.cc.
References BLI_assert, C, 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, 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 614 of file object_constraint.cc.
References C, and 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 607 of file object_constraint.cc.
References C, and 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 581 of file object_constraint.cc.
References BKE_constraint_is_nonlocal_in_liboverride(), C, context_active_object(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), ED_operator_object_active_editable_ex(), ID_IS_EDITABLE, and ptr.
Referenced by edit_constraint_liboverride_allowed_poll(), and edit_constraint_poll().
|
static |
Definition at line 619 of file object_constraint.cc.
References constraint_owner_items, MAX_NAME, ot, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), and RNA_def_string().
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 700 of file object_constraint.cc.
References BKE_constraints_find_name(), C, 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 630 of file object_constraint.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
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 1604 of file object_modifier.cc.
References C, CTX_data_pointer_get_type(), PointerRNA::data, 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(), 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 1625 of file object_modifier.cc.
References C, CTX_data_pointer_get_type(), PointerRNA::data, 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 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 1577 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_modifier_copy().
|
static |
Definition at line 1570 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by 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 1531 of file object_modifier.cc.
References BKE_id_is_editable(), BKE_modifier_is_nonlocal_in_liboverride(), BKE_object_active_modifier(), C, context_active_object(), CTX_data_edit_object(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), Object::id, mod, ptr, and Object::type.
Referenced by correctivesmooth_poll(), dash_modifier_segment_poll(), datalayout_transfer_poll(), edit_modifier_liboverride_allowed_poll(), edit_modifier_poll(), 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 1582 of file object_modifier.cc.
References MAX_NAME, ot, PROP_HIDDEN, RNA_def_property_flag(), and RNA_def_string().
Referenced by 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 1667 of file object_modifier.cc.
References BKE_modifiers_findby_name(), 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(), 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 1589 of file object_modifier.cc.
References ot, PROP_HIDDEN, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by 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 410 of file object_shader_fx.cc.
References BLI_assert, C, 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 288 of file object_shader_fx.cc.
References C, and 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 251 of file object_shader_fx.cc.
References BKE_id_is_editable(), BKE_shaderfx_is_nonlocal_in_liboverride(), C, context_active_object(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), ED_operator_object_active_editable_ex(), ID_IS_OVERRIDE_LIBRARY, ptr, and Object::type.
Referenced by edit_shaderfx_poll().
|
static |
Definition at line 390 of file object_shader_fx.cc.
References MAX_NAME, ot, PROP_HIDDEN, RNA_def_property_flag(), and RNA_def_string().
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 451 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 397 of file object_shader_fx.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by OBJECT_OT_shaderfx_remove().
| bool blender::ed::object::editmode_enter | ( | bContext * | C, |
| int | flag ) |
Definition at line 934 of file object_edit.cc.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), editmode_enter_ex(), and flag.
Definition at line 816 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, blender::ed::greasepencil::ensure_selection_domain(), 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_POINTCLOUD, 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, ToolSettings::selectmode, Scene::toolsettings, Object::type, and WM_main_add_notifier().
Referenced by add_type_with_obdata(), blender::ed::outliner::do_outliner_item_editmode_toggle(), ED_editors_init(), ED_undo_object_editmode_restore_helper(), editmode_enter(), editmode_toggle_exec(), effector_add_exec(), make_prim_init(), and object_armature_add_exec().
| bool blender::ed::object::editmode_exit | ( | bContext * | C, |
| int | flag ) |
Definition at line 775 of file object_edit.cc.
References C, 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 729 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(), ED_undo_object_editmode_restore_helper(), 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().
| bool blender::ed::object::editmode_exit_multi | ( | bContext * | C, |
| int | flag ) |
Definition at line 808 of file object_edit.cc.
References C, 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 788 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 783 of file object_edit.cc.
References editmode_load_free_ex().
Referenced by ED_editors_exit().
Definition at line 724 of file object_edit.cc.
References editmode_load_free_ex().
Referenced by bake_targets_init_vertex_colors(), and ED_editors_flush_edits_for_object_ex().
|
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 583 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 945 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, 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, object_mode_set_ok_or_report(), 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 1000 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), 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 855 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), BKE_partdeflect_new(), BLI_addtail(), C, 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 3078 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_explode_refresh().
|
static |
Definition at line 3083 of file object_modifier.cc.
References C, context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), eExplodeFlag_CalcFaces, eModifierType_Explode, ExplodeModifierData::flag, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by explode_refresh_invoke(), and OBJECT_OT_explode_refresh().
|
static |
Definition at line 3101 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), explode_refresh_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_explode_refresh().
|
static |
Definition at line 424 of file object_visual_geometry_to_objects.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_collection_has_object(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), find_collections_containing_object(), FOREACH_COLLECTION_BEGIN, and FOREACH_COLLECTION_END.
Referenced by find_collections_containing_object(), and visual_geometry_to_objects_exec().
| 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, ID::name, OB_DATA_SUPPORT_ID, and Base::object.
Referenced by jump_to_target_ptr().
|
static |
Definition at line 1037 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 984 of file object_constraint.cc.
References A, AnimData::action, blender::animrig::action_fcurve_ensure_ex(), add_fmodifier(), Curve::adt, B, FCurve::bezt, BKE_report(), BLI_assert, C, FMod_Generator::coefficients, CONSTRAINT_TYPE_FOLLOWPATH, context_active_object(), CTX_data_main(), bConstraint::data, data, FModifier::data, edit_constraint_property_get(), ELEM, blender::animrig::fcurve_find_in_assigned_slot(), ListBase::first, 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_discrete(), 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 1070 of file object_constraint.cc.
References C, edit_constraint_invoke_properties(), followpath_path_animate_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_followpath_path_animate().
|
static |
Definition at line 856 of file object_constraint.cc.
References BKE_object_eval_constraints(), C, 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 1165 of file object_edit.cc.
References BKE_partdeflect_new(), C, 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 3544 of file object_modifier.cc.
References BKE_id_copy_ex(), BKE_main_ensure_invariants(), BKE_object_active_modifier(), C, context_active_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), eModifierType_Nodes, NodesModifierData::flag, Object::id, ID_RECALC_GEOMETRY, id_us_min(), LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, NC_OBJECT, ND_MODIFIER, NodesModifierData::node_group, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, OPERATOR_CANCELLED, OPERATOR_FINISHED, tree, ModifierData::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_geometry_node_tree_copy_assign().
|
static |
Definition at line 3487 of file object_modifier.cc.
References BKE_modifiers_findby_name(), C, context_active_object(), DEG_id_tag_update(), 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 OBJECT_OT_geometry_nodes_input_attribute_toggle().
|
static |
Definition at line 224 of file add_modifier_assets.cc.
References blender::ed::asset::asset_local_id_ensure_imported(), C, CTX_data_main(), ID_NT, blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), ptr, reports, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by get_node_group().
|
static |
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 816 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 1569 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 751 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 2144 of file object_constraint.cc.
References add(), 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(), C, CONSTRAINT_TYPE_ARMATURE, 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 243 of file add_modifier_assets.cc.
References BKE_report(), C, get_asset_or_local_node_group(), NTREE_GEOMETRY, ptr, reports, RPT_ERROR, and bNodeTree::type.
Referenced by modifier_add_asset_exec().
|
static |
Definition at line 2910 of file object_add.cc.
References BKE_id_copy(), blender::ed::object::ObjectConversionInfo::bmain, Object::data, blender::ed::object::ObjectConversionInfo::depsgraph, duplibase_for_convert(), id_us_min(), blender::ed::object::ObjectConversionInfo::keep_original, Base::object, blender::ed::object::ObjectConversionInfo::scene, and blender::ed::object::ObjectConversionInfo::view_layer.
Referenced by convert_curves_component_to_curves(), convert_curves_legacy_to_grease_pencil(), convert_curves_legacy_to_mesh(), convert_curves_to_grease_pencil(), convert_curves_to_mesh(), convert_font_to_curves(), convert_font_to_curves_legacy(), convert_font_to_grease_pencil(), convert_grease_pencil_component_to_curves(), convert_grease_pencil_to_mesh(), convert_mesh_to_curves_legacy(), convert_mesh_to_grease_pencil(), convert_mesh_to_mesh(), convert_mesh_to_pointcloud(), and convert_pointcloud_to_mesh().
|
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 974 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, Object::type, vgroup_edit_lattice(), and MDeformWeight::weight.
Referenced by vgroup_vert_weight().
|
static |
Definition at line 2688 of file object_vgroup.cc.
References BKE_object_defgroup_list(), DG_LOCK_WEIGHT, ListBase::first, bDeformGroup::flag, grease_pencil_clear_from_all_vgroup(), grease_pencil_clear_from_vgroup(), and bDeformGroup::next.
Referenced by grease_pencil_clear_from_all_vgroup(), vertex_group_remove_exec(), and vertex_group_remove_from_exec().
|
static |
Definition at line 2659 of file object_vgroup.cc.
References BKE_object_defgroup_remove(), Object::data, GP_DRAWING, grease_pencil_clear_from_vgroup(), bDeformGroup::name, blender::bke::greasepencil::remove_from_vertex_group(), and wrap().
Referenced by grease_pencil_clear_from_all_vgroup(), grease_pencil_clear_from_vgroup(), vertex_group_remove_exec(), and vertex_group_remove_from_exec().
|
static |
Definition at line 1251 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 1256 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 728 of file object_hook.cc.
References C, 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 467 of file object_hook.cc.
References C, 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 540 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(), 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 416 of file object_bake.cc.
References RenderData::bake_biasdist, blender::ed::object::MultiresBakeJob::bake_clear, RenderData::bake_flag, blender::ed::object::MultiresBakeJob::bake_margin, RenderData::bake_margin, blender::ed::object::MultiresBakeJob::bake_margin_type, RenderData::bake_margin_type, RenderData::bake_mode, bake_object_image_get_array(), RenderData::bake_samples, RenderData::bake_user_scale, blender::ed::object::MultiresBakeJob::bias, BKE_scene_num_threads(), BLI_addtail(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), blender::ed::object::MultiresBakeJob::data, data, MEM_callocN(), blender::ed::object::MultiresBakeJob::mode, multires_flush_sculpt_updates(), multiresbake_create_hiresdm(), multiresbake_create_loresdm(), blender::ed::object::MultiresBakeJob::number_of_rays, Scene::r, R_BAKE_CLEAR, R_BAKE_EXTEND, R_BAKE_LORES_MESH, R_BAKE_USERSCALE, RE_BAKE_NORMALS, blender::ed::object::MultiresBakeJob::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 337 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 1894 of file object_vgroup.cc.
References inv_cmp_mdef_vert_weights(), and MDeformWeight::weight.
Referenced by inv_cmp_mdef_vert_weights(), and vgroup_limit_total_subset().
|
static |
Definition at line 613 of file object_bake.cc.
References RenderData::bake_flag, RenderData::bake_mode, ELEM, Scene::r, R_BAKE_MULTIRES, RE_BAKE_AO, RE_BAKE_DISPLACEMENT, and RE_BAKE_NORMALS.
Referenced by bake_image_exec().
|
static |
Definition at line 460 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 1602 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().
|
static |
Does a shallow check for whether the node group could be the Smooth by Angle node group. This should become unnecessary once we asset embedding (#132167).
Definition at line 1808 of file object_edit.cc.
References NTREE_GEOMETRY, and bNodeTree::type.
Referenced by shade_auto_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 271 of file object_modifier.cc.
References 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 4951 of file object_add.cc.
References C, ED_mesh_shapes_join_objects_exec(), join_shapes_exec(), and wmOperator::reports.
Referenced by join_shapes_exec(), 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, BONE_HIDDEN_A, BONE_HIDDEN_P, C, 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(), C, 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 329 of file object_ops.cc.
References object_mode_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
|
static |
Definition at line 3340 of file object_modifier.cc.
References BKE_modifier_get_evaluated(), C, 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, 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_invoke(), and OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 3381 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), laplaciandeform_bind_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 3335 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_laplaciandeform_bind().
|
static |
Definition at line 1753 of file object_relations.cc.
References BKE_libblock_relink_to_newid(), Collection::children, ListBase::first, Collection::gobject, Collection::id, libblock_relink_collection(), LISTBASE_FOREACH, and CollectionObject::next.
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(), C, 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(), C, 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(), C, 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(), C, 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 765 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_lightprobe_type_set(), C, 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 798 of file object_constraint.cc.
References C, CONSTRAINT_TYPE_DISTLIMIT, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 818 of file object_constraint.cc.
References C, edit_constraint_invoke_properties(), limitdistance_reset_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_limitdistance_reset().
| void blender::ed::object::location_from_view | ( | bContext * | C, |
| float | loc[3] ) |
Definition at line 290 of file object_add.cc.
References C, copy_v3_v3(), CTX_data_scene(), Scene::cursor, and View3DCursor::location.
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 1510 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_sync_length(), BKE_pose_rebuild(), BKE_report(), BLI_linklist_free(), C, context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_wm_view3d(), CURVE_VFONT_SET, Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::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, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_links_data().
|
static |
Definition at line 1413 of file object_relations.cc.
References BKE_collection_object_add(), BKE_id_is_editable(), BKE_report(), BLI_findlink(), C, 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 2166 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 2207 of file object_relations.cc.
References AnimData::action, bAction::id, ID_TAG_PRE_EXISTING, 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 2195 of file object_relations.cc.
References ID_TAG_PRE_EXISTING, LISTBASE_FOREACH, and make_local_animdata_tag_strips().
Referenced by make_local_animdata_tag(), and make_local_animdata_tag_strips().
|
static |
Definition at line 2239 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(), C, 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 2228 of file object_relations.cc.
References BKE_animdata_from_id(), Material::id, ID_TAG_PRE_EXISTING, make_local_animdata_tag(), and ID::tag.
Referenced by make_local_exec().
|
static |
Definition at line 2483 of file object_add.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), 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_lookup(), BLI_ghash_new(), BLI_listbase_is_empty(), C, Object::constraints, copy_m4_m4(), CTX_data_main(), CTX_data_view_layer(), DEG_get_evaluated(), DEG_get_original(), 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, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), 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 2369 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(), C, 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, i, Collection::id, Object::id, Scene::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, LIBOVERRIDE_FLAG_SYSTEM_DEFINED, 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, nullptr, 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, ID::tag, wmOperator::type, and WM_event_add_notifier().
Referenced by make_override_library_invoke(), and OBJECT_OT_make_override_library().
|
static |
Definition at line 2568 of file object_relations.cc.
References blender::VectorSet< Key, InlineBufferCapacity, 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, C, 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, InlineBufferCapacity, 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, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), wmOperatorType::prop, wmOperator::ptr, wmOperator::reports, RNA_property_int_set(), RPT_ERROR, ID::session_uid, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and wmOperator::type.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2352 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 2662 of file object_relations.cc.
References BASE_SELECTED, C, 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 2856 of file object_relations.cc.
References BKE_main_id_newptr_and_tag_clear(), BKE_view_layer_selected_objects_tag(), C, 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 2909 of file object_relations.cc.
References C, IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by OBJECT_OT_make_single_user().
| bool blender::ed::object::material_active_index_set | ( | Object * | ob, |
| int | index ) |
Set the active material by index.
| index | A zero based index. This will be clamped to the valid range. |
Definition at line 44 of file object_utils.cc.
References Object::actcol, NC_MATERIAL, ND_SHADING_LINKS, Object::totcol, and WM_main_add_notifier().
Referenced by ED_curve_editnurb_select_pick(), EDBM_select_pick(), font_cursor_set_apply(), mouse_mesh_shortest_path_face(), and text_update_edited().
|
static |
Definition at line 3194 of file object_add.cc.
References Geometry::attributes, blender::bke::CurvesGeometry::attributes_for_write(), BKE_attribute_calc_unique_name(), BKE_mesh_copy_for_eval(), CD_PROP_FLOAT3, blender::array_utils::copy(), blender::bke::Curve, CURVE_TYPE_POLY, blender::bke::CurvesGeometry::cyclic_for_write(), DATA_, Mesh::edges_num, blender::bke::Face, faces, blender::MutableSpan< T >::fill(), blender::bke::CurvesGeometry::fill_curve_types(), blender::bke::SpanAttributeWriter< T >::finish(), GreasePencil::flag, blender::VArray< T >::ForSpan(), AttributeOwner::from_id(), blender::array_utils::gather(), GREASE_PENCIL_STROKE_ORDER_3D, Mesh::id, blender::MutableSpan< T >::index_range(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::geometry::mesh_edges_to_curves_convert(), normals, blender::bke::CurvesGeometry::offsets_for_write(), blender::threading::parallel_for(), blender::bke::Point, blender::bke::CurvesGeometry::positions_for_write(), blender::bke::CurvesGeometry::resize(), blender::Span< T >::size(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by convert_mesh_to_grease_pencil().
|
static |
Definition at line 558 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 536 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 mesh_defvert_mirror_update_em(), and mesh_defvert_mirror_update_ob().
|
static |
Definition at line 577 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 |
Definition at line 676 of file object_remesh.cc.
References compare_v3v3(), i, blender::Span< T >::index_range(), MEM_calloc_arrayN(), MEM_freeN(), and MEM_malloc_arrayN().
Referenced by quadriflow_start_job().
Definition at line 556 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 3119 of file object_add.cc.
References BKE_grease_pencil_object_material_ensure_by_name(), blender::StringRefNull::c_str(), copy_v4_v4(), DATA_, MaterialGPencilStyle::fill_rgba, MaterialGPencilStyle::flag, GP_MATERIAL_FILL_SHOW, GP_MATERIAL_STROKE_SHOW, Material::gp_style, SET_FLAG_FROM_TEST, srgb_to_linearrgb_v4(), and MaterialGPencilStyle::stroke_rgba.
Referenced by convert_mesh_to_grease_pencil().
|
static |
Definition at line 3159 of file object_add.cc.
References Material::a, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Material::b, BKE_id_name(), BKE_object_material_get(), DATA_, Material::g, Material::id, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_or_add(), Material::r, and blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize().
Referenced by convert_mesh_to_grease_pencil().
|
static |
Definition at line 3006 of file object_modifier.cc.
References MeshDeformModifierData::bindcagecos, MeshDeformModifierData::bindcos, MeshDeformModifierData::bindfunc, MeshDeformModifierData::bindinfluences, MeshDeformModifierData::bindoffsets, MeshDeformModifierData::bindweights, BKE_modifier_get_evaluated(), C, 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, 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_invoke(), and OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 3045 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), meshdeform_bind_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 3001 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_meshdeform_bind().
|
static |
Definition at line 247 of file object_data_transform.cc.
References blender::MatBase< float, 4, 4 >::identity(), and metaball_coords_and_quats_apply_with_mat4().
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(), blender::Span< T >::data(), MetaBall::elems, blender::ed::object::ElemData_MetaBall::exp, ListBase::first, MetaElem::next, 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 219 of file object_data_transform.cc.
References blender::ed::object::ElemData_MetaBall::co, copy_qt_qt(), copy_v3_v3(), blender::MutableSpan< T >::data(), MetaBall::elems, blender::ed::object::ElemData_MetaBall::exp, ListBase::first, MetaElem::next, 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 ) |
Set the provided object's mode to one that is compatible with the provided mode.
This is so each mode toggle operator exec function can call this function to ensure the current mode runtime data is cleaned up prior to entering a new mode.
Definition at line 150 of file object_modes.cc.
References BKE_reportf(), C, ELEM, Object::mode, OB_MODE_OBJECT, object_mode_op_string(), ot, reports, 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(), texture_paint_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_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_EDIT, 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 368 of file object_modes.cc.
References depsgraph, and ed_object_mode_generic_exit_ex().
Referenced by ed_object_select_pick(), blender::ed::sculpt_paint::undo::step_decode(), and blender::ed::outliner::tree_element_object_activate().
| bool blender::ed::object::mode_generic_has_data | ( | Depsgraph * | depsgraph, |
| const Object * | ob ) |
Definition at line 373 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 220 of file object_modes.cc.
References C, and mode_set_ex().
Referenced by blender::ed::outliner::do_outliner_item_mode_toggle_generic(), ED_editors_init(), 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 180 of file object_modes.cc.
References BKE_reportf(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), Object::mode, mode_compat_test(), OB_MODE_OBJECT, object_mode_op_string(), ot, reports, RPT_ERROR, 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 157 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, reports, 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_with_depsgraph(), and shade_auto_smooth_exec().
|
static |
Definition at line 258 of file add_modifier_assets.cc.
References BKE_modifier_unique_name(), C, CTX_data_main(), CTX_data_scene(), DATA_, eModifierType_Nodes, NodesModifierData::flag, get_node_group(), bNodeTree::id, id_us_plus(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), 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 312 of file add_modifier_assets.cc.
References C, 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 302 of file add_modifier_assets.cc.
References C, 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 357 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw(), ContextDependent, MenuType::draw, MenuType::flag, MenuType::idname, MenuType::listener, and STRNCPY().
Referenced by object_modifier_add_asset_register().
|
static |
Definition at line 1417 of file object_modifier.cc.
References C, CTX_data_main(), CTX_data_scene(), modifier_add(), 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_invoke(), and OBJECT_OT_modifier_add().
|
static |
Definition at line 1439 of file object_modifier.cc.
References C, CTX_wm_view3d(), KM_ALT, wmEvent::modifier, modifier_add_exec(), wmOperator::ptr, RNA_boolean_set(), RNA_struct_property_is_set(), and WM_menu_invoke().
Referenced by OBJECT_OT_modifier_add().
|
static |
Definition at line 1450 of file object_modifier.cc.
References BKE_modifier_get_info(), BKE_object_support_modifier_type_check(), C, context_active_object(), eModifierTypeFlag_NoUserAdd, ModifierTypeInfo::flags, EnumPropertyItem::identifier, RNA_enum_item_add(), RNA_enum_item_end(), rna_enum_object_modifier_type_items, and EnumPropertyItem::value.
Referenced by OBJECT_OT_modifier_add().
|
static |
Definition at line 367 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), ContextDependent, MenuType::draw, MenuType::flag, MenuType::idname, MenuType::listener, root_catalogs_draw(), and STRNCPY().
Referenced by object_modifier_add_asset_register().
|
static |
Definition at line 345 of file add_modifier_assets.cc.
References blender::ed::asset::list::asset_reading_region_listen_fn(), MenuType::description, MenuType::draw, MenuType::idname, MenuType::listener, 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 1271 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(), 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_obdata(), MODIFIER_APPLY_SHAPE, modifier_apply_shape(), Object::modifiers, ModifierData::name, OB_MODE_SCULPT, reports, RPT_ERROR, and RPT_INFO.
Referenced by modifier_apply_exec_ex(), and blender::ed::outliner::modifier_fn().
|
static |
Definition at line 2154 of file object_modifier.cc.
References C, modifier_apply_exec_ex(), MODIFIER_APPLY_SHAPE, wmOperator::ptr, and RNA_boolean_get().
Referenced by modifier_apply_as_shapekey_invoke(), and OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2172 of file object_modifier.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2161 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_apply_as_shapekey_exec().
Referenced by OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2149 of file object_modifier.cc.
References C, and modifier_apply_poll().
Referenced by OBJECT_OT_modifier_apply_as_shapekey().
|
static |
Definition at line 2071 of file object_modifier.cc.
References C, MODIFIER_APPLY_DATA, and modifier_apply_exec_ex().
Referenced by modifier_apply_invoke(), and OBJECT_OT_modifier_apply().
|
static |
Definition at line 1988 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(), C, Constructive, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), Object::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_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(), and modifier_apply_exec().
|
static |
Definition at line 2076 of file object_modifier.cc.
References ALERT_ICON_WARNING, C, context_active_object(), CTX_data_pointer_get_type(), Object::data, edit_modifier_invoke_properties_with_hover(), ID_REAL_USERS, IFACE_, modifier_apply_exec(), 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 OBJECT_OT_modifier_apply().
|
static |
Definition at line 1067 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_copy_for_eval(), 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(), DEG_get_evaluated_scene(), DEG_id_tag_update(), depsgraph, ELEM, eModifierType_Multires, eModifierType_Nodes, find_multires_modifier_before(), ListBase::first, blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_pointcloud(), 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, LISTBASE_FOREACH, blender::bke::mesh_remove_invalid_attribute_strings(), MOD_APPLY_TO_ORIGINAL, 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(), blender::bke::ReadOnly, reports, RPT_ERROR, RPT_INFO, MultiresModifierData::totlvl, ModifierData::type, ModifierTypeInfo::type, and Object::type.
Referenced by modifier_apply().
|
static |
Definition at line 1961 of file object_modifier.cc.
References BKE_modifier_is_same_topology(), C, context_active_object(), CTX_data_pointer_get_type(), CTX_data_scene(), CTX_wm_operator_poll_msg_set(), Object::data, edit_modifier_poll_generic(), find_multires_modifier_before(), ID_IS_OVERRIDE_LIBRARY, Object::mode, OB_MODE_SCULPT, and ptr.
Referenced by modifier_apply_as_shapekey_poll(), and OBJECT_OT_modifier_apply().
|
static |
Definition at line 879 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(), DEG_get_evaluated_scene(), depsgraph, ModifierTypeInfo::is_disabled, KEY_RELATIVE, ModifierData::name, NonGeometrical, OB_MESH, reports, RPT_ERROR, Key::type, ModifierData::type, ModifierTypeInfo::type, and Object::type.
Referenced by modifier_apply().
|
static |
Definition at line 2211 of file object_modifier.cc.
References C, 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, NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by modifier_convert_invoke(), and OBJECT_OT_modifier_convert().
|
static |
Definition at line 2230 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), modifier_convert_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_modifier_convert().
| bool blender::ed::object::modifier_copy | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| ModifierData * | md ) |
Definition at line 1361 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, Object::modifiers, ModifierData::name, object_copy_particle_system(), STRNCPY(), and ModifierData::type.
Referenced by modifier_copy_exec().
|
static |
Definition at line 2261 of file object_modifier.cc.
References BKE_modifiers_findby_name(), C, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, MAX_NAME, modifier_copy(), 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_invoke(), and OBJECT_OT_modifier_copy().
|
static |
Definition at line 2292 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_copy_exec().
Referenced by 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, reports, 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 2367 of file object_modifier.cc.
References BKE_reportf(), C, 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(), 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_invoke(), and OBJECT_OT_modifier_copy_to_selected().
|
static |
Definition at line 2406 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_copy_to_selected_exec().
Referenced by OBJECT_OT_modifier_copy_to_selected().
|
static |
Definition at line 2417 of file object_modifier.cc.
References BKE_object_support_modifier_type_check(), BKE_object_supports_modifiers(), C, context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_wm_operator_poll_msg_set(), ELEM, eModifierType_Collision, eModifierType_Hook, ptr, and ModifierData::type.
Referenced by OBJECT_OT_modifier_copy_to_selected().
| Vector< PointerRNA > blender::ed::object::modifier_get_edit_objects | ( | const bContext & | C, |
| const wmOperator & | op ) |
Definition at line 1388 of file object_modifier.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), C, context_active_object(), CTX_data_selected_editable_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_move_to_index_exec(), and modifier_remove_exec().
Definition at line 580 of file object_modifier.cc.
References BKE_object_link_modifiers(), C, 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, object_modifier_check_move_after(), and reports.
Referenced by modifier_move_down_exec().
|
static |
Definition at line 1850 of file object_modifier.cc.
References C, context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), Object::id, ID_RECALC_GEOMETRY, modifier_move_down(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_WARNING, and WM_event_add_notifier().
Referenced by modifier_move_down_invoke(), and OBJECT_OT_modifier_move_down().
|
static |
Definition at line 1865 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_move_down_exec().
Referenced by 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, reports, and WM_main_add_notifier().
Referenced by blender::ed::outliner::datastack_drop_reorder(), and modifier_move_to_index_exec().
|
static |
Definition at line 1897 of file object_modifier.cc.
References BKE_modifiers_findby_name(), C, MAX_NAME, modifier_get_edit_objects(), modifier_move_to_index(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_int_get(), RNA_string_get(), and RPT_WARNING.
Referenced by modifier_move_to_index_invoke(), and OBJECT_OT_modifier_move_to_index().
|
static |
Definition at line 1925 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_move_to_index_exec().
Referenced by 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(), ModifierData::prev, and reports.
Referenced by modifier_move_up_exec().
|
static |
Definition at line 1805 of file object_modifier.cc.
References C, context_active_object(), DEG_id_tag_update(), edit_modifier_property_get(), Object::id, ID_RECALC_GEOMETRY, modifier_move_up(), NC_OBJECT, ND_MODIFIER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_WARNING, and WM_event_add_notifier().
Referenced by modifier_move_up_invoke(), and OBJECT_OT_modifier_move_up().
|
static |
Definition at line 1820 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_move_up_exec().
Referenced by OBJECT_OT_modifier_move_up().
| void blender::ed::object::modifier_register_use_selected_objects_prop | ( | wmOperatorType * | ot | ) |
Definition at line 1402 of file object_modifier.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by 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(), reports, 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 1687 of file object_modifier.cc.
References BKE_modifiers_findby_name(), BKE_reportf(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), MAX_NAME, Object::mode, modifier_get_edit_objects(), modifier_remove(), 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_invoke(), and OBJECT_OT_modifier_remove().
|
static |
Definition at line 1735 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_remove_exec().
Referenced by OBJECT_OT_modifier_remove().
|
static |
Definition at line 2323 of file object_modifier.cc.
References BKE_object_modifier_set_active(), C, context_active_object(), edit_modifier_property_get(), NC_OBJECT, ND_MODIFIER, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by modifier_set_active_invoke(), and OBJECT_OT_modifier_set_active().
|
static |
Definition at line 2336 of file object_modifier.cc.
References C, edit_modifier_invoke_properties_with_hover(), and modifier_set_active_exec().
Referenced by OBJECT_OT_modifier_set_active().
|
static |
Definition at line 2785 of file object_modifier.cc.
References ANIM_armature_bonecoll_show_all(), ARM_DRAW_TYPE_STICK, BKE_object_add(), BKE_object_transform_copy(), BLI_BITMAP_NEW, blender::bke::mesh::build_vert_to_edge_map(), 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(), 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_callocN(), MEM_freeN(), blender::bke::mesh_get_eval_deform(), 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 skin_armature_create_exec().
|
static |
Definition at line 2548 of file object_modifier.cc.
References BM_data_layer_free(), CD_MVERT_SKIN, CustomData_free_layer_active(), and Object::data.
Referenced by 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 1761 of file object_modifier.cc.
References C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), modifiers_clear(), NA_REMOVED, NC_OBJECT, ND_MODIFIER, OPERATOR_FINISHED, and WM_main_add_notifier().
Referenced by OBJECT_OT_modifiers_clear().
|
static |
Definition at line 1775 of file object_modifier.cc.
References BKE_object_supports_modifiers(), C, context_active_object(), and ED_operator_object_active_local_editable().
Referenced by OBJECT_OT_modifiers_clear().
|
static |
Definition at line 2514 of file object_modifier.cc.
References BKE_object_supports_modifiers(), BLI_listbase_is_empty(), C, context_active_object(), CTX_wm_operator_poll_msg_set(), ED_operator_object_active_editable(), and Object::modifiers.
Referenced by 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 1530 of file object_edit.cc.
References C, 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 1261 of file object_edit.cc.
References animviz_build_motionpath_targets(), animviz_calc_motionpaths(), animviz_depsgraph_build(), animviz_free_motionpath_targets(), ANIMVIZ_RECALC_PATHS, bPose::avs, Object::avs, C, 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 1225 of file object_edit.cc.
References BLI_addtail(), BLI_freelistN(), BLI_genericNodeN(), C, CTX_DATA_BEGIN, CTX_DATA_END, and motion_paths_recalc().
Referenced by object_calculate_paths_exec(), object_update_paths_exec(), blender::ed::transform::recalcData_objects(), and blender::ed::transform::special_aftertrans_update__object().
| void blender::ed::object::motion_paths_recalc_visible | ( | bContext * | C, |
| Scene * | scene, | ||
| eObjectPathCalcRange | range ) |
Definition at line 1238 of file object_edit.cc.
References BLI_addtail(), BLI_freelistN(), BLI_genericNodeN(), C, CTX_DATA_BEGIN, CTX_DATA_END, and motion_paths_recalc().
Referenced by object_update_all_paths_exec().
|
static |
Definition at line 2186 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(), C, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, Scene::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 2372 of file object_edit.cc.
References BKE_collection_from_index(), BKE_collection_new_name_get(), BKE_report(), BLI_freelistN(), BLI_listbase_is_empty(), C, CTX_data_scene(), CTX_IFACE_, IFACE_, Scene::master_collection, 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, 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 2329 of file object_edit.cc.
References BKE_collection_ui_name_get(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, blender::ed::object::MoveToCollectionData::collection, CTX_data_scene(), CTX_IFACE_, blender::ed::object::MoveToCollectionData::index, LISTBASE_FOREACH, Scene::master_collection, move_to_collection_menus_items(), uiLayout::op(), blender::ed::object::MoveToCollectionData::ot, blender::ed::object::MoveToCollectionData::ptr, RNA_boolean_set(), RNA_int_set(), uiLayout::separator(), blender::ed::object::MoveToCollectionData::submenus, UI_icon_color_from_collection(), UI_ITEM_NONE, and WM_OP_INVOKE_DEFAULT.
Referenced by move_to_collection_invoke(), and move_to_collection_menus_items().
|
static |
Definition at line 2294 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 2318 of file object_edit.cc.
References move_to_collection_menus_free_recursive().
Referenced by move_to_collection_invoke().
|
static |
Definition at line 2309 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 2356 of file object_edit.cc.
References BLI_listbase_is_empty(), blender::ed::object::MoveToCollectionData::collection, Collection::id, blender::ed::object::MoveToCollectionData::index, uiLayout::menu_fn(), move_to_collection_menu_create(), ID::name, uiLayout::op(), blender::ed::object::MoveToCollectionData::ot, RNA_int_set(), blender::ed::object::MoveToCollectionData::submenus, and UI_icon_color_from_collection().
Referenced by move_to_collection_menu_create().
|
static |
Definition at line 2178 of file object_edit.cc.
References C, 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 382 of file object_multires_modifier.cc.
References C, 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 405 of file object_multires_modifier.cc.
References C, edit_modifier_invoke_properties(), multires_base_apply_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_base_apply().
|
static |
Definition at line 348 of file object_multires_modifier.cc.
References C, 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 252 of file object_multires_modifier.cc.
References BKE_main_blendfile_path(), BLI_path_rel(), C, 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, 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 281 of file object_multires_modifier.cc.
References C, 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 C, 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 C, 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 C, 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 490 of file object_multires_modifier.cc.
References BKE_report(), BKE_reportf(), C, 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 515 of file object_multires_modifier.cc.
References C, edit_modifier_invoke_properties(), multires_rebuild_subdiv_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_rebuild_subdiv().
|
static |
Definition at line 181 of file object_multires_modifier.cc.
References BKE_report(), C, 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 221 of file object_multires_modifier.cc.
References C, 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(), C, 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 C, edit_modifier_invoke_properties(), multires_subdivide_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_multires_subdivide().
|
static |
Definition at line 436 of file object_multires_modifier.cc.
References BKE_report(), C, 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 459 of file object_multires_modifier.cc.
References C, 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 315 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 104 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, C, 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, blender::bke::AttributeAccessor::lookup(), 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(), IgnoreSimplify, DerivedMesh::loopData, MultiresModifierData::lvl, multires_make_derived_from_derived(), DerivedMesh::polyData, DerivedMesh::release, MultiresModifierData::sculptlvl, and MultiresModifierData::totlvl.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 212 of file object_bake.cc.
References CD_MASK_BAREMESH, CDDM_from_mesh(), Object::data, DM_set_only_copy(), get_multires_modifier(), IgnoreSimplify, MultiresModifierData::lvl, multires_make_derived_from_derived(), DerivedMesh::release, and MultiresModifierData::sculptlvl.
Referenced by init_multiresbake_job(), and multiresbake_image_exec_locked().
|
static |
Definition at line 523 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, MEM_freeN(), and next.
Referenced by multiresbake_image_exec().
|
static |
Definition at line 551 of file object_bake.cc.
References BKE_report(), C, CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), blender::ed::object::MultiresBakeJob::data, ListBase::first, G, init_multiresbake_job(), MEM_callocN(), 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 329 of file object_bake.cc.
References MultiresBakeRender::array, RenderData::bake_biasdist, RenderData::bake_flag, MultiresBakeRender::bake_margin, RenderData::bake_margin, MultiresBakeRender::bake_margin_type, RenderData::bake_margin_type, RenderData::bake_mode, bake_object_image_get_array(), RenderData::bake_samples, RenderData::bake_user_scale, MultiresBakeRender::bias, BKE_report(), BKE_scene_num_threads(), BLI_freelistN(), C, 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, Scene::r, 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, MultiresBakeRender::threads, MultiresBakeRender::tot_lvl, Object::totcol, MultiresBakeRender::use_lores_mesh, and MultiresBakeRender::user_scale.
Referenced by bake_image_exec().
|
static |
Definition at line 461 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, data, MultiresBakeRender::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, RE_BAKE_DISPLACEMENT, RE_BAKE_NORMALS, RE_multires_bake_images(), blender::ed::object::MultiresBakeJob::scene, MultiresBakeRender::scene, MultiresBakeRender::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 350 of file object_add.cc.
References C, 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 3140 of file object_vgroup.cc.
References BKE_modifiers_is_deformed_by_armature(), BKE_object_defgroup_count(), BKE_object_defgroup_validmap_get(), i, MEM_freeN(), normalize_vertex_group_target(), WT_VGROUP_ALL, and WT_VGROUP_BONE_DEFORM.
Referenced by normalize_vertex_group_target(), and 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 273 of file object_add.cc.
References C, 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 254 of file object_add.cc.
References C, CTX_wm_region(), object_add_drop_xy_is_set(), wmOperator::ptr, RNA_int_get(), ARegion::winrct, rcti::xmin, and rcti::ymin.
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 244 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 218 of file object_add.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), and RNA_def_property_flag().
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 |
Definition at line 4358 of file object_add.cc.
References BKE_object_duplicate(), DEG_id_tag_update(), Object::id, 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 4375 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 698 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), C, 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 670 of file object_hook.cc.
References add_hook_object(), C, CTX_data_edit_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), Scene::id, 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 614 of file object_hook.cc.
References add_hook_object(), BKE_report(), C, 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 4574 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(), C, 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, Scene::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, OB_HIDE_VIEWPORT, 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, U, 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 4321 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().
Definition at line 4333 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 4338 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 1057 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), C, 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().
|
static |
Definition at line 2038 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 2024 of file object_transform.cc.
References BKE_object_apply_mat4(), copy_m4_m3(), copy_v3_v3(), Object::loc, object_apply_rotation(), Object::scale, and size().
Referenced by object_apply_rotation(), and object_orient_to_location().
|
static |
Definition at line 1102 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(), C, 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, U, USER_ADD_VIEWALIGNED, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_armature_add().
Definition at line 87 of file object_vgroup.cc.
References C, 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 78 of file object_vgroup.cc.
References C, and vertex_group_supported_poll_ex().
Referenced by object_array_for_wpaint().
|
static |
Definition at line 1352 of file object_edit.cc.
References animviz_motionpath_compute_range(), animviz_verify_motionpaths(), C, 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 1328 of file object_edit.cc.
References Object::avs, C, 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 926 of file object_add.cc.
References add_generic_get_opts(), add_type(), ALIGN_VIEW, C, Scene::camera, 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 54 of file object_camera.cc.
References C, context_active_object(), CTX_data_engine_type(), Object::data, OPERATOR_FINISHED, RE_engine_create(), RE_engine_free(), RenderEngine::reports, wmOperator::reports, and RenderEngineType::update_custom_camera.
Referenced by OBJECT_OT_camera_custom_update().
|
static |
Definition at line 27 of file object_camera.cc.
References C, CAM_CUSTOM, CAM_CUSTOM_SHADER_EXTERNAL, context_active_object(), CTX_data_engine_type(), Camera::custom_filepath, Camera::custom_mode, Camera::custom_shader, Object::data, OB_CAMERA, Camera::type, Object::type, and RenderEngineType::update_custom_camera.
Referenced by OBJECT_OT_camera_custom_update().
|
static |
Definition at line 95 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 1518 of file object_edit.cc.
References animviz_free_motionpath(), Object::avs, DEG_id_tag_update(), Object::id, ID_RECALC_SYNC_TO_EVAL, MOTIONPATH_BAKE_HAS_PATHS, Object::mpath, and bAnimVizSettings::path_bakeflag.
Referenced by motion_paths_clear().
|
static |
Definition at line 1549 of file object_edit.cc.
References C, 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 1562 of file object_edit.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_paths_clear().
|
static |
Definition at line 119 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 277 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 301 of file object_transform.cc.
References ANIM_deselect_keys_in_animation_editors(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::animrig::autokeyframe_object(), BKE_scene_graph_evaluated_ensure(), BLI_assert, C, CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), 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, blender::animrig::get_keyingset_for_autokeying(), ID_RECALC_TRANSFORM, blender::animrig::is_autokey_on(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), 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, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), Scene::toolsettings, ToolSettings::transform_flag, 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 2394 of file object_constraint.cc.
References BKE_report(), C, 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 2440 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 2098 of file object_constraint.cc.
References BKE_constraints_copy(), C, 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 1995 of file object_constraint.cc.
References BKE_constraints_free(), C, 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 3995 of file object_add.cc.
References ATTR_FALLTHROUGH, ViewLayer::basact, base_activate(), base_free_and_unlink(), BKE_id_is_editable(), BKE_mball_basis_find(), BKE_mball_is_basis(), BKE_object_free_modifiers(), BKE_object_materials_sync_length(), BKE_report(), BKE_reportf(), BKE_scene_graph_update_tagged(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BLI_assert, blender::ed::object::ObjectConversionInfo::bmain, C, CD_MASK_MESH, convert_curves(), convert_curves_legacy(), convert_font(), convert_grease_pencil(), convert_mball(), convert_mesh(), convert_pointcloud(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_selected_editable_bases(), CTX_data_view_layer(), Scene::customdata_mask, CustomData_MeshMasks_update(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), blender::ed::object::ObjectConversionInfo::depsgraph, depsgraph, blender::ed::object::ObjectConversionInfo::do_merge_customdata, Base::flag, Object::flag, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, Object::id, Scene::id, ID_RECALC_GEOMETRY, ID_RECALC_SELECT, ID_RECALC_TRANSFORM, ID_TAG_DOIT, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), IS_TAGGED, blender::ed::object::ObjectConversionInfo::keep_original, NC_OBJECT, NC_SCENE, ND_DATA, ND_DRAW, ND_LAYER_CONTENT, ND_MODIFIER, ND_OB_SELECT, OB_CURVES, OB_CURVES_LEGACY, OB_DONE, OB_FONT, OB_GREASE_PENCIL, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, blender::ed::object::ObjectConversionInfo::obact, Base::object, object_convert_exec(), blender::ed::object::ObjectConversionInfo::op_props, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, blender::ed::object::ObjectConversionInfo::reports, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_property_enum_name(), RNA_struct_find_property(), RPT_, RPT_INFO, blender::ed::object::ObjectConversionInfo::scene, SELECT, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), Object::type, blender::ed::object::ObjectConversionInfo::view_layer, and WM_event_add_notifier().
Referenced by object_convert_exec(), and OBJECT_OT_convert().
|
static |
Definition at line 2822 of file object_add.cc.
References BKE_object_is_in_editmode(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), and ID_IS_EDITABLE.
Referenced by OBJECT_OT_convert().
|
static |
Definition at line 4245 of file object_add.cc.
References wmOperator::layout, OB_GREASE_PENCIL, OB_MESH, object_convert_ui(), uiLayout::prop(), wmOperator::ptr, RNA_enum_get(), UI_ITEM_NONE, and uiLayoutSetPropSep().
Referenced by object_convert_ui(), and OBJECT_OT_convert().
|
static |
Definition at line 2061 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_apply_mat4(), BLI_assert, BLI_strdup(), C, 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 2099 of file object_add.cc.
References C, 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 2030 of file object_add.cc.
References add_generic_get_opts(), add_type(), C, 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 2789 of file object_add.cc.
References BKE_mesh_new_from_object_to_bmain(), BKE_object_free_modifiers(), Object::data, DEG_get_evaluated(), depsgraph, Curve::id, id_us_min(), id_us_plus(), LISTBASE_FOREACH, OB_MESH, Main::objects, and Object::type.
Referenced by convert_curves_legacy_to_mesh(), and convert_font_to_mesh().
|
static |
Definition at line 1905 of file object_add.cc.
References add_generic_get_opts(), add_type_with_obdata(), BKE_object_obdata_to_type(), C, CTX_data_main(), CTX_wm_region_view3d(), ED_view3d_cursor3d_position(), location_from_view(), ID::name, 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 2210 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(), C, 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, Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_RECALC_SELECT, ID_TAG_DOIT, ID_TAG_INDIRECT, LISTBASE_FOREACH, ID::name, NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, OP_IS_INVOKE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, RPT_WARNING, Main::scenes, ID::tag, WM_event_add_notifier(), and WM_window_get_active_scene().
Referenced by object_delete_invoke(), and OBJECT_OT_delete().
|
static |
Definition at line 2300 of file object_add.cc.
References ALERT_ICON_NONE, C, IFACE_, object_delete_exec(), wmOperator::ptr, RNA_boolean_get(), and WM_operator_confirm_ex().
Referenced by OBJECT_OT_delete().
|
static |
Definition at line 2681 of file object_add.cc.
References BKE_main_id_newptr_and_tag_clear(), C, 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 1175 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_empty_draw_type_set(), BKE_object_obdata_size_init(), C, 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 146 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 116 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(), 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 1374 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, C, RenderData::cfra, 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_LAYER_TREE_NODE_USE_LIGHTS, 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, Scene::r, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), rot, SET_FLAG_FROM_TEST, STRNCPY(), WM_main_add_notifier(), and WM_operator_view3d_unit_defaults().
Referenced by object_grease_pencil_add_invoke(), and OBJECT_OT_grease_pencil_add().
|
static |
Definition at line 1504 of file object_add.cc.
References C, ELEM, GP_EMPTY, GP_MONKEY, GP_STROKE, object_grease_pencil_add_exec(), wmOperator::ptr, RNA_boolean_set(), and RNA_enum_get().
Referenced by OBJECT_OT_grease_pencil_add().
|
static |
Definition at line 260 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 308 of file object_modifier.cc.
References data, and object_has_modifier().
Referenced by object_modifier_safe_to_delete().
|
static |
Definition at line 96 of file object_shader_fx.cc.
References LISTBASE_FOREACH, and object_has_shaderfx().
Referenced by object_has_shaderfx().
|
static |
Definition at line 415 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(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), View3D::flag, Scene::id, 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 489 of file object_edit.cc.
References C, 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 287 of file object_edit.cc.
References C, 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 295 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(), C, CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), Scene::id, 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 346 of file object_edit.cc.
References BA_DESELECT, BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BASE_HIDDEN, base_select(), BASE_SELECTED, BKE_reportf(), BKE_view_layer_need_resync_tag(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), wmOperator::flag, Scene::id, ID_RECALC_BASE_FLAGS, LISTBASE_FOREACH, NC_SCENE, ND_OB_SELECT, ND_OB_VISIBLE, OP_IS_INVOKE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, and WM_event_add_notifier().
Referenced by OBJECT_OT_hide_view_set().
|
static |
Definition at line 889 of file object_hook.cc.
References BKE_report(), C, 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, num, 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 420 of file object_hook.cc.
References BLI_findlink(), C, CTX_data_edit_object(), eModifierType_Hook, HookModifierData::modifier, Object::modifiers, num, 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 321 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(), ToolSettings::selectmode, Scene::toolsettings, and Object::type.
Referenced by add_hook_object(), and object_hook_assign_exec().
|
static |
Definition at line 834 of file object_hook.cc.
References BKE_report(), C, HookModifierData::cent, copy_m3_m4(), CTX_data_pointer_get_type(), CTX_data_scene(), Scene::cursor, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, invert_m3_m3(), View3DCursor::location, mul_m3_v3(), NC_OBJECT, ND_MODIFIER, num, 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 704 of file object_hook.cc.
References BKE_modifier_free(), BKE_modifier_remove_from_list(), BKE_report(), BLI_findlink(), C, 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, num, 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 786 of file object_hook.cc.
References BKE_object_modifier_hook_reset(), BKE_report(), C, CTX_data_pointer_get_type(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, num, 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 445 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 956 of file object_hook.cc.
References BKE_report(), C, CTX_data_pointer_get_type(), Object::data, DEG_id_tag_update(), ID_RECALC_SELECT, NC_GEOM, ND_SELECT, num, 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 1215 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_empty_draw_type_set(), BKE_report(), C, CTX_wm_region_view3d(), Object::data, ED_operator_objectmode(), 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, wmOperator::reports, RNA_boolean_get(), rot, RPT_ERROR, RV3D_PERSP, and WM_operator_drop_load_path().
Referenced by object_image_add_invoke(), and OBJECT_OT_empty_image_add().
|
static |
Definition at line 1256 of file object_add.cc.
References ALIGN_VIEW, BKE_object_empty_draw_type_set(), C, 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 1313 of file object_add.cc.
References C, and CTX_wm_region_view3d().
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 262 of file object_edit.cc.
References BLI_assert, FOREACH_BASE_IN_MODE_BEGIN, FOREACH_BASE_IN_MODE_END, and i.
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 240 of file object_edit.cc.
References BLI_assert, FOREACH_BASE_IN_MODE_BEGIN, FOREACH_BASE_IN_MODE_END, and i.
Referenced by uv_shortest_path_pick_invoke().
|
static |
Definition at line 1743 of file object_add.cc.
References C, 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 102 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 1989 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 4836 of file object_add.cc.
References BKE_lib_override_library_id_is_user_deletable(), BKE_object_obdata_is_libdata(), BKE_report(), BKE_reportf(), C, CTX_data_active_object(), CTX_data_main(), ED_armature_join_objects_exec(), ED_curve_join_objects_exec(), ED_grease_pencil_join_objects_exec(), ED_mesh_join_objects_exec(), ELEM, Object::id, invert_m4_m4(), blender::ed::curves::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), Object::mode, ID::name, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_POINTCLOUD, 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 4812 of file object_add.cc.
References C, CTX_data_active_object(), Object::data, ELEM, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_GREASE_PENCIL, OB_MESH, OB_POINTCLOUD, OB_SURF, object_join_poll(), and Object::type.
Referenced by object_join_poll(), and OBJECT_OT_join().
|
static |
Definition at line 1585 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_object_obdata_size_init(), C, 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, size(), Light::type, and WM_operator_view3d_unit_defaults().
Referenced by OBJECT_OT_light_add().
|
static |
Definition at line 390 of file object_transform.cc.
References ANIM_KS_LOCATION_ID, C, object_clear_loc(), and object_clear_transform_generic_exec().
Referenced by OBJECT_OT_location_clear().
|
static |
Definition at line 986 of file object_add.cc.
References add_generic_get_opts(), add_type(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), C, 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 323 of file object_ops.cc.
References C, 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 2016 of file object_edit.cc.
References C, 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_MESH, OB_MODE_EDIT, OB_MODE_OBJECT, object_mode_set_ok_or_report(), OPERATOR_CANCELLED, 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 1975 of file object_edit.cc.
References C, CTX_data_active_object(), input, 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 123 of file object_edit.cc.
References BKE_reportf(), G, G_TRANSFORM_EDIT, G_TRANSFORM_OBJ, reports, and RPT_ERROR.
Referenced by editmode_toggle_exec(), object_mode_set_exec(), and posemode_exec().
|
static |
Definition at line 2009 of file object_edit.cc.
References C, 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 377 of file add_modifier_assets.cc.
References MEM_dupallocN(), 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, reports, 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, reports, ModifierData::type, and ModifierTypeInfo::type.
Referenced by modifier_move_to_index(), and modifier_move_up().
|
static |
Definition at line 338 of file object_modifier.cc.
References BKE_animdata_drivers_remove_for_rna_struct(), 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::id, Object::mode, modifier_skin_customdata_delete(), Object::modifiers, multires_customdata_delete(), OB_MODE_PARTICLE_EDIT, 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 329 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 2485 of file object_modifier.cc.
References C, 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, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by OBJECT_OT_modifiers_copy_to_selected().
|
static |
Definition at line 2051 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 492 of file object_transform.cc.
References C, 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 1295 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_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_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, C, RenderData::cfra, BMVert::co, copy_v3_v3(), CTX_data_active_object(), CTX_data_edit_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CU_3D, Scene::cursor, blender::Array< T, InlineBufferCapacity, Allocator >::data(), Object::data, DEG_get_evaluated(), DEG_id_tag_update(), depsgraph, GreasePencilFrame::drawing_index, ED_armature_origin_set(), EDBM_mesh_normals_update(), ELEM, Curve::flag, Object::flag, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::foreach_item(), blender::bke::greasepencil::Layer::frames(), Curves::geometry, GEOMETRY_TO_ORIGIN, GP_DRAWING, i, bArmature::id, Curve::id, Curves::id, GreasePencil::id, Lattice::id, MetaBall::id, Object::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(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), INIT_MINMAX, blender::math::invert(), invert_m4_m4(), blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), LISTBASE_FOREACH, blender::bke::greasepencil::Layer::local_transform(), View3DCursor::location, madd_v3_v3fl(), max, blender::bke::mesh_translate(), mid_v3_v3v3(), blender::math::midpoint(), min, minmax_v3v3_v3(), mul_m4_v3(), 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_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, wmOperator::ptr, Scene::r, 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, blender::Array< T, InlineBufferCapacity, Allocator >::size(), sorted_selected_editable_objects(), blender::bke::greasepencil::Drawing::strokes_for_write(), sub_v3_v3(), ID::tag, Scene::toolsettings, BMesh::totvert, blender::math::transform_direction(), ToolSettings::transform_pivot_point, blender::math::transform_point(), translate_positions(), GreasePencilDrawingBase::type, Object::type, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, WM_event_add_notifier(), wrap(), 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 722 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_ID_ID, ED_operator_objectmode(), object_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), and rna_enum_object_type_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_add_named | ( | wmOperatorType * | ot | ) |
Definition at line 4653 of file object_add.cc.
References ED_operator_objectmode_poll_msg(), object_add_drop_xy_generic_invoke(), object_add_drop_xy_props(), object_add_named_exec(), OBJECT_OT_add_named(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_matrix(), RNA_def_property_flag(), 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 1150 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), ED_operator_objectmode(), object_armature_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_bake | ( | wmOperatorType * | ot | ) |
Definition at line 2223 of file object_bake_api.cc.
References bake_exec(), bake_invoke(), bake_modal(), BLT_I18NCONTEXT_COLOR, ED_operator_object_active_editable_mesh(), FILE_MAX, FLT_MAX, MAX_CUSTOMDATA_LAYER_NAME_NO_PREFIX, MAX_NAME, ot, 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, and SCE_PASS_COMBINED.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_bake_image | ( | wmOperatorType * | ot | ) |
Definition at line 653 of file object_bake.cc.
References bake_image_exec(), ED_operator_object_active(), objects_bake_render_invoke(), objects_bake_render_modal(), and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_camera_add | ( | wmOperatorType * | ot | ) |
Definition at line 957 of file object_add.cc.
References add_generic_props(), ED_operator_objectmode(), object_camera_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, RNA_def_property_flag(), and RNA_struct_type_find_property().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_camera_custom_update | ( | wmOperatorType * | ot | ) |
Definition at line 71 of file object_camera.cc.
References object_camera_custom_update_exec(), object_camera_custom_update_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_clear_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2828 of file object_relations.cc.
References clear_override_library_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and reset_clear_override_library_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_add | ( | wmOperatorType * | ot | ) |
Definition at line 882 of file object_collection.cc.
References collection_add_exec(), ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_external_asset_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1859 of file object_add.cc.
References add_generic_props(), collection_drop_exec(), ED_operator_objectmode(), object_add_drop_xy_props(), object_instance_add_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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, 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 1758 of file object_add.cc.
References add_generic_props(), collection_instance_add_exec(), ED_operator_objectmode(), MAX_ID_NAME, object_add_drop_xy_props(), object_instance_add_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_link | ( | wmOperatorType * | ot | ) |
Definition at line 950 of file object_collection.cc.
References collection_link_exec(), ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_collection_local_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_enum_search_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_objects_select | ( | wmOperatorType * | ot | ) |
Definition at line 1108 of file object_collection.cc.
References ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and select_grouped_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1001 of file object_collection.cc.
References collection_remove_exec(), ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_collection_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 1067 of file object_collection.cc.
References collection_unlink_exec(), collection_unlink_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraint_add | ( | wmOperatorType * | ot | ) |
Definition at line 2462 of file object_constraint.cc.
References ED_operator_object_active_editable(), object_constraint_add_exec(), object_constraint_add_itemf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraint_add_with_targets | ( | wmOperatorType * | ot | ) |
Definition at line 2491 of file object_constraint.cc.
References ED_operator_object_active_editable(), object_constraint_add_exec(), object_constraint_add_itemf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraints_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2021 of file object_constraint.cc.
References ED_operator_object_active_local_editable(), object_constraints_clear_exec(), and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_constraints_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2122 of file object_constraint.cc.
References ED_operator_object_active_editable(), object_constraint_copy_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_convert | ( | wmOperatorType * | ot | ) |
Definition at line 4265 of file object_add.cc.
References BLT_I18NCONTEXT_ID_OBJECT, convert_target_itemf(), convert_target_items, OB_MESH, OBJECT_ADD_SIZE_MAXF, object_convert_exec(), object_convert_poll(), object_convert_ui(), OBJECT_OT_convert(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float_distance(), RNA_def_int(), RNA_def_property_translation_context(), 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 2978 of file object_modifier.cc.
References correctivesmooth_bind_exec(), correctivesmooth_bind_invoke(), correctivesmooth_poll(), edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_curves_empty_hair_add | ( | wmOperatorType * | ot | ) |
Definition at line 2112 of file object_add.cc.
References add_generic_props(), object_curves_empty_hair_add_exec(), object_curves_empty_hair_add_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_curves_random_add | ( | wmOperatorType * | ot | ) |
Definition at line 2044 of file object_add.cc.
References add_generic_props(), ED_operator_objectmode(), object_curves_random_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_data_instance_add | ( | wmOperatorType * | ot | ) |
Definition at line 1941 of file object_add.cc.
References add_generic_props(), BLT_I18NCONTEXT_ID_ID, ED_operator_objectmode(), object_add_drop_xy_generic_invoke(), object_add_drop_xy_props(), object_data_instance_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_id_type_items, 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 666 of file object_data_transfer.cc.
References CDT_MIX_TRANSFER, data_transfer_check(), data_transfer_exec(), data_transfer_get_description(), data_transfer_poll(), data_transfer_poll_property(), DT_layer_items, DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, dt_layers_select_itemf(), dt_mix_mode_itemf(), FLT_MAX, MREMAP_MODE_EDGE_NEAREST, MREMAP_MODE_LOOP_NEAREST_POLYNOR, MREMAP_MODE_POLY_NEAREST, MREMAP_MODE_VERT_NEAREST, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_datalayout_transfer | ( | wmOperatorType * | ot | ) |
Definition at line 925 of file object_data_transfer.cc.
References data_transfer_check(), data_transfer_poll_property(), datalayout_transfer_exec(), datalayout_transfer_invoke(), datalayout_transfer_poll(), DT_layer_items, DT_LAYERS_ACTIVE_DST, DT_LAYERS_ACTIVE_SRC, dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), edit_modifier_properties(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_enum_funcs_runtime(), rna_enum_dt_layers_select_dst_items, and rna_enum_dt_layers_select_src_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2316 of file object_add.cc.
References ED_operator_objectmode(), object_delete_exec(), object_delete_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), 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 3120 of file object_relations.cc.
References drop_geometry_nodes_invoke(), ED_operator_view3d_active(), INT32_MAX, INT32_MIN, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), and RNA_def_property_flag().
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 3013 of file object_relations.cc.
References drop_named_material_invoke(), ED_operator_objectmode_with_view3d_poll_msg(), OPTYPE_INTERNAL, OPTYPE_UNDO, ot, and WM_operator_properties_id_lookup().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 4533 of file object_add.cc.
References duplicate_exec(), ED_operator_objectmode(), OBJECT_OT_duplicate(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), rna_enum_transform_mode_type_items, and blender::ed::transform::TFM_TRANSLATION.
Referenced by OBJECT_OT_duplicate(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_duplicates_make_real | ( | wmOperatorType * | ot | ) |
Definition at line 2708 of file object_add.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, ED_operator_objectmode(), object_duplicates_make_real_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_property_translation_context().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_editmode_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1023 of file object_edit.cc.
References editmode_toggle_exec(), editmode_toggle_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_effector_add | ( | wmOperatorType * | ot | ) |
Definition at line 899 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), ED_operator_objectmode(), effector_add_exec(), field_type_items, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_empty_add | ( | wmOperatorType * | ot | ) |
Definition at line 1193 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), ED_operator_objectmode(), object_empty_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_object_empty_drawtype_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_empty_image_add | ( | wmOperatorType * | ot | ) |
Definition at line 1318 of file object_add.cc.
References add_generic_props(), FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, object_image_add_exec(), object_image_add_invoke(), object_image_add_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_PRESET, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), RNA_struct_type_find_property(), 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 3111 of file object_modifier.cc.
References edit_modifier_properties(), explode_poll(), explode_refresh_exec(), explode_refresh_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_forcefield_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1190 of file object_edit.cc.
References ED_operator_object_active_editable(), forcefield_toggle_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_geometry_node_tree_copy_assign | ( | wmOperatorType * | ot | ) |
Definition at line 3578 of file object_modifier.cc.
References ED_operator_object_active(), geometry_node_tree_copy_assign_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_geometry_nodes_input_attribute_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 3522 of file object_modifier.cc.
References ED_operator_object_active_editable(), geometry_nodes_input_attribute_toggle_exec(), MAX_NAME, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_string().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_add | ( | wmOperatorType * | ot | ) |
Definition at line 1518 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, ED_operator_objectmode(), FLT_MAX, GP_DRAWMODE_3D, object_grease_pencil_add_exec(), object_grease_pencil_add_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_property_translation_context(), rna_enum_gpencil_add_stroke_depth_order_items, and rna_enum_object_gpencil_type_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_add | ( | wmOperatorType * | ot | ) |
Definition at line 3664 of file object_modifier.cc.
References dash_modifier_segment_add_exec(), dash_modifier_segment_add_invoke(), dash_modifier_segment_poll(), edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_move | ( | wmOperatorType * | ot | ) |
Definition at line 3801 of file object_modifier.cc.
References dash_modifier_segment_move_exec(), dash_modifier_segment_move_invoke(), dash_modifier_segment_poll(), Down, edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), and Up.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_dash_modifier_segment_remove | ( | wmOperatorType * | ot | ) |
Definition at line 3719 of file object_modifier.cc.
References dash_modifier_segment_poll(), dash_modifier_segment_remove_exec(), dash_modifier_segment_remove_invoke(), edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_add | ( | wmOperatorType * | ot | ) |
Definition at line 3900 of file object_modifier.cc.
References edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, time_modifier_segment_add_exec(), time_modifier_segment_add_invoke(), and time_modifier_segment_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_move | ( | wmOperatorType * | ot | ) |
Definition at line 4037 of file object_modifier.cc.
References Down, edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), time_modifier_segment_move_exec(), time_modifier_segment_move_invoke(), time_modifier_segment_poll(), and Up.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_grease_pencil_time_modifier_segment_remove | ( | wmOperatorType * | ot | ) |
Definition at line 3955 of file object_modifier.cc.
References edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_int(), time_modifier_segment_poll(), time_modifier_segment_remove_exec(), and time_modifier_segment_remove_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_collection | ( | wmOperatorType * | ot | ) |
Definition at line 517 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, ED_operator_view3d_active(), object_hide_collection_exec(), object_hide_collection_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_view_clear | ( | wmOperatorType * | ot | ) |
Definition at line 329 of file object_edit.cc.
References object_hide_poll(), object_hide_view_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hide_view_set | ( | wmOperatorType * | ot | ) |
Definition at line 395 of file object_edit.cc.
References object_hide_poll(), object_hide_view_set_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_add_newob | ( | wmOperatorType * | ot | ) |
Definition at line 689 of file object_hook.cc.
References hook_op_edit_poll(), object_add_hook_newob_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_add_selob | ( | wmOperatorType * | ot | ) |
Definition at line 649 of file object_hook.cc.
References hook_op_edit_poll(), object_add_hook_selob_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_assign | ( | wmOperatorType * | ot | ) |
Definition at line 927 of file object_hook.cc.
References hook_mod_itemf(), hook_op_edit_poll(), object_hook_assign_exec(), OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_dummy_NULL_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_recenter | ( | wmOperatorType * | ot | ) |
Definition at line 862 of file object_hook.cc.
References hook_mod_itemf(), hook_op_edit_poll(), object_hook_recenter_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_dummy_NULL_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_remove | ( | wmOperatorType * | ot | ) |
Definition at line 759 of file object_hook.cc.
References hook_mod_itemf(), hook_op_edit_poll(), object_hook_remove_exec(), OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_reset | ( | wmOperatorType * | ot | ) |
Definition at line 807 of file object_hook.cc.
References hook_mod_itemf(), hook_op_edit_poll(), object_hook_reset_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_dummy_NULL_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_hook_select | ( | wmOperatorType * | ot | ) |
Definition at line 978 of file object_hook.cc.
References hook_mod_itemf(), hook_op_edit_poll(), object_hook_select_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_dummy_NULL_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_join | ( | wmOperatorType * | ot | ) |
Definition at line 4904 of file object_add.cc.
References object_join_exec(), object_join_poll(), OBJECT_OT_join(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by OBJECT_OT_join(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_join_shapes | ( | wmOperatorType * | ot | ) |
Definition at line 4956 of file object_add.cc.
References active_shape_key_editable_poll(), join_shapes_exec(), OBJECT_OT_join_shapes(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by OBJECT_OT_join_shapes(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_laplaciandeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3391 of file object_modifier.cc.
References edit_modifier_properties(), laplaciandeform_bind_exec(), laplaciandeform_bind_invoke(), laplaciandeform_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_light_add | ( | wmOperatorType * | ot | ) |
Definition at line 1623 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), BLT_I18NCONTEXT_ID_LIGHT, ED_operator_objectmode(), object_light_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_light_type_items, 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 ED_operator_object_active_editable(), light_linking_collection_new_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
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, ED_operator_object_active_editable(), light_linking_link_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
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 ED_operator_object_active(), light_linking_select_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
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 ED_operator_object_active_editable(), light_linking_collection_new_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
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, ED_operator_object_active_editable(), light_linking_link_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
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 ED_operator_object_active(), light_linking_select_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
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 ED_operator_object_active_editable(), light_linking_unlink_from_collection_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_lightprobe_add | ( | wmOperatorType * | ot | ) |
Definition at line 787 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), ED_operator_objectmode(), lightprobe_add_exec(), lightprobe_type_items, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_link_to_collection | ( | wmOperatorType * | ot | ) |
Definition at line 2482 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, MAX_NAME, move_to_collection_exec(), move_to_collection_invoke(), move_to_collection_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and RNA_def_string().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_location_clear | ( | wmOperatorType * | ot | ) |
Definition at line 395 of file object_transform.cc.
References ED_operator_scene_editable(), object_location_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_links_data | ( | wmOperatorType * | ot | ) |
Definition at line 1696 of file object_relations.cc.
References ED_operator_object_active(), 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, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), and RNA_ENUM_ITEM_SEPR.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_links_scene | ( | wmOperatorType * | ot | ) |
Definition at line 1672 of file object_relations.cc.
References make_links_scene_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, RNA_scene_local_itemf(), and WM_enum_search_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_local | ( | wmOperatorType * | ot | ) |
Definition at line 2315 of file object_relations.cc.
References ED_operator_objectmode(), MAKE_LOCAL_ALL, make_local_exec(), MAKE_LOCAL_SELECT_OB, MAKE_LOCAL_SELECT_OBDATA, MAKE_LOCAL_SELECT_OBDATA_MATERIAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2680 of file object_relations.cc.
References MAIN_ID_SESSION_UID_UNSET, make_override_library_exec(), make_override_library_invoke(), make_override_library_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2915 of file object_relations.cc.
References ED_operator_objectmode(), MAKE_SINGLE_USER_ALL, make_single_user_exec(), make_single_user_invoke(), MAKE_SINGLE_USER_SELECTED, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_enum().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_meshdeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3055 of file object_modifier.cc.
References edit_modifier_properties(), meshdeform_bind_exec(), meshdeform_bind_invoke(), meshdeform_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_metaball_add | ( | wmOperatorType * | ot | ) |
Definition at line 1030 of file object_add.cc.
References add_generic_props(), add_unit_props_radius_ex(), ED_operator_scene_editable(), object_metaball_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_metaelem_type_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_mode_set | ( | wmOperatorType * | ot | ) |
Definition at line 2114 of file object_edit.cc.
References OB_MODE_OBJECT, object_mode_set_exec(), object_mode_set_itemf(), object_mode_set_poll(), ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_object_mode_items.
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 2139 of file object_edit.cc.
References OBJECT_OT_mode_set(), ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum_flag(), RNA_def_property_flag(), and rna_enum_mesh_select_mode_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 1498 of file object_modifier.cc.
References ED_operator_object_active_editable(), eModifierType_Subsurf, modifier_add_exec(), modifier_add_invoke(), modifier_add_itemf(), modifier_register_use_selected_objects_prop(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_enum_funcs(), and rna_enum_object_modifier_type_items.
Referenced by operatortypes_object().
|
static |
Definition at line 327 of file add_modifier_assets.cc.
References ED_operator_object_active_editable(), modifier_add_asset_exec(), modifier_add_asset_get_description(), modifier_add_asset_invoke(), modifier_register_use_selected_objects_prop(), blender::ed::asset::operator_asset_reference_props_register(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 2104 of file object_modifier.cc.
References edit_modifier_properties(), edit_modifier_report_property(), modifier_apply_exec(), modifier_apply_invoke(), modifier_apply_poll(), modifier_register_use_selected_objects_prop(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_apply_as_shapekey | ( | wmOperatorType * | ot | ) |
Definition at line 2184 of file object_modifier.cc.
References edit_modifier_properties(), edit_modifier_report_property(), 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(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_convert | ( | wmOperatorType * | ot | ) |
Definition at line 2240 of file object_modifier.cc.
References edit_modifier_poll(), edit_modifier_properties(), modifier_convert_exec(), modifier_convert_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2301 of file object_modifier.cc.
References edit_modifier_liboverride_allowed_poll(), edit_modifier_properties(), modifier_copy_exec(), modifier_copy_invoke(), modifier_register_use_selected_objects_prop(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2470 of file object_modifier.cc.
References edit_modifier_properties(), modifier_copy_to_selected_exec(), modifier_copy_to_selected_invoke(), modifier_copy_to_selected_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 1876 of file object_modifier.cc.
References edit_modifier_poll(), edit_modifier_properties(), modifier_move_down_exec(), modifier_move_down_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_to_index | ( | wmOperatorType * | ot | ) |
Definition at line 1936 of file object_modifier.cc.
References edit_modifier_poll(), edit_modifier_properties(), modifier_move_to_index_exec(), modifier_move_to_index_invoke(), modifier_register_use_selected_objects_prop(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 1829 of file object_modifier.cc.
References edit_modifier_poll(), edit_modifier_properties(), modifier_move_up_exec(), modifier_move_up_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1744 of file object_modifier.cc.
References edit_modifier_poll(), edit_modifier_properties(), edit_modifier_report_property(), modifier_register_use_selected_objects_prop(), modifier_remove_exec(), modifier_remove_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifier_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 2347 of file object_modifier.cc.
References ED_operator_object_active_only(), edit_modifier_properties(), modifier_set_active_exec(), modifier_set_active_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifiers_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1787 of file object_modifier.cc.
References modifiers_clear_exec(), modifiers_clear_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_modifiers_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2530 of file object_modifier.cc.
References modifiers_copy_to_selected_poll(), object_modifiers_copy_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_move_to_collection | ( | wmOperatorType * | ot | ) |
Definition at line 2443 of file object_edit.cc.
References COLLECTION_INVALID_INDEX, MAX_NAME, move_to_collection_exec(), move_to_collection_invoke(), move_to_collection_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and RNA_def_string().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_base_apply | ( | wmOperatorType * | ot | ) |
Definition at line 415 of file object_multires_modifier.cc.
References edit_modifier_properties(), multires_base_apply_exec(), multires_base_apply_invoke(), multires_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_external_pack | ( | wmOperatorType * | ot | ) |
Definition at line 363 of file object_multires_modifier.cc.
References multires_external_pack_exec(), multires_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_external_save | ( | wmOperatorType * | ot | ) |
Definition at line 318 of file object_multires_modifier.cc.
References edit_modifier_properties(), FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_BTX, FILE_TYPE_FOLDER, multires_external_save_exec(), multires_external_save_invoke(), multires_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 edit_modifier_properties(), multires_higher_levels_delete_exec(), multires_higher_levels_delete_invoke(), multires_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_rebuild_subdiv | ( | wmOperatorType * | ot | ) |
Definition at line 525 of file object_multires_modifier.cc.
References edit_modifier_properties(), multires_poll(), multires_rebuild_subdiv_exec(), multires_rebuild_subdiv_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_reshape | ( | wmOperatorType * | ot | ) |
Definition at line 231 of file object_multires_modifier.cc.
References edit_modifier_properties(), multires_poll(), multires_reshape_exec(), multires_reshape_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_subdivide | ( | wmOperatorType * | ot | ) |
Definition at line 154 of file object_multires_modifier.cc.
References CatmullClark, edit_modifier_properties(), multires_poll(), multires_subdivide_exec(), multires_subdivide_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_multires_subdivide_mode_type, and RNA_def_enum().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_multires_unsubdivide | ( | wmOperatorType * | ot | ) |
Definition at line 469 of file object_multires_modifier.cc.
References edit_modifier_properties(), multires_poll(), multires_unsubdivide_exec(), multires_unsubdivide_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_ocean_bake | ( | wmOperatorType * | ot | ) |
Definition at line 3312 of file object_modifier.cc.
References edit_modifier_properties(), ocean_bake_exec(), ocean_bake_invoke(), ocean_bake_poll(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_origin_clear | ( | wmOperatorType * | ot | ) |
Definition at line 517 of file object_transform.cc.
References ED_operator_scene_editable(), object_origin_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_origin_set | ( | wmOperatorType * | ot | ) |
Definition at line 1850 of file object_transform.cc.
References ED_operator_scene_editable(), GEOMETRY_TO_ORIGIN, 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, RNA_def_enum(), 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 442 of file object_relations.cc.
References CLEAR_PARENT_ALL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_clear_exec(), prop_clear_parent_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_inverse_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1248 of file object_transform.cc.
References ED_operator_objectmode(), OBJECT_OT_parent_inverse_apply(), object_parent_inverse_apply_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
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 1158 of file object_relations.cc.
References ED_operator_object_active_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_noinv_set_exec(), and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 1079 of file object_relations.cc.
References ED_operator_object_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_set_exec(), parent_set_invoke(), parent_set_poll_property(), prop_make_parent_types, RNA_def_boolean(), and RNA_def_enum().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_calculate | ( | wmOperatorType * | ot | ) |
Definition at line 1383 of file object_edit.cc.
References ED_operator_object_active_editable(), MOTIONPATH_RANGE_SCENE, MOTIONPATH_TYPE_RANGE, object_calculate_paths_exec(), object_calculate_paths_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_motionpath_display_type_items, and rna_enum_motionpath_range_items.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1573 of file object_edit.cc.
References ED_operator_object_active_editable(), object_clear_paths_exec(), object_clear_paths_get_description(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_update | ( | wmOperatorType * | ot | ) |
Definition at line 1455 of file object_edit.cc.
References object_update_paths_exec(), object_update_paths_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_paths_update_visible | ( | wmOperatorType * | ot | ) |
Definition at line 1496 of file object_edit.cc.
References object_update_all_paths_exec(), object_update_all_paths_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_pointcloud_random_add | ( | wmOperatorType * | ot | ) |
Definition at line 2161 of file object_add.cc.
References add_generic_props(), ED_operator_objectmode(), object_pointcloud_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_posemode_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1120 of file object_edit.cc.
References ED_operator_object_active_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and posemode_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_quadriflow_remesh | ( | wmOperatorType * | ot | ) |
Definition at line 1121 of file object_remesh.cc.
References FLT_MAX, mode_type_items, object_remesh_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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(), and RNA_def_property_flag().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_reset_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2753 of file object_relations.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 429 of file object_transform.cc.
References ED_operator_scene_editable(), object_rotation_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_scale_clear | ( | wmOperatorType * | ot | ) |
Definition at line 463 of file object_transform.cc.
References ED_operator_scene_editable(), object_scale_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1132 of file object_select.cc.
References object_select_all_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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, object_select_by_type_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_object_type_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_grouped | ( | wmOperatorType * | ot | ) |
Definition at line 1076 of file object_select.cc.
References object_select_grouped_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_select_grouped_types, RNA_def_boolean(), RNA_def_enum(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 1390 of file object_select.cc.
References ED_operator_objectmode(), object_select_less_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 687 of file object_select.cc.
References object_select_linked_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_select_linked_types, RNA_def_boolean(), RNA_def_enum(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 1263 of file object_select.cc.
References object_select_mirror_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 1359 of file object_select.cc.
References ED_operator_objectmode(), object_select_more_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_random | ( | wmOperatorType * | ot | ) |
Definition at line 1443 of file object_select.cc.
References object_select_random_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_select_random().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_select_same_collection | ( | wmOperatorType * | ot | ) |
Definition at line 1193 of file object_select.cc.
References MAX_ID_NAME, object_select_same_collection_exec(), objects_selectable_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_string().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_auto_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 1939 of file object_edit.cc.
References DEG2RADF, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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(), and shade_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_flat | ( | wmOperatorType * | ot | ) |
Definition at line 1731 of file object_edit.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), shade_poll(), and shade_smooth_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 1752 of file object_edit.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), shade_poll(), and shade_smooth_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shade_smooth_by_angle | ( | wmOperatorType * | ot | ) |
Definition at line 1773 of file object_edit.cc.
References DEG2RADF, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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(), and shade_smooth_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_add | ( | wmOperatorType * | ot | ) |
Definition at line 360 of file object_shader_fx.cc.
References BLT_I18NCONTEXT_ID_ID, edit_shaderfx_poll(), eShaderFxType_Blur, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_object_shaderfx_type_items, shaderfx_add_exec(), shaderfx_add_itemf(), 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 edit_shaderfx_poll(), edit_shaderfx_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 600 of file object_shader_fx.cc.
References edit_shaderfx_poll(), edit_shaderfx_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 edit_shaderfx_poll(), edit_shaderfx_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_int(), shaderfx_move_to_index_exec(), and shaderfx_move_to_index_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shaderfx_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 553 of file object_shader_fx.cc.
References edit_shaderfx_poll(), edit_shaderfx_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 507 of file object_shader_fx.cc.
References edit_shaderfx_poll(), edit_shaderfx_properties(), edit_shaderfx_report_property(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 354 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), shape_key_add_exec(), and shape_key_mode_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_clear | ( | wmOperatorType * | ot | ) |
Definition at line 525 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, shape_key_clear_exec(), and shape_key_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_copy | ( | wmOperatorType * | ot | ) |
Definition at line 395 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, shape_key_copy_exec(), and shape_key_mode_exists_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_lock | ( | wmOperatorType * | ot | ) |
Definition at line 755 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), shape_key_exists_poll(), SHAPE_KEY_LOCK, shape_key_lock_exec(), shape_key_lock_get_description(), and SHAPE_KEY_UNLOCK.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 603 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), shape_key_mirror_exec(), and shape_key_mode_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_move | ( | wmOperatorType * | ot | ) |
Definition at line 674 of file object_shapekey.cc.
References KB_MOVE_BOTTOM, KB_MOVE_DOWN, KB_MOVE_TOP, KB_MOVE_UP, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), shape_key_move_exec(), and shape_key_move_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_remove | ( | wmOperatorType * | ot | ) |
Definition at line 475 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), shape_key_mode_exists_poll(), shape_key_remove_exec(), shape_key_remove_get_description(), and shape_key_remove_poll_property().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_shape_key_retime | ( | wmOperatorType * | ot | ) |
Definition at line 563 of file object_shapekey.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 2899 of file object_modifier.cc.
References edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, skin_armature_create_exec(), skin_armature_create_invoke(), and skin_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_loose_mark_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2679 of file object_modifier.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), skin_edit_poll(), SKIN_LOOSE_CLEAR, SKIN_LOOSE_MARK, and skin_loose_mark_clear_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_radii_equalize | ( | wmOperatorType * | ot | ) |
Definition at line 2728 of file object_modifier.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, skin_edit_poll(), and skin_radii_equalize_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_skin_root_mark | ( | wmOperatorType * | ot | ) |
Definition at line 2626 of file object_modifier.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, skin_edit_poll(), and skin_root_mark_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_speaker_add | ( | wmOperatorType * | ot | ) |
Definition at line 2007 of file object_add.cc.
References add_generic_props(), ED_operator_objectmode(), object_speaker_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_surfacedeform_bind | ( | wmOperatorType * | ot | ) |
Definition at line 3460 of file object_modifier.cc.
References edit_modifier_properties(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, surfacedeform_bind_exec(), surfacedeform_bind_invoke(), and surfacedeform_bind_poll().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_text_add | ( | wmOperatorType * | ot | ) |
Definition at line 1077 of file object_add.cc.
References add_generic_props(), add_unit_props_radius(), ED_operator_objectmode(), object_add_text_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_track_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1241 of file object_relations.cc.
References ED_operator_objectmode(), object_track_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_clear_track_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_track_set | ( | wmOperatorType * | ot | ) |
Definition at line 1363 of file object_relations.cc.
References ED_operator_objectmode(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_make_track_types, RNA_def_enum(), track_set_exec(), and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_transfer_mode | ( | wmOperatorType * | ot | ) |
Definition at line 524 of file object_modes.cc.
References object_transfer_mode_invoke(), object_transfer_mode_poll(), OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_REGISTER, ot, RNA_def_boolean(), and WM_CURSOR_EYEDROPPER.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1193 of file object_transform.cc.
References ED_operator_objectmode(), OBJECT_OT_transform_apply(), object_transform_apply_exec(), object_transform_apply_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by OBJECT_OT_transform_apply(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_axis_target | ( | wmOperatorType * | ot | ) |
Definition at line 2369 of file object_transform.cc.
References ED_operator_region_view3d_active(), 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, and ot.
Referenced by OBJECT_OT_transform_axis_target(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_transform_to_mouse | ( | wmOperatorType * | ot | ) |
Definition at line 4763 of file object_add.cc.
References ED_operator_objectmode_poll_msg(), INT32_MAX, INT32_MIN, MAX_ID_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, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_float_matrix(), RNA_def_int(), RNA_def_property_flag(), and RNA_def_string().
Referenced by OBJECT_OT_transform_to_mouse(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_unlink_data | ( | wmOperatorType * | ot | ) |
Definition at line 3188 of file object_relations.cc.
References object_unlink_data_exec(), OPTYPE_INTERNAL, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_update_shapes | ( | wmOperatorType * | ot | ) |
Definition at line 4975 of file object_add.cc.
References active_shape_key_editable_poll(), OBJECT_OT_update_shapes(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and update_all_shape_keys_exec().
Referenced by OBJECT_OT_update_shapes(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_add | ( | wmOperatorType * | ot | ) |
Definition at line 2638 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_add(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_add_exec(), and vertex_group_supported_poll().
Referenced by OBJECT_OT_vertex_group_add(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_assign | ( | wmOperatorType * | ot | ) |
Definition at line 2800 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_assign(), OPTYPE_UNDO, ot, vertex_group_assign_exec(), and vertex_group_vert_select_unlocked_poll().
Referenced by OBJECT_OT_vertex_group_assign(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_assign_new | ( | wmOperatorType * | ot | ) |
Definition at line 2835 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_assign_new(), OPTYPE_UNDO, ot, vertex_group_assign_new_exec(), and vertex_group_vert_select_poll().
Referenced by OBJECT_OT_vertex_group_assign_new(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_clean | ( | wmOperatorType * | ot | ) |
Definition at line 3526 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_clean(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_float(), vertex_group_clean_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_clean(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_copy | ( | wmOperatorType * | ot | ) |
Definition at line 3026 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_copy(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_copy_exec(), and vertex_group_poll().
Referenced by OBJECT_OT_vertex_group_copy(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_copy_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 3765 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_copy_to_selected(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_copy_to_selected_exec(), and vertex_group_poll().
Referenced by OBJECT_OT_vertex_group_copy_to_selected(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 2992 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_deselect(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_deselect_exec(), and vertex_group_vert_select_poll().
Referenced by OBJECT_OT_vertex_group_deselect(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_invert | ( | wmOperatorType * | ot | ) |
Definition at line 3376 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_invert(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), vertex_group_invert_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_invert(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_levels | ( | wmOperatorType * | ot | ) |
Definition at line 3070 of file object_vgroup.cc.
References FLT_MAX, OBJECT_OT_vertex_group_levels(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), vertex_group_levels_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_levels(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_limit_total | ( | wmOperatorType * | ot | ) |
Definition at line 3648 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_limit_total(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_int(), vertex_group_limit_total_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_limit_total(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_lock | ( | wmOperatorType * | ot | ) |
Definition at line 3317 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_lock(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), 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 OBJECT_OT_vertex_group_lock(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 3697 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_mirror(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), vertex_group_mirror_exec(), and vertex_group_poll().
Referenced by OBJECT_OT_vertex_group_mirror(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_move | ( | wmOperatorType * | ot | ) |
Definition at line 4106 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_move(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), vertex_group_poll(), and vgroup_move_exec().
Referenced by OBJECT_OT_vertex_group_move(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_normalize | ( | wmOperatorType * | ot | ) |
Definition at line 3115 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_normalize(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_normalize_exec(), and vertex_group_poll().
Referenced by OBJECT_OT_vertex_group_normalize(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_normalize_all | ( | wmOperatorType * | ot | ) |
Definition at line 3209 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_normalize_all(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), vertex_group_normalize_all_exec(), vertex_group_poll(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_normalize_all(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_quantize | ( | wmOperatorType * | ot | ) |
Definition at line 3585 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_quantize(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_int(), vertex_group_poll(), vertex_group_quantize_exec(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_quantize(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_remove | ( | wmOperatorType * | ot | ) |
Definition at line 2745 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_remove(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), vertex_group_poll(), and vertex_group_remove_exec().
Referenced by OBJECT_OT_vertex_group_remove(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_remove_from | ( | wmOperatorType * | ot | ) |
Definition at line 2908 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_remove_from(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), vertex_group_remove_from_exec(), and vertex_group_vert_select_unlocked_poll().
Referenced by OBJECT_OT_vertex_group_remove_from(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_select | ( | wmOperatorType * | ot | ) |
Definition at line 2958 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_select(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_select_exec(), and vertex_group_vert_select_poll().
Referenced by OBJECT_OT_vertex_group_select(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 3834 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_set_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, set_active_group_exec(), vertex_group_poll(), vgroup_itemf(), and WM_menu_invoke().
Referenced by OBJECT_OT_vertex_group_set_active(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 3466 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_smooth(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), RNA_def_int(), vertex_group_mesh_vert_poll(), vertex_group_smooth_exec(), and vgroup_operator_subset_select_props().
Referenced by OBJECT_OT_vertex_group_smooth(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_group_sort | ( | wmOperatorType * | ot | ) |
Definition at line 4044 of file object_vgroup.cc.
References OBJECT_OT_vertex_group_sort(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), SORT_TYPE_BONEHIERARCHY, SORT_TYPE_NAME, vertex_group_poll(), and vertex_group_sort_exec().
Referenced by OBJECT_OT_vertex_group_sort(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 292 of file object_relations.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 4423 of file object_vgroup.cc.
References OBJECT_OT_vertex_weight_copy(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_vert_select_mesh_poll(), and vertex_weight_copy_exec().
Referenced by OBJECT_OT_vertex_weight_copy(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_delete | ( | wmOperatorType * | ot | ) |
Definition at line 4289 of file object_vgroup.cc.
References OBJECT_OT_vertex_weight_delete(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), vertex_group_vert_select_mesh_poll(), and vertex_weight_delete_exec().
Referenced by OBJECT_OT_vertex_weight_delete(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_normalize_active_vertex | ( | wmOperatorType * | ot | ) |
Definition at line 4388 of file object_vgroup.cc.
References OBJECT_OT_vertex_weight_normalize_active_vertex(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, vertex_group_vert_select_mesh_poll(), and vertex_weight_normalize_active_vertex_exec().
Referenced by OBJECT_OT_vertex_weight_normalize_active_vertex(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_paste | ( | wmOperatorType * | ot | ) |
Definition at line 4238 of file object_vgroup.cc.
References OBJECT_OT_vertex_weight_paste(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), vertex_group_vert_select_mesh_poll(), and vertex_weight_paste_exec().
Referenced by OBJECT_OT_vertex_weight_paste(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_vertex_weight_set_active | ( | wmOperatorType * | ot | ) |
Definition at line 4336 of file object_vgroup.cc.
References OBJECT_OT_vertex_weight_set_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), vertex_group_vert_select_mesh_poll(), and vertex_weight_set_active_exec().
Referenced by OBJECT_OT_vertex_weight_set_active(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_visual_geometry_to_objects | ( | wmOperatorType * | ot | ) |
Definition at line 526 of file object_visual_geometry_to_objects.cc.
References ED_operator_object_active(), OBJECT_OT_visual_geometry_to_objects(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and visual_geometry_to_objects_exec().
Referenced by OBJECT_OT_visual_geometry_to_objects(), and operatortypes_object().
| void blender::ed::object::OBJECT_OT_visual_transform_apply | ( | wmOperatorType * | ot | ) |
Definition at line 1135 of file object_transform.cc.
References ED_operator_scene_editable(), OBJECT_OT_visual_transform_apply(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 55 of file object_volume.cc.
References add_generic_props(), ED_operator_objectmode(), object_volume_add_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_volume_import | ( | wmOperatorType * | ot | ) |
Called by other space types too.
Definition at line 148 of file object_volume.cc.
References add_generic_props(), FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_VOLUME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), 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 175 of file object_remesh.cc.
References object_remesh_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and voxel_remesh_exec().
Referenced by operatortypes_object().
| void blender::ed::object::OBJECT_OT_voxel_size_edit | ( | wmOperatorType * | ot | ) |
Definition at line 610 of file object_remesh.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 411 of file object_modes.cc.
References BLI_time_now_seconds(), C, CTX_data_depsgraph_pointer(), DEG_get_evaluated(), depsgraph, and Object::runtime.
Referenced by object_transfer_mode_to_base().
|
static |
Definition at line 442 of file object_utils.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and Object::parent.
Referenced by object_xform_array_m4().
|
static |
Definition at line 1231 of file object_transform.cc.
References BKE_object_apply_parent_inverse(), C, 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 1212 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 2132 of file object_add.cc.
References add_generic_get_opts(), add_type(), C, CustomData_realloc(), blender::bke::SpanAttributeWriter< T >::finish(), i, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), OB_POINTCLOUD, OPERATOR_FINISHED, blender::bke::Point, rot, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by OBJECT_OT_pointcloud_random_add().
Definition at line 1272 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 35 of file object_random.cc.
References copy_v3_v3(), dot_v3v3(), TransVert::flag, blender::RandomNumberGenerator::get_float(), blender::RandomNumberGenerator::get_unit_float3(), 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 76 of file object_random.cc.
References BKE_view_layer_array_from_objects_in_mode_unique_data(), BLI_ghashutil_strhash_p(), C, 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, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), 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 77 of file object_remesh.cc.
References BKE_modifiers_uses_multires(), BKE_object_is_in_editmode(), SculptSession::bm, C, 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 424 of file object_transform.cc.
References ANIM_KS_ROTATION_ID, C, object_clear_rot(), and object_clear_transform_generic_exec().
Referenced by OBJECT_OT_rotation_clear().
|
static |
Definition at line 458 of file object_transform.cc.
References ANIM_KS_SCALING_ID, C, 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, C, CTX_DATA_BEGIN, CTX_DATA_END, Object::instance_collection, OB_DUPLICOLLECTION, and Object::transflag.
Referenced by object_select_linked_exec().
Definition at line 547 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, C, 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, C, CTX_DATA_BEGIN, CTX_DATA_END, and lib.
Referenced by object_select_linked_exec().
Definition at line 473 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_object_material_get(), C, 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, C, 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, C, CTX_DATA_BEGIN, CTX_DATA_END, LISTBASE_FOREACH, ParticleSystem::part, and psys_get_current().
Referenced by object_select_linked_exec().
|
static |
Definition at line 1106 of file object_select.cc.
References base_deselect_all_ex(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, 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(), C, 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(), Scene::id, 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 1002 of file object_select.cc.
References base_deselect_all(), BKE_report(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, 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 1374 of file object_select.cc.
References C, CTX_data_scene(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, 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(), C, 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, Scene::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 1222 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(), C, 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(), Scene::id, 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 1343 of file object_select.cc.
References C, CTX_data_scene(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, 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 1292 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(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), CTX_data_selectable_bases(), CTX_data_view_layer(), 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 1411 of file object_select.cc.
References base_select(), BLI_array_randomize(), C, CTX_data_scene(), CTX_data_selectable_bases(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), i, Scene::id, 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 1156 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_collection_has_object(), BKE_libblock_find_name(), C, 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(), Scene::id, 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 109 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 135 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_object_shapekey_insert(), BLI_findindex(), Key::block, C, CTX_data_main(), NC_OBJECT, ND_DRAW, Object::shapenr, and WM_event_add_notifier().
Referenced by shape_key_add_exec().
|
static |
Definition at line 171 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_lattice_index_from_uvw(), BLI_findlink(), Key::block, C, 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_calloc_arrayN(), 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 154 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 1854 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 1971 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(), C, RenderData::cfra, 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, Scene::r, rot, NlaStrip::start, STRNCPY_UTF8, and WM_event_add_notifier().
Referenced by OBJECT_OT_speaker_add().
|
static |
Definition at line 542 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 527 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 1201 of file object_relations.cc.
References BKE_constraint_remove_ex(), BKE_object_apply_mat4(), BKE_report(), C, 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 459 of file object_modes.cc.
References BKE_reportf(), BLI_assert, C, 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, Scene::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 387 of file object_modes.cc.
References C, CTX_data_active_object(), CTX_wm_region_view3d(), Object::mode, and OB_MODE_OBJECT.
Referenced by OBJECT_OT_transfer_mode().
|
static |
Definition at line 397 of file object_modes.cc.
References UnifiedPaintSettings::average_stroke_accum, UnifiedPaintSettings::average_stroke_counter, copy_v3_v3(), ED_view3d_autodist_simple(), UnifiedPaintSettings::last_stroke_valid, Scene::toolsettings, and ToolSettings::unified_paint_settings.
Referenced by object_transfer_mode_invoke().
|
static |
Definition at line 418 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(), C, CTX_data_view_layer(), ED_undo_group_begin(), ED_undo_group_end(), ED_undo_push(), 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 1150 of file object_transform.cc.
References apply_objects_internal(), C, 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 1165 of file object_transform.cc.
References ALERT_ICON_WARNING, apply_objects_internal_can_multiuser(), apply_objects_internal_need_single_user(), C, 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 1960 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(), blender::ed::object::XFormAxisData::is_depth_valid, isect_line_line_v3(), mul_v3_fl(), blender::ed::object::XFormAxisItem::ob, 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 2079 of file object_transform.cc.
References BKE_object_tfm_restore(), C, wmOperator::customdata, DEG_id_tag_update(), Object::id, ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, blender::ed::object::XFormAxisItem::ob, blender::ed::object::XFormAxisData::object_data, object_transform_axis_target_cancel(), object_transform_axis_target_free_data(), blender::ed::object::XFormAxisItem::obtfm, 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 2006 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, object_transform_axis_target_free_data(), and blender::ed::object::XFormAxisItem::obtfm.
Referenced by object_transform_axis_target_cancel(), object_transform_axis_target_free_data(), and object_transform_axis_target_modal().
|
static |
Definition at line 2091 of file object_transform.cc.
References BKE_object_rot_to_mat3(), BKE_object_tfm_backup(), BKE_object_to_mat3(), BKE_report(), C, 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, blender::ed::object::XFormAxisItem::is_z_flip, ViewContext::mval, blender::ed::object::XFormAxisItem::ob, ViewContext::obact, blender::ed::object::XFormAxisData::object_data, object_is_target_compat(), object_transform_axis_target_invoke(), blender::ed::object::XFormAxisItem::obtfm, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, blender::ed::object::XFormAxisData::prev, ViewContext::region, wmOperator::reports, blender::ed::object::XFormAxisItem::rot_mat, 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 2165 of file object_transform.cc.
References add_v3_v3(), blender::animrig::autokeyframe_property(), C, RenderData::cfra, copy_m3_m4(), copy_v3_v3(), CTX_data_scene(), wmOperator::customdata, DEG_id_tag_update(), blender::ed::object::XFormAxisData::depth, ViewDepths::depth_range, blender::ed::object::XFormAxisData::depths, dot_v3v3(), 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, i, 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, ptr, Scene::r, ViewContext::region, RIGHTMOUSE, RNA_pointer_create_discrete(), RNA_struct_find_property(), blender::ed::object::XFormAxisItem::rot_mat, ROT_MODE_AXISANGLE, ROT_MODE_QUAT, Object::rotmode, Object::runtime, wmEvent::type, wmEvent::val, blender::ed::object::XFormAxisData::vc, view3d_operator_needs_gpu(), ViewDepths::w, WM_event_add_notifier(), x, blender::ed::object::XFormAxisItem::xform_dist, blender::ed::object::XFormAxisItem::xform_rot_offset, and y.
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 4693 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(), C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region_view3d(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), 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, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), 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 3153 of file object_relations.cc.
References BKE_report(), C, 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 1481 of file object_edit.cc.
References C, 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 1476 of file object_edit.cc.
Referenced by OBJECT_OT_paths_update_visible().
|
static |
Definition at line 1429 of file object_edit.cc.
References animviz_motionpath_compute_range(), animviz_verify_motionpaths(), C, 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 1419 of file object_edit.cc.
References Object::avs, C, 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 40 of file object_volume.cc.
References add_generic_get_opts(), add_type(), C, OB_VOLUME, and rot.
Referenced by object_volume_add_exec(), and volume_import_exec().
|
static |
Definition at line 50 of file object_volume.cc.
References C, 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, i, invert_m4_m4(), TransVert::loc, max, min, mul_v2_v2fl(), mul_v3_m4v3(), 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, i, TransVert::loc, max, 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 C, copy_m4_m4(), copy_v3_v3(), CTX_data_edit_object(), CTX_data_scene(), CTX_wm_region_view3d(), Scene::cursor, ED_transverts_create_from_obedit(), ED_transverts_free(), ED_transverts_update_obedit(), View3DCursor::location, 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 452 of file object_utils.cc.
References add_v3_v3(), BKE_object_apply_mat4(), BKE_object_to_mat4(), copy_m4_m4(), DEG_id_tag_update(), equals_m4m4(), i, 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 249 of file object_utils.cc.
References BLI_ghash_free(), MEM_freeN(), and blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by blender::ed::transform::freeTransObjectCustomData(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
| 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 255 of file object_utils.cc.
References BLI_ghash_ensure_p(), copy_m4_m4(), invert_m4_m4(), 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 blender::ed::transform::createTransObject(), and 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 276 of file object_utils.cc.
References BKE_scene_graph_evaluated_ensure(), BLI_assert, BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), DEG_get_evaluated(), 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(), snap_sel_to_grid_exec(), snap_selected_to_location_rotation(), and blender::ed::transform::trans_obchild_in_obmode_update_all().
|
static |
Definition at line 128 of file object_collection.cc.
References BKE_collection_has_object(), BKE_collection_object_add(), BKE_collection_object_cyclic_check(), BKE_report(), C, 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 622 of file object_bake.cc.
References C, 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 593 of file object_bake.cc.
References C, 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 160 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(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), ListBase::first, 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, SPACE_VIEW3D, ScrArea::spacedata, and ScrArea::spacetype.
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 221 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(), C, 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 C, 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 1187 of file object_constraint.cc.
References BKE_report(), C, CONSTRAINT_TYPE_OBJECTSOLVER, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 1208 of file object_constraint.cc.
References C, edit_constraint_invoke_properties(), objectsolver_clear_inverse_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_objectsolver_clear_inverse().
|
static |
Definition at line 1125 of file object_constraint.cc.
References BKE_report(), C, CONSTRAINT_TYPE_OBJECTSOLVER, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 1152 of file object_constraint.cc.
References C, edit_constraint_invoke_properties(), objectsolver_set_inverse_exec(), and OPERATOR_CANCELLED.
Referenced by CONSTRAINT_OT_objectsolver_set_inverse().
|
static |
Definition at line 3211 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(), C, OceanModifierData::cached, OceanModifierData::cachepath, RenderData::cfra, 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(), i, Object::id, ID_RECALC_GEOMETRY, MEM_callocN(), MEM_malloc_arrayN(), NC_OBJECT, ND_MODIFIER, blender::ed::object::OceanBakeJob::ocean, 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, Scene::r, 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(), and ocean_bake_invoke().
|
static |
Definition at line 3304 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), ocean_bake_exec(), and OPERATOR_CANCELLED.
Referenced by OBJECT_OT_ocean_bake().
|
static |
Definition at line 3132 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_ocean_bake().
|
static |
|
static |
Definition at line 3195 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, OceanModifierData::oceancache, blender::ed::object::OceanBakeJob::och, blender::ed::object::OceanBakeJob::omd, and blender::ed::object::OceanBakeJob::owner.
Referenced by ocean_bake_exec().
|
static |
Definition at line 3148 of file object_modifier.cc.
Referenced by ocean_bake_exec().
|
static |
Definition at line 3179 of file object_modifier.cc.
References BKE_ocean_bake(), blender::ed::object::OceanBakeJob::do_update, G, blender::ed::object::OceanBakeJob::ocean, oceanbake_update(), blender::ed::object::OceanBakeJob::och, blender::ed::object::OceanBakeJob::progress, and blender::ed::object::OceanBakeJob::stop.
Referenced by ocean_bake_exec().
|
static |
Definition at line 3167 of file object_modifier.cc.
References blender::ed::object::OceanBakeJob::do_update, oceanbake_breakjob(), blender::ed::object::OceanBakeJob::progress, and progress.
Referenced by oceanbake_startjob().
| void blender::ed::object::operatormacros_object | ( | ) |
Definition at line 295 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().
Referenced by ED_spacemacros_init().
| void blender::ed::object::operatortypes_object | ( | ) |
Definition at line 29 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_camera_custom_update(), 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_random_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_copy(), 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_update_shapes(), 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_geometry_to_objects(), 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().
Referenced by ED_spacetypes_init().
| void blender::ed::object::parent_clear | ( | Object * | ob, |
| int | type ) |
Definition at line 383 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, parent_clear_data(), Object::parentinv, and unit_m4().
Referenced by parent_clear_exec(), and blender::ed::outliner::parent_clear_invoke().
|
static |
Definition at line 374 of file object_relations.cc.
References Object::parent, PAROBJECT, Object::parsubstr, and Object::partype.
Referenced by parent_clear(), and parent_set().
|
static |
Definition at line 424 of file object_relations.cc.
References C, 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 1115 of file object_relations.cc.
References BKE_object_apply_parent_inverse(), BKE_object_parent_loop_check(), BKE_report(), C, 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 465 of file object_relations.cc.
References BKE_object_parent_loop_check(), BLI_assert, ELEM, PARBONE, Object::parent, parent_clear_data(), 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 774 of file object_relations.cc.
References C, CTX_data_ensure_evaluated_depsgraph(), DEG_get_evaluated(), depsgraph, parent_set_with_depsgraph(), and reports.
Referenced by bc_set_parent(), object_curves_empty_hair_add_exec(), blender::ed::outliner::parent_drop_set_parents(), parent_set_vertex_parent_with_kdtree(), and blender::ed::curves::surface_set::surface_set_exec().
|
static |
Definition at line 920 of file object_relations.cc.
References C, context_active_object(), CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), ELEM, blender::ed::object::ParentingContext::is_vertex_tri, blender::ed::object::ParentingContext::keep_transform, NC_OBJECT, ND_PARENT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::object::ParentingContext::par, PAR_VERTEX, PAR_VERTEX_TRI, parent_set_nonvertex_parent(), parent_set_vertex_parent(), blender::ed::object::ParentingContext::partype, wmOperator::ptr, blender::ed::object::ParentingContext::reports, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), blender::ed::object::ParentingContext::scene, WM_event_add_notifier(), and blender::ed::object::ParentingContext::xmirror.
Referenced by OBJECT_OT_parent_set(), and parent_set_invoke().
|
static |
Definition at line 1053 of file object_relations.cc.
References C, 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 951 of file object_relations.cc.
References C, context_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, ELEM, IFACE_, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, OB_SURF, OB_TYPE_SUPPORT_PARVERT, uiLayout::op(), 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(), uiItemEnumO_ptr(), and WM_OP_EXEC_DEFAULT.
Referenced by parent_set_invoke().
|
static |
Definition at line 835 of file object_relations.cc.
References C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), DEG_get_evaluated(), depsgraph, blender::ed::object::ParentingContext::keep_transform, blender::ed::object::ParentingContext::par, parent_set_with_depsgraph(), 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 1061 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 800 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 898 of file object_relations.cc.
References BKE_object_as_kdtree(), BKE_report(), BLI_assert, C, CTX_data_ensure_evaluated_depsgraph(), DEG_get_evaluated(), 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 867 of file object_relations.cc.
References C, 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 503 of file object_relations.cc.
References blender::animrig::action_fcurve_ensure_ex(), 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, C, RenderData::cfra, CONSTRAINT_OBTYPE_OBJECT, CONSTRAINT_TYPE_FOLLOWPATH, copy_v3_v3(), copy_v3_v3_int(), CTX_data_main(), CU_FOLLOW, CU_PATH, bConstraint::data, data, Object::data, 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, Scene::r, reports, RNA_id_pointer_create(), RPT_ERROR, Object::runtime, STRNCPY(), sub_v3_v3v3(), Object::type, unit_m4(), and WM_cursor_wait().
Referenced by parent_set(), and parent_set_nonvertex_parent().
|
static |
Definition at line 2416 of file object_constraint.cc.
References BKE_object_pose_armature_get(), BKE_report(), C, 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 2039 of file object_constraint.cc.
References BKE_constraints_copy(), BKE_pose_tag_recalc(), BKE_report(), C, 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 101 of file object_constraint.cc.
References C, bPoseChannel::constraints, CTX_data_pointer_get(), and PointerRNA::data.
Referenced by edit_constraint_property_get(), and uiTemplateConstraints().
|
static |
Definition at line 1956 of file object_constraint.cc.
References BKE_constraints_free(), C, 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 2628 of file object_constraint.cc.
References C, 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 2567 of file object_constraint.cc.
References BKE_object_pose_armature_get(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_report(), C, CONSTRAINT_TYPE_KINEMATIC, bPoseChannel::constraints, CTX_data_active_object(), ELEM, ListBase::first, get_new_constraint_target(), IFACE_, bConstraint::next, uiLayout::op(), OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmOperator::reports, RNA_boolean_set(), RPT_ERROR, bConstraint::type, UI_popup_menu_begin(), UI_popup_menu_end(), and UI_popup_menu_layout().
Referenced by POSE_OT_ik_add().
|
static |
Definition at line 2670 of file object_constraint.cc.
References BKE_constraint_remove_ex(), C, 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 2516 of file object_constraint.cc.
References ED_operator_posemode_exclusive(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, pose_constraint_add_exec(), RNA_def_enum(), rna_enum_constraint_type_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraint_add_with_targets | ( | wmOperatorType * | ot | ) |
Definition at line 2535 of file object_constraint.cc.
References ED_operator_posemode_exclusive(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, pose_constraint_add_exec(), RNA_def_enum(), rna_enum_constraint_type_items, and WM_menu_invoke().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraints_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1982 of file object_constraint.cc.
References ED_operator_object_active_local_editable_posemode_exclusive(), ot, and pose_constraints_clear_exec().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_constraints_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2077 of file object_constraint.cc.
References ED_operator_posemode_exclusive(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and pose_constraint_copy_exec().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_ik_add | ( | wmOperatorType * | ot | ) |
Definition at line 2639 of file object_constraint.cc.
References ED_operator_posemode_exclusive(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, pose_ik_add_exec(), pose_ik_add_invoke(), and RNA_def_boolean().
Referenced by operatortypes_object().
| void blender::ed::object::POSE_OT_ik_clear | ( | wmOperatorType * | ot | ) |
Definition at line 2703 of file object_constraint.cc.
References ED_operator_object_active_local_editable_posemode_exclusive(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and pose_ik_clear_exec().
Referenced by operatortypes_object().
|
static |
Definition at line 1045 of file object_edit.cc.
References BKE_id_is_editable(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), C, 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, object_mode_set_ok_or_report(), 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 349 of file object_modes.cc.
References BKE_modifiers_get_virtual_modifierlist(), C, ed_object_posemode_set_for_weight_paint_ex(), eModifierType_Armature, eModifierType_GreasePencilArmature, ModifierData::next, ArmatureModifierData::object, GreasePencilArmatureModifierData::object, and ModifierData::type.
Referenced by blender::ed::greasepencil::weightmode_toggle_exec(), and wpaint_mode_toggle_exec().
|
static |
Definition at line 742 of file object_remesh.cc.
References G, blender::ed::object::QuadriFlowJob::is_nonblocking_job, QUADRIFLOW_STATUS_CANCELED, and blender::ed::object::QuadriFlowJob::status.
Referenced by quadriflow_update_job().
|
static |
Definition at line 1031 of file object_remesh.cc.
References BKE_mesh_calc_area(), C, 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 921 of file object_remesh.cc.
References BKE_report(), BKE_reportf(), DEG_id_tag_update(), G_MAIN, Object::id, ID_RECALC_GEOMETRY, blender::ed::object::QuadriFlowJob::is_nonblocking_job, blender::ed::object::QuadriFlowJob::owner, QUADRIFLOW_STATUS_CANCELED, QUADRIFLOW_STATUS_FAIL, QUADRIFLOW_STATUS_NONMANIFOLD, QUADRIFLOW_STATUS_SUCCESS, reports, RPT_ERROR, RPT_INFO, RPT_WARNING, blender::ed::object::QuadriFlowJob::status, WM_set_locked_interface(), and blender::ed::object::QuadriFlowJob::worker_status.
Referenced by quadriflow_remesh_exec().
|
static |
Definition at line 735 of file object_remesh.cc.
References MEM_freeN().
Referenced by quadriflow_remesh_exec().
|
static |
Definition at line 1064 of file object_remesh.cc.
References C, 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 952 of file object_remesh.cc.
References BKE_mesh_from_object(), C, CTX_data_active_object(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_window(), wmOperator::flag, i, blender::ed::object::QuadriFlowJob::is_nonblocking_job, MEM_mallocN(), NC_GEOM, ND_DATA, blender::ed::object::QuadriFlowJob::op, OP_IS_INVOKE, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::object::QuadriFlowJob::owner, blender::ed::object::QuadriFlowJob::preserve_attributes, wmOperator::ptr, quadriflow_end_job(), quadriflow_free_job(), quadriflow_start_job(), QUADRIFLOW_STATUS_SUCCESS, wmOperator::reports, 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::status, 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 1115 of file object_remesh.cc.
References C, IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by OBJECT_OT_quadriflow_remesh().
|
static |
Definition at line 840 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, 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, QUADRIFLOW_STATUS_FAIL, QUADRIFLOW_STATUS_NONMANIFOLD, QUADRIFLOW_STATUS_SUCCESS, 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::status, 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, and blender::ed::object::QuadriFlowJob::worker_status.
Referenced by quadriflow_remesh_exec().
|
static |
Called by ocean-bake, wmJob sends notifier.
Definition at line 763 of file object_remesh.cc.
References progress, quadriflow_break_job(), and blender::ed::object::QuadriFlowJob::worker_status.
Referenced by quadriflow_start_job().
|
static |
Definition at line 778 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, i, MOD_MIR_BISECT_AXIS_X, QUADRIFLOW_MIRROR_BISECT_TOLERANCE, MirrorModifierData::tolerance, and zero_v3().
Referenced by quadriflow_start_job().
|
static |
Definition at line 812 of file object_remesh.cc.
References BKE_id_free(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), MirrorModifierData::flag, i, MOD_MIR_AXIS_X, QUADRIFLOW_MIRROR_BISECT_TOLERANCE, and MirrorModifierData::tolerance.
Referenced by quadriflow_start_job().
|
static |
Definition at line 2719 of file object_relations.cc.
References BASE_SELECTED, C, 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 2734 of file object_relations.cc.
References BKE_lib_override_library_id_reset(), C, 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_malloc_arrayN(), 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_malloc_arrayN(), 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_malloc_arrayN(), 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 812 of file object_vgroup.cc.
References C, ptr, vgroup_selection_itemf_helper(), WT_VGROUP_ACTIVE, and WT_VGROUP_MASK_ALL.
Referenced by vgroup_operator_subset_select_props().
|
static |
Definition at line 804 of file object_vgroup.cc.
References C, ptr, vgroup_selection_itemf_helper(), and WT_VGROUP_MASK_ALL.
Referenced by vgroup_operator_subset_select_props().
Definition at line 169 of file add_modifier_assets.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), all_loading_finished(), build_catalog_tree(), C, 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_, uiLayout::label(), Menu::layout, uiLayout::menu(), OB_CURVES_LEGACY, OB_FONT, OB_LATTICE, OB_MESH, OB_SURF, OB_VOLUME, uiLayout::separator(), tree, and unassigned_local_poll().
Referenced by modifier_add_root_catalogs_menu_type().
| void blender::ed::object::rotation_from_quat | ( | float | rot[3], |
| const float | quat[4], | ||
| char | align_axis ) |
Definition at line 296 of file object_add.cc.
References axis_angle_to_quat(), BLI_assert, M_PI_2, mul_qt_qtqt(), quat_to_eul(), and rot.
Referenced by rotation_from_view().
| void blender::ed::object::rotation_from_view | ( | bContext * | C, |
| float | rot[3], | ||
| char | align_axis ) |
Definition at line 322 of file object_add.cc.
References BLI_assert, C, 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 366 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, C, 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(), C, collection_count(), COLLECTION_MENU_MAX, Main::collections, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), ListBase::first, i, Collection::id, IFACE_, ID::name, ID::next, uiLayout::op(), RNA_string_set(), UI_popup_menu_begin(), UI_popup_menu_end(), and UI_popup_menu_layout().
Referenced by object_select_grouped_exec().
Definition at line 936 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, C, Object::color, compare_v3v3(), CTX_DATA_BEGIN, and CTX_DATA_END.
Referenced by object_select_grouped_exec().
|
static |
Definition at line 1083 of file object_collection.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_collection_has_object_recursive(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_data_scene(), PointerRNA::data, DEG_id_tag_update(), Scene::id, 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 922 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, C, CTX_DATA_BEGIN, CTX_DATA_END, and Object::index.
Referenced by object_select_grouped_exec().
|
static |
Definition at line 952 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, BKE_report(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), ListBase::first, KeyingSet::flag, KEYINGSET_ABSOLUTE, LISTBASE_FOREACH, KeyingSet::paths, reports, RPT_ERROR, blender::animrig::scene_get_active_keyingset(), blender::animrig::SUCCESS, and blender::animrig::validate_keyingset().
Referenced by object_select_grouped_exec().
Definition at line 890 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, C, CTX_DATA_BEGIN, CTX_DATA_END, Object::data, OB_LAMP, and Light::type.
Referenced by object_select_grouped_exec().
Definition at line 849 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTABLE, BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, 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(), C, 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 877 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, C, CTX_DATA_BEGIN, CTX_DATA_END, and Object::parent.
Referenced by object_select_grouped_exec().
Definition at line 908 of file object_select.cc.
References BA_SELECT, base_select(), BASE_SELECTED, C, 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 C, CTX_data_scene(), DEG_id_tag_update(), GS, Scene::id, ID_LI, ID_MA, ID_RECALC_SELECT, ID::name, 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 2161 of file object_edit.cc.
References BLI_addtail(), BLI_genericNodeN(), C, 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 3786 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_set(), BLI_assert, C, context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_VERTEX_GROUP, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), set_active_group_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_set_active(), and set_active_group_exec().
|
static |
Definition at line 162 of file object_constraint.cc.
References abs, BKE_constraint_targets_flush(), BKE_constraint_targets_get(), BLI_listbase_count(), ListBase::first, i, bConstraintTarget::next, STRNCPY(), bConstraintTarget::subtarget, and bConstraintTarget::tar.
Referenced by constraint_add_exec().
|
static |
Sets the transform of the object to a specific matrix.
Definition at line 46 of file object_visual_geometry_to_objects.cc.
References copy_v3_v3(), Object::loc, blender::math::AngleRadianBase< T >::radian(), Object::rot, ROT_MODE_EUL, Object::rotmode, Object::scale, blender::math::to_loc_rot_scale_safe(), blender::math::EulerBase< T >::x(), blender::math::EulerBase< T >::y(), and blender::math::EulerBase< T >::z().
Referenced by visual_geometry_to_objects_exec().
|
static |
Definition at line 1822 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(), C, 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(), is_valid_smooth_by_angle_group(), ID::library_weak_reference, LISTBASE_FOREACH, MEM_SAFE_FREE, 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, AssetWeakReference::relative_asset_identifier, 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 1925 of file object_edit.cc.
References col, uiLayout::column(), wmOperator::layout, uiLayout::prop(), wmOperator::ptr, RNA_boolean_get(), UI_ITEM_NONE, uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by OBJECT_OT_shade_auto_smooth().
|
static |
Definition at line 1713 of file object_edit.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, 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 1621 of file object_edit.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), angle(), 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(), C, CTX_data_main(), CTX_data_scene(), CTX_data_selected_editable_objects(), CTX_data_view_layer(), data, Object::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 54 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_GREASE_PENCIL, reports, RPT_WARNING, Object::shader_fx, STRNCPY_UTF8, and Object::type.
Referenced by shaderfx_add_exec().
|
static |
Definition at line 299 of file object_shader_fx.cc.
References C, 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 315 of file object_shader_fx.cc.
References BKE_shaderfx_get_info(), C, 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 148 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 234 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(), C, 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 C, edit_shaderfx_invoke_properties(), and shaderfx_copy_exec().
Referenced by OBJECT_OT_shaderfx_copy().
Definition at line 225 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 181 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 574 of file object_shader_fx.cc.
References C, 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 589 of file object_shader_fx.cc.
References C, 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 191 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, reports, 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 621 of file object_shader_fx.cc.
References C, 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 634 of file object_shader_fx.cc.
References C, 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 171 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 529 of file object_shader_fx.cc.
References C, 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 544 of file object_shader_fx.cc.
References C, 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 130 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(), reports, and RPT_ERROR.
Referenced by shaderfx_remove_exec().
|
static |
Definition at line 472 of file object_shader_fx.cc.
References BKE_reportf(), C, 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 498 of file object_shader_fx.cc.
References C, edit_shaderfx_invoke_properties(), and shaderfx_remove_exec().
Referenced by OBJECT_OT_shaderfx_remove().
|
static |
Definition at line 341 of file object_shapekey.cc.
References C, context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, object_shape_key_add(), OPERATOR_FINISHED, wmOperator::ptr, and RNA_boolean_get().
Referenced by OBJECT_OT_shape_key_add().
|
static |
Definition at line 506 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_listbase_is_empty(), Key::block, C, 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 382 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_keyblock_duplicate(), BKE_keyblock_from_object(), BLI_findindex(), Key::block, C, context_object(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, Object::shapenr, and WM_event_add_notifier().
Referenced by OBJECT_OT_shape_key_copy().
|
static |
Definition at line 301 of file object_shapekey.cc.
References BKE_keyblock_from_object(), C, context_object(), and shape_key_poll().
Referenced by OBJECT_OT_shape_key_lock().
|
static |
Definition at line 709 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_assert, BLI_listbase_is_empty(), Key::block, C, 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 737 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 584 of file object_shapekey.cc.
References C, 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 317 of file object_shapekey.cc.
References BKE_keyblock_from_object(), C, context_object(), and shape_key_mode_poll().
Referenced by OBJECT_OT_shape_key_copy(), and OBJECT_OT_shape_key_remove().
|
static |
Definition at line 310 of file object_shapekey.cc.
References C, 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 639 of file object_shapekey.cc.
References BKE_key_from_object(), BKE_keyblock_move(), C, 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 326 of file object_shapekey.cc.
References BKE_key_from_object(), C, context_object(), shape_key_mode_poll(), and Key::totkey.
Referenced by OBJECT_OT_shape_key_move().
|
static |
Definition at line 292 of file object_shapekey.cc.
References C, context_object(), data, 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 413 of file object_shapekey.cc.
References BKE_key_evaluate_object_ex(), BKE_object_shapekey_free(), C, 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 463 of file object_shapekey.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by OBJECT_OT_shape_key_remove().
|
static |
Definition at line 449 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 88 of file object_shapekey.cc.
References BKE_keyblock_from_object(), BKE_reportf(), KeyBlock::flag, Object::id, KEYBLOCK_LOCKED_SHAPE, ID::name, reports, 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 117 of file object_shapekey.cc.
References BKE_reportf(), Object::id, ID::name, object_is_any_shape_key_locked(), reports, 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 59 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, reports, RPT_ERROR, and Object::type.
Referenced by clear_tilt_exec(), blender::ed::transform::createTransCurveVerts(), blender::ed::transform::createTransEditVerts(), blender::ed::transform::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_rotation().
|
static |
Definition at line 542 of file object_shapekey.cc.
References BKE_key_from_object(), BLI_listbase_is_empty(), Key::block, C, 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 1745 of file object_relations.cc.
References ID_IS_LINKED, and ID::us.
Referenced by single_mat_users(), single_obdata_users(), single_object_action_users(), and single_objectdata_action_users().
|
static |
Definition at line 2072 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 2018 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 1868 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, ID::name, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, 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 2031 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 1831 of file object_relations.cc.
References BKE_libblock_relink_to_newid(), BKE_main_collection_sync_remap(), View3D::camera, flag, Scene::id, ID_NEW_REMAP, libblock_relink_collection(), Scene::master_collection, and single_object_users_collection().
Referenced by make_single_user_exec(), and object_single_user_make().
|
static |
Definition at line 1773 of file object_relations.cc.
References BKE_collection_child_add_no_sync(), BKE_id_copy_ex(), BKE_object_scenes_users_get(), BLI_remlink(), Collection::children, CollectionChild::collection, ListBase::first, flag, Object::flag, Collection::gobject, Collection::id, Object::id, ID_IS_LINKED, ID_NEW_SET, id_us_min(), ListBase::last, 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 2051 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 2741 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(), blender::bke::mesh::edge_other_vert(), EditBone::flag, EditBone::head, i, 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 2855 of file object_modifier.cc.
References ARM_DEF_QUATERNION, ARM_DEF_VGROUP, BKE_modifier_new(), BKE_modifiers_persistent_uid_init(), BKE_reportf(), BLI_insertlinkafter(), C, 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, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_armature_create(), and skin_armature_create_invoke().
|
static |
Definition at line 2889 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), OPERATOR_CANCELLED, and skin_armature_create_exec().
Referenced by OBJECT_OT_skin_armature_create().
|
static |
Definition at line 2564 of file object_modifier.cc.
References C, CTX_data_edit_object(), Object::data, edit_modifier_poll_generic(), ID_IS_OVERRIDE_LIBRARY, and OB_MESH.
Referenced by OBJECT_OT_skin_loose_mark_clear(), OBJECT_OT_skin_radii_equalize(), and OBJECT_OT_skin_root_mark().
|
static |
Definition at line 2644 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, C, 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, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_loose_mark_clear().
|
static |
Definition at line 2559 of file object_modifier.cc.
References C, edit_modifier_poll_generic(), and OB_MESH.
Referenced by OBJECT_OT_skin_armature_create().
|
static |
Definition at line 2700 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, C, 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, and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_radii_equalize().
|
static |
Definition at line 2572 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, MVERT_SKIN_ROOT, skin_root_clear(), and v2.
Referenced by skin_root_clear(), and skin_root_mark_exec().
|
static |
Definition at line 2591 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, C, 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(), and WM_event_add_notifier().
Referenced by OBJECT_OT_skin_root_mark().
Definition at line 581 of file object_transform.cc.
References append_sorted_object_parent_hierarchy(), BKE_main_id_tag_all(), C, 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 741 of file object_constraint.cc.
References C, CONSTRAINT_TYPE_STRETCHTO, constraint_update(), context_active_object(), CTX_data_main(), bConstraint::data, 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 761 of file object_constraint.cc.
References C, edit_constraint_invoke_properties(), OPERATOR_CANCELLED, and stretchto_reset_exec().
Referenced by CONSTRAINT_OT_stretchto_reset().
|
static |
Definition at line 3419 of file object_modifier.cc.
References BKE_modifier_get_evaluated(), C, 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, SurfaceDeformModifierData::target, and WM_event_add_notifier().
Referenced by OBJECT_OT_surfacedeform_bind(), and surfacedeform_bind_invoke().
|
static |
Definition at line 3450 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), OPERATOR_CANCELLED, and surfacedeform_bind_exec().
Referenced by OBJECT_OT_surfacedeform_bind().
|
static |
Definition at line 3414 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_surfacedeform_bind().
|
static |
Definition at line 2107 of file object_relations.cc.
References LibraryIDLinkCallbackData::id_pointer, ID_TAG_DOIT, and IDWALK_RET_NOP.
Referenced by tag_localizable_objects().
|
static |
Definition at line 2117 of file object_relations.cc.
References BKE_library_foreach_ID_link(), BKE_main_id_tag_all(), C, 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 204 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_SPLINEIK_BOUND, 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, 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, and bConstraint::type.
Referenced by object_test_constraint(), and test_constraints().
|
static |
Definition at line 498 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 3837 of file object_modifier.cc.
References BLI_uniquename_cb(), C, context_active_object(), blender::StringRefBase::data(), 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, and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), and time_modifier_segment_add_invoke().
|
static |
Definition at line 3890 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), OPERATOR_CANCELLED, and time_modifier_segment_add_exec().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add().
|
static |
Definition at line 3917 of file object_modifier.cc.
Referenced by time_modifier_segment_remove_exec().
|
static |
Definition at line 3980 of file object_modifier.cc.
References C, context_active_object(), DEG_id_tag_update(), Down, 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(), Up, and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_move(), and time_modifier_segment_move_invoke().
|
static |
Definition at line 4027 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), OPERATOR_CANCELLED, and time_modifier_segment_move_exec().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_move().
|
static |
Definition at line 3832 of file object_modifier.cc.
References C, and edit_modifier_poll_generic().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_add(), OBJECT_OT_grease_pencil_time_modifier_segment_move(), and OBJECT_OT_grease_pencil_time_modifier_segment_remove().
|
static |
Definition at line 3919 of file object_modifier.cc.
References C, 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, blender::dna::array::remove_index(), time_modifier_segment_free(), and WM_event_add_notifier().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_remove(), and time_modifier_segment_remove_invoke().
|
static |
Definition at line 3945 of file object_modifier.cc.
References C, edit_modifier_invoke_properties(), OPERATOR_CANCELLED, and time_modifier_segment_remove_exec().
Referenced by OBJECT_OT_grease_pencil_time_modifier_segment_remove().
|
static |
Definition at line 1279 of file object_relations.cc.
References BKE_constraint_add_for_object(), C, 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(), TRACK_nZ, UP_Y, and WM_event_add_notifier().
Referenced by OBJECT_OT_track_set().
|
static |
Callback for GHash free.
Definition at line 414 of file object_utils.cc.
Referenced by data_xform_container_destroy().
| void blender::ed::object::TRANSFORM_OT_vertex_random | ( | wmOperatorType * | ot | ) |
Definition at line 131 of file object_random.cc.
References ED_transverts_poll(), FLT_MAX, object_rand_verts_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float_distance(), RNA_def_float_factor(), RNA_def_int(), 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, ED_transverts_poll(), FLT_MAX, object_warp_verts_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ANGLE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_float_matrix(), RNA_def_float_vector_xyz(), RNA_def_property_flag(), and RNA_def_property_subtype().
Referenced by operatortypes_object().
|
static |
Definition at line 659 of file object_transform.cc.
References blender::MutableSpan< T >::index_range(), and blender::threading::parallel_for().
|
static |
Definition at line 1286 of file object_transform.cc.
References blender::MutableSpan< T >::index_range(), blender::threading::parallel_for(), and translate_positions().
Referenced by object_origin_set_exec(), and translate_positions().
| void blender::ed::object::ui_template_modifier_asset_menu_items | ( | uiLayout & | layout, |
| StringRef | catalog_path ) |
Definition at line 385 of file add_modifier_assets.cc.
References blender::asset_system::all_library_reference(), blender::asset_system::AssetCatalogTreeItem::catalog_path(), col, uiLayout::column(), get_static_item_tree(), blender::ed::asset::list::library_get_once_available(), uiLayout::separator(), blender::asset_system::AssetCatalogPath::str(), tree, uiItemMContents(), and uiLayoutSetContextString().
Definition at line 129 of file add_modifier_assets.cc.
References C, CTX_data_main(), GEO_NODE_ASSET_MODIFIER, get_static_item_tree(), IFACE_, uiLayout::label(), Menu::layout, LISTBASE_FOREACH, Main::nodetrees, uiLayout::op(), blender::ed::asset::operator_asset_reference_props_set(), ot, uiLayout::separator(), tree, UI_ITEM_NONE, 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 112 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 4970 of file object_add.cc.
References C, ED_mesh_shapes_join_objects_exec(), wmOperator::reports, and update_all_shape_keys_exec().
Referenced by OBJECT_OT_update_shapes(), and update_all_shape_keys_exec().
|
static |
Definition at line 2625 of file object_vgroup.cc.
References BKE_object_defgroup_add(), C, 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, vertex_group_add_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_add(), and vertex_group_add_exec().
|
static |
Definition at line 2776 of file object_vgroup.cc.
References ToolSettings::auto_normalize, C, RenderData::cfra, context_object(), CTX_data_scene(), CTX_data_tool_settings(), Object::data, DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OB_GREASE_PENCIL, OPERATOR_FINISHED, Scene::r, wmOperator::reports, Object::type, vertex_group_assign_exec(), vgroup_assign_verts(), vgroup_normalize_all_deform_if_active_is_deform(), ToolSettings::vgroup_weight, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_assign(), vertex_group_assign_exec(), and vertex_group_assign_new_exec().
|
static |
Definition at line 2825 of file object_vgroup.cc.
References BKE_object_defgroup_add(), C, context_object(), vertex_group_assign_exec(), and vertex_group_assign_new_exec().
Referenced by OBJECT_OT_vertex_group_assign_new(), and vertex_group_assign_new_exec().
|
static |
Definition at line 3501 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), C, Object::data, DEG_id_tag_update(), Object::id, 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(), vertex_group_clean_exec(), vgroup_clean_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_clean(), and vertex_group_clean_exec().
|
static |
Definition at line 3013 of file object_vgroup.cc.
References C, 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, vertex_group_copy_exec(), vgroup_duplicate(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_copy(), and vertex_group_copy_exec().
|
static |
Definition at line 3732 of file object_vgroup.cc.
References BKE_object_supports_vertex_groups(), BKE_reportf(), C, context_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_VERTEX_GROUP, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, vertex_group_copy_to_selected_exec(), vgroup_array_copy(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_copy_to_selected(), and vertex_group_copy_to_selected_exec().
|
static |
Definition at line 2979 of file object_vgroup.cc.
References C, 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, vertex_group_deselect_exec(), vgroup_select_verts(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_deselect(), and vertex_group_deselect_exec().
|
static |
Definition at line 3353 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), C, 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(), vertex_group_invert_exec(), vgroup_invert_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_invert(), and vertex_group_invert_exec().
|
static |
Definition at line 3047 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), C, 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(), vertex_group_levels_exec(), vgroup_levels_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_levels(), and vertex_group_levels_exec().
|
static |
Definition at line 3609 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), BKE_reportf(), C, Object::data, DEG_id_tag_update(), Object::id, 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, vertex_group_limit_total_exec(), vgroup_limit_total_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_limit_total(), and vertex_group_limit_total_exec().
|
static |
Definition at line 3239 of file object_vgroup.cc.
References C, context_object(), mask(), NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), vertex_group_lock_exec(), vgroup_lock_all(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_lock(), and vertex_group_lock_exec().
|
static |
Definition at line 3253 of file object_vgroup.cc.
References mask(), ptr, RNA_enum_get(), TIP_, vertex_group_lock_get_description(), 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(), and vertex_group_lock_get_description().
|
static |
Definition at line 2561 of file object_vgroup.cc.
References C, OB_MESH, vertex_group_mesh_vert_poll(), and vertex_group_vert_poll_ex().
Referenced by OBJECT_OT_vertex_group_smooth(), and vertex_group_mesh_vert_poll().
|
static |
Definition at line 3674 of file object_vgroup.cc.
References C, 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(), vertex_group_mirror_exec(), vgroup_mirror(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_mirror(), and vertex_group_mirror_exec().
|
static |
Definition at line 3164 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), BKE_report(), C, RenderData::cfra, context_object(), CTX_data_scene(), 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(), OB_GREASE_PENCIL, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RPT_ERROR, Object::type, vertex_group_normalize_all_exec(), vgroup_normalize_all(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_normalize_all(), and vertex_group_normalize_all_exec().
|
static |
Definition at line 3098 of file object_vgroup.cc.
References C, 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, vertex_group_normalize_exec(), vgroup_normalize(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_normalize(), and vertex_group_normalize_exec().
|
static |
Definition at line 2506 of file object_vgroup.cc.
References C, context_object(), vertex_group_poll(), 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(), OBJECT_OT_vertex_group_sort(), and vertex_group_poll().
|
static |
Definition at line 2512 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), C, context_object(), vertex_group_poll_edit(), and vertex_group_supported_poll_ex().
Referenced by vertex_group_poll_edit().
Definition at line 2491 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BLI_listbase_is_empty(), C, CTX_wm_operator_poll_msg_set(), vertex_group_poll_ex(), and vertex_group_supported_poll_ex().
Referenced by vertex_group_poll(), and vertex_group_poll_ex().
|
static |
Definition at line 3563 of file object_vgroup.cc.
References BKE_object_defgroup_subset_from_select_type(), C, 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, vertex_group_quantize_exec(), vgroup_quantize_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_quantize(), and vertex_group_quantize_exec().
|
static |
Definition at line 2706 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_defgroup_remove_all_ex(), BLI_findlink(), C, 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, vertex_group_remove_exec(), vgroup_delete_active(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_remove(), and vertex_group_remove_exec().
|
static |
Definition at line 2859 of file object_vgroup.cc.
References ToolSettings::auto_normalize, BKE_object_defgroup_active_index_get(), BKE_object_defgroup_clear(), BKE_object_defgroup_clear_all(), BKE_object_defgroup_list(), BLI_findlink(), C, RenderData::cfra, context_object(), CTX_data_scene(), CTX_data_tool_settings(), 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, Scene::r, wmOperator::reports, RNA_boolean_get(), Object::type, vertex_group_remove_from_exec(), vgroup_normalize_all_deform_if_active_is_deform(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_remove_from(), and vertex_group_remove_from_exec().
|
static |
Definition at line 2941 of file object_vgroup.cc.
References C, 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, vertex_group_select_exec(), vgroup_select_verts(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_select(), and vertex_group_select_exec().
|
static |
Definition at line 3409 of file object_vgroup.cc.
References BKE_object_defgroup_lock_flags_get(), BKE_object_defgroup_subset_from_select_type(), BKE_reportf(), C, Object::data, DEG_id_tag_update(), i, Object::id, ID_RECALC_GEOMETRY, MEM_freeN(), MEM_SAFE_FREE, NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, object_array_for_wpaint(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_float_get(), RNA_int_get(), RPT_WARNING, vertex_group_smooth_exec(), vgroup_smooth_subset(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_smooth(), and vertex_group_smooth_exec().
|
static |
Definition at line 4007 of file object_vgroup.cc.
References BKE_object_defgroup_list_mutable(), BLI_listbase_sort(), C, 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, vertex_group_sort_exec(), 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(), and vertex_group_sort_exec().
|
static |
Definition at line 2485 of file object_vgroup.cc.
References C, context_object(), vertex_group_supported_poll(), and vertex_group_supported_poll_ex().
Referenced by OBJECT_OT_vertex_group_add(), and vertex_group_supported_poll().
Definition at line 2463 of file object_vgroup.cc.
References C, CTX_wm_operator_poll_msg_set(), data, Object::data, ED_operator_object_active_local_editable_ex(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, OB_TYPE_SUPPORT_VGROUP, Object::type, and vertex_group_supported_poll_ex().
Referenced by object_array_for_wpaint_filter(), vertex_group_poll_edit(), vertex_group_poll_ex(), vertex_group_supported_poll(), vertex_group_supported_poll_ex(), vertex_group_vert_poll_ex(), vertex_group_vert_select_mesh_poll(), and vertex_group_vert_select_unlocked_poll().
|
static |
Definition at line 92 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_quantize_subset(), and vgroup_smooth_subset().
|
static |
Definition at line 2524 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), BKE_object_is_in_wpaint_select_vert(), C, context_object(), CTX_wm_operator_poll_msg_set(), Object::mode, OB_MODE_WEIGHT_PAINT, Object::type, vertex_group_supported_poll_ex(), and vertex_group_vert_poll_ex().
Referenced by vertex_group_mesh_vert_poll(), vertex_group_vert_poll_ex(), and vertex_group_vert_select_poll().
|
static |
Definition at line 2603 of file object_vgroup.cc.
References BKE_object_is_in_editmode_vgroup(), BKE_object_is_in_wpaint_select_vert(), C, context_object(), OB_MESH, Object::type, vertex_group_supported_poll_ex(), and vertex_group_vert_select_mesh_poll().
Referenced by 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(), and vertex_group_vert_select_mesh_poll().
|
static |
Definition at line 2566 of file object_vgroup.cc.
References C, vertex_group_vert_poll_ex(), and vertex_group_vert_select_poll().
Referenced by OBJECT_OT_vertex_group_assign_new(), OBJECT_OT_vertex_group_deselect(), OBJECT_OT_vertex_group_select(), and vertex_group_vert_select_poll().
|
static |
Definition at line 2579 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(), C, context_object(), CTX_wm_operator_poll_msg_set(), DG_LOCK_WEIGHT, bDeformGroup::flag, vertex_group_supported_poll_ex(), and vertex_group_vert_select_unlocked_poll().
Referenced by OBJECT_OT_vertex_group_assign(), OBJECT_OT_vertex_group_remove_from(), and vertex_group_vert_select_unlocked_poll().
|
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, C, 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, Nurb::next, 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, ToolSettings::selectmode, Scene::toolsettings, 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 C, ED_operator_editlattice(), ED_operator_editmesh(), and ED_operator_editsurfcurve().
Referenced by OBJECT_OT_vertex_parent_set().
|
static |
Definition at line 4409 of file object_vgroup.cc.
References C, context_object(), CTX_data_tool_settings(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, vertex_weight_copy_exec(), vgroup_copy_active_to_sel(), ToolSettings::vgroupsubset, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_copy(), and vertex_weight_copy_exec().
|
static |
Definition at line 4272 of file object_vgroup.cc.
References C, 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(), vertex_weight_delete_exec(), vgroup_remove_weight(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_delete(), and vertex_weight_delete_exec().
|
static |
Definition at line 4369 of file object_vgroup.cc.
References C, context_object(), CTX_data_tool_settings(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, vertex_weight_normalize_active_vertex_exec(), vgroup_normalize_active_vertex(), ToolSettings::vgroupsubset, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_normalize_active_vertex(), and vertex_weight_normalize_active_vertex_exec().
|
static |
Definition at line 4221 of file object_vgroup.cc.
References C, 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(), vertex_weight_paste_exec(), vgroup_copy_active_to_sel_single(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_paste(), and vertex_weight_paste_exec().
|
static |
Definition at line 4322 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_set(), C, context_object(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), vertex_weight_set_active_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_weight_set_active(), and vertex_weight_set_active_exec().
Matching index only.
Definition at line 401 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, i, MEM_dupallocN(), MEM_freeN(), MEM_SAFE_FREE, and vgroup_parray_alloc().
Referenced by vertex_group_copy_to_selected_exec().
|
static |
Definition at line 2361 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, i, Lattice::id, blender::bke::AttributeAccessor::lookup_or_default(), bDeformGroup::name, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, Object::type, BMesh::vdata, vgroup_assign_verts(), vgroup_edit_lattice(), and MDeformWeight::weight.
Referenced by vertex_group_assign_exec(), and vgroup_assign_verts().
|
static |
Definition at line 1997 of file object_vgroup.cc.
References Object::data, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_clean_subset(), vgroup_parray_alloc(), vgroup_parray_mirror_assign(), and vgroup_parray_remove_zero().
Referenced by vertex_group_clean_exec(), and vgroup_clean_subset().
|
static |
Definition at line 685 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(), i, blender::bke::AttributeAccessor::lookup_or_default(), ME_SYMMETRY_X, MEM_freeN(), mesh_defvert_mirror_update_em(), mesh_defvert_mirror_update_ob(), and blender::bke::Point.
Referenced by vertex_weight_copy_exec().
|
static |
Definition at line 4140 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(), i, blender::bke::AttributeAccessor::lookup_or_default(), ME_SYMMETRY_X, mesh_defvert_mirror_update_em(), mesh_defvert_mirror_update_ob(), blender::bke::Point, and vgroup_copy_active_to_sel_single().
Referenced by vertex_weight_paste_exec(), and vgroup_copy_active_to_sel_single().
| void blender::ed::object::vgroup_data_clamp_range | ( | ID * | id, |
| int | total ) |
Removes out of range #MDeformWeights
Definition at line 134 of file object_vgroup.cc.
References BKE_defvert_remove_group(), MDeformWeight::def_nr, MDeformVert::dw, i, MDeformVert::totweight, and vgroup_parray_alloc().
Referenced by ED_object_vgroup_calc_from_armature().
|
static |
Definition at line 2348 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_object_defgroup_remove(), BLI_findlink(), and vgroup_delete_active().
Referenced by vertex_group_remove_exec(), and vgroup_delete_active().
|
static |
Definition at line 3884 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, i, MAX_VGROUP_NAME, MEM_freeN(), MEM_malloc_arrayN(), Object::mode, bDeformGroup::next, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, MDeformVert::totweight, Object::type, BMesh::vdata, and vgroup_do_remap().
Referenced by vertex_group_sort_exec(), vgroup_do_remap(), and vgroup_move_exec().
|
static |
Definition at line 1218 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, i, MEM_freeN(), bDeformGroup::name, SNPRINTF, STRNCPY(), vgroup_duplicate(), and vgroup_parray_alloc().
Referenced by vertex_group_copy_exec(), and vgroup_duplicate().
Definition at line 105 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 1052 of file object_vgroup.cc.
References BKE_defgroup_name_index(), BLI_assert_unreachable, CD_PROP_BOOL, def_group(), ED_grease_pencil_edit_selection_domain_get(), blender::ed::curves::ensure_selection_attribute(), blender::Span< T >::is_empty(), blender::threading::parallel_for(), and select.
Referenced by vgroup_select_verts().
|
static |
Definition at line 3867 of file object_vgroup.cc.
References BKE_object_defgroup_list(), BLI_listbase_count(), BLI_strncpy(), LISTBASE_FOREACH, MAX_VGROUP_NAME, MEM_mallocN(), and vgroup_init_remap().
Referenced by vertex_group_sort_exec(), vgroup_init_remap(), and vgroup_move_exec().
|
static |
Definition at line 1614 of file object_vgroup.cc.
References BKE_defvert_ensure_index(), BKE_defvert_find_index(), CLAMP, Object::data, i, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_invert_subset(), vgroup_parray_alloc(), vgroup_parray_mirror_sync(), vgroup_parray_remove_zero(), and MDeformWeight::weight.
Referenced by vertex_group_invert_exec(), and vgroup_invert_subset().
|
static |
Definition at line 3800 of file object_vgroup.cc.
References BKE_object_defgroup_list(), C, 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(), EnumPropertyItem::value, and vgroup_itemf().
Referenced by OBJECT_OT_vertex_group_set_active(), and vgroup_itemf().
|
static |
Definition at line 1328 of file object_vgroup.cc.
References BKE_defvert_find_index(), CLAMP, Object::data, i, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, Object::type, vertex_group_use_vert_sel(), vgroup_levels_subset(), vgroup_parray_alloc(), vgroup_parray_mirror_sync(), and MDeformWeight::weight.
Referenced by vertex_group_levels_exec(), and vgroup_levels_subset().
|
static |
Definition at line 1926 of file object_vgroup.cc.
References BLI_assert, Object::data, MDeformWeight::def_nr, MDeformVert::dw, i, inv_cmp_mdef_vert_weights(), LIKELY, MEM_freeN(), MEM_malloc_arrayN(), MEM_reallocN, MDeformVert::totweight, vertex_group_use_vert_sel(), vgroup_limit_total_subset(), and vgroup_parray_alloc().
Referenced by vertex_group_limit_total_exec(), and vgroup_limit_total_subset().
|
static |
Definition at line 1538 of file object_vgroup.cc.
References BKE_object_defgroup_list(), DG_LOCK_WEIGHT, ListBase::first, bDeformGroup::flag, i, mask(), MEM_freeN(), bDeformGroup::next, VGROUP_INVERT, VGROUP_LOCK, vgroup_lock_all(), 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(), and vgroup_lock_all().
| 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 2137 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, blender::bke::AttributeAccessor::lookup_or_default(), ME_EDIT_PAINT_FACE_SEL, 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(), vgroup_mirror(), and w().
Referenced by vertex_group_mirror_exec(), and vgroup_mirror().
|
static |
Definition at line 4072 of file object_vgroup.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list_mutable(), BLI_findlink(), BLI_listbase_link_move(), C, 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(), vgroup_move_exec(), and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_group_move(), and vgroup_move_exec().
|
static |
Definition at line 1270 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, i, max_ff(), MEM_freeN(), vertex_group_use_vert_sel(), vgroup_normalize(), vgroup_parray_alloc(), and MDeformWeight::weight.
Referenced by vertex_group_normalize_exec(), and vgroup_normalize().
|
static |
Definition at line 633 of file object_vgroup.cc.
References BKE_defvert_normalize_lock_map(), BKE_defvert_normalize_subset(), BKE_object_defgroup_list(), BKE_object_defgroup_lock_flags_get(), BKE_object_defgroup_subset_from_select_type(), BLI_listbase_count(), BMEditMesh::bm, CD_MDEFORMVERT, CustomData_get_offset(), Object::data, ED_mesh_active_dvert_get_em(), ED_mesh_active_dvert_get_ob(), ME_SYMMETRY_X, MEM_freeN(), mesh_defvert_mirror_update_em(), mesh_defvert_mirror_update_ob(), and BMesh::vdata.
Referenced by vertex_weight_normalize_active_vertex_exec().
|
static |
Definition at line 1375 of file object_vgroup.cc.
References reports, and vgroup_normalize_all().
Referenced by vertex_group_normalize_all_exec(), and vgroup_normalize_all().
|
static |
If the currently active vertex group is for a deform bone, normalize all vertex groups that are for deform bones.
| lock_active | If true, the active vertex group will be left untouched, and the remaining deform groups will be normalized to occupy the remaining weight not used by it. |
Definition at line 1451 of file object_vgroup.cc.
References reports, and vgroup_normalize_all_deform_if_active_is_deform().
Referenced by vertex_group_assign_exec(), vertex_group_remove_from_exec(), and vgroup_normalize_all_deform_if_active_is_deform().
|
static |
Definition at line 854 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 821 of file object_vgroup.cc.
References ot, 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(), 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, | ||
| std::optional< int > | current_frame = {} ) |
Definition at line 152 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, i, ID_GP, ID_LT, ID_ME, blender::MutableSpan< T >::is_empty(), EditLatt::latt, blender::bke::AttributeAccessor::lookup_or_default(), MEM_malloc_arrayN(), ID::name, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, and blender::bke::greasepencil::Drawing::strokes_for_write().
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_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 504 of file object_vgroup.cc.
References BKE_defvert_ensure_index(), BKE_defvert_find_index(), BKE_defvert_remove_group(), BLI_assert, i, 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 335 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(), i, 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 290 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 367 of file object_vgroup.cc.
References BKE_defvert_remove_group(), MDeformWeight::def_nr, MDeformVert::dw, i, 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 493 of file object_vgroup.cc.
References BKE_defvert_find_weight(), and i.
Referenced by vgroup_smooth_subset().
|
static |
Definition at line 2028 of file object_vgroup.cc.
References CLAMP, Object::data, MDeformWeight::def_nr, MDeformVert::dw, floorf, i, ME_SYMMETRY_X, MEM_freeN(), OB_MESH, steps, Object::type, vertex_group_use_vert_sel(), vgroup_parray_alloc(), vgroup_parray_mirror_assign(), vgroup_quantize_subset(), and MDeformWeight::weight.
Referenced by vertex_group_quantize_exec(), and vgroup_quantize_subset().
|
static |
Definition at line 622 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 1039 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 1122 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(), Lattice::dvert, EDBM_deselect_flush(), EDBM_select_flush(), BPoint::f1, blender::bke::GSpanAttributeWriter::finish(), i, blender::Span< T >::is_empty(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::AttributeAccessor::lookup_or_default(), LT_ACTBP_NONE, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, paintvert_flush_flags(), Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, blender::bke::Point, SELECT, select, Object::type, vgroup_edit_lattice(), vgroup_grease_pencil_select_verts(), and vgroup_select_verts().
Referenced by vertex_group_deselect_exec(), vertex_group_select_exec(), and vgroup_select_verts().
|
static |
Definition at line 1511 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_calloc_arrayN(), Object::mode, OB_MODE_WEIGHT_PAINT, and vgroup_selected_get().
Referenced by vgroup_lock_all(), and vgroup_selected_get().
| 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 758 of file object_vgroup.cc.
References BKE_modifiers_is_deformed_by_armature(), BKE_object_pose_armature_get(), C, context_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 1669 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(), i, IS_BM_VERT_READ, IS_BM_VERT_WRITE, IS_ME_VERT_READ, IS_ME_VERT_WRITE, blender::bke::AttributeAccessor::lookup_or_default(), ME_SYMMETRY_X, MEM_freeN(), MEM_malloc_arrayN(), nullptr, 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(), vgroup_smooth_subset(), and WEIGHT_ACCUMULATE.
Referenced by vertex_group_smooth_exec(), and vgroup_smooth_subset().
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 3978 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 3966 of file object_vgroup.cc.
References BLI_strcasecmp_natural(), bDeformGroup::name, and vgroup_sort_name().
Referenced by vertex_group_sort_exec(), and vgroup_sort_name().
| bool blender::ed::object::vgroup_sync_from_pose | ( | Object * | ob | ) |
Definition at line 118 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().
| void blender::ed::object::vgroup_vert_active_mirror | ( | Object * | ob, |
| int | def_nr ) |
Use when adjusting the active vertex weight and apply to mirror vertices.
Definition at line 597 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(), ME_SYMMETRY_X, mesh_defvert_mirror_update_em(), mesh_defvert_mirror_update_ob(), 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 916 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 944 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 1027 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 397 of file object_add.cc.
References ptr, and RNA_struct_idprops_unset().
Referenced by add_generic_props().
|
static |
Definition at line 438 of file object_visual_geometry_to_objects.cc.
References blender::ed::object::ComponentObjects::all_objects(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), base_active_refresh(), BASE_SELECTED, BKE_collection_child_add(), BKE_collection_object_add(), BKE_layer_collection_first_from_scene_collection(), BKE_layer_collection_set_flag(), BKE_object_to_mat4(), BKE_scene_view_layers_synced_ensure(), BKE_view_layer_base_deselect_all(), BKE_view_layer_base_find(), BKE_view_layer_base_select_and_set_active(), BKE_view_layer_need_resync_tag(), C, copy_m4_m4(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_get_evaluated(), DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), find_collections_containing_object(), Base::flag, blender::ed::object::GeometryToObjectsBuilder::get_objects_for_geometry(), Scene::id, ID_RECALC_BASE_FLAGS, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), LAYER_COLLECTION_EXCLUDE, LISTBASE_FOREACH, Scene::master_collection, NC_OBJECT, NC_SCENE, ND_DRAW, ND_LAYER, ND_LAYER_CONTENT, ND_OB_SELECT, blender::ed::object::GeometryToObjectsBuilder::new_instance_collections(), blender::bke::object_get_evaluated_geometry_set(), OPERATOR_FINISHED, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), set_local_object_transform(), Scene::view_layers, visual_geometry_to_objects_exec(), WM_event_add_notifier(), and WM_main_add_notifier().
Referenced by OBJECT_OT_visual_geometry_to_objects(), and visual_geometry_to_objects_exec().
|
static |
Definition at line 1108 of file object_transform.cc.
References BKE_object_apply_mat4(), BKE_object_transform_copy(), BKE_object_where_is_calc(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), DEG_get_evaluated(), 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 74 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(), C, CTX_data_main(), ED_image_filesel_detect_sequences(), FILE_MAX, Volume::filepath, Volume::frame_duration, Volume::frame_offset, Volume::frame_start, Volume::id, Volume::is_sequence, 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 134 of file object_volume.cc.
References C, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_string_set(), RNA_struct_property_is_set(), U, volume_import_exec(), and WM_event_add_fileselect().
Referenced by OBJECT_OT_volume_import().
|
static |
Definition at line 109 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_sculptsession_free_pbvh(), BKE_shrinkwrap_remesh_target_project(), C, CTX_data_active_object(), CTX_data_scene(), Object::data, DEG_id_tag_update(), 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 347 of file object_remesh.cc.
References C, CTX_wm_region(), wmOperator::customdata, blender::ed::object::VoxelSizeEditCustomData::draw_handle, ED_region_draw_cb_exit(), ED_workspace_status_text(), MEM_freeN(), and ARegion::runtime.
Referenced by OBJECT_OT_voxel_size_edit(), and voxel_size_edit_modal().
|
static |
Definition at line 267 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, b, B_UNIT_LENGTH, BKE_unit_value_as_string_scaled(), BLF_color3f(), BLF_draw(), BLF_position(), BLF_size(), BLF_width_and_height(), BLI_strlen_utf8(), C, 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(), len_v3v3(), uiFontStyle::points, blender::ed::object::VoxelSizeEditCustomData::preview_plane, str, blender::ed::object::VoxelSizeEditCustomData::text_mat, UI_style_get(), uiFontStyle::uifont_id, Scene::unit, 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 435 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, BKE_boundbox_init_from_minmax(), C, clamp_f(), 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_no_ui_scale(), ED_view3d_project_v2(), fabsf, i, blender::ed::object::VoxelSizeEditCustomData::init_mval, blender::ed::object::VoxelSizeEditCustomData::init_voxel_size, invert_m4_m4(), invert_v3(), len_v3v3(), mat4_to_size(), max_ff(), MEM_callocN(), mid_v3_v3v3(), 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, ARegion::runtime, 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 369 of file object_remesh.cc.
References blender::ed::object::VoxelSizeEditCustomData::active_object, C, 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, 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, ARegion::runtime, 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 605 of file object_remesh.cc.
References C, CTX_wm_region_view3d(), and object_remesh_poll().
Referenced by OBJECT_OT_voxel_size_edit().
|
static |
Definition at line 359 of file object_remesh.cc.
References C, 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 220 of file object_remesh.cc.
References add_v3_v3v3(), GPU_PRIM_LINES, i, immBegin(), immEnd(), immVertex3fv(), 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 785 of file object_collection.cc.
References BKE_reportf(), C, 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 809 of file object_collection.cc.
References collection_export_all_poll(), ot, and wm_collection_export_all_exec().
Referenced by collection_exporter_register().
|
static |
Definition at line 366 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_byte_data, IB_float_data, IB_PROFILE_LINEAR_RGB, IB_PROFILE_SRGB, 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_float(), IMB_freeImBuf(), MEM_calloc_arrayN(), 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 211 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_float(), IMB_free_mipmaps(), lock, MEM_calloc_arrayN(), 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 184 of file object_utils.cc.
References BLI_ghash_ptr_new(), and blender::ed::object::XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by blender::ed::transform::createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
| 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 193 of file object_utils.cc.
References BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), 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(), snap_sel_to_grid_exec(), and snap_selected_to_location_rotation().
|
static |
Definition at line 201 of file object_add.cc.
Referenced by add_generic_props().
|
static |
Definition at line 571 of file object_constraint.cc.
Referenced by edit_constraint_properties().
|
static |
Definition at line 2739 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 159 of file object_add.cc.
Referenced by OBJECT_OT_effector_add().
|
static |
Definition at line 176 of file object_add.cc.
Referenced by OBJECT_OT_lightprobe_add().
|
static |
Definition at line 112 of file object_edit.cc.
Referenced by add_shapekey_layers(), editmode_enter_ex(), and editmode_load_free_ex().
|
static |
Definition at line 108 of file object_modifier.cc.
|
static |
Definition at line 2370 of file object_edit.cc.
Referenced by move_to_collection_invoke().
|
static |
Definition at line 1100 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 1190 of file object_relations.cc.
Referenced by OBJECT_OT_track_clear().
| const EnumPropertyItem blender::ed::object::prop_make_parent_types[] |
Definition at line 486 of file object_relations.cc.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 1272 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 1364 of file object_add.cc.
Referenced by OBJECT_OT_grease_pencil_add().
|
static |
Definition at line 1480 of file object_vgroup.cc.
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 1499 of file object_vgroup.cc.
Referenced by OBJECT_OT_vertex_group_lock().
|
static |
Definition at line 742 of file object_vgroup.cc.
Referenced by vgroup_selection_itemf_helper().