|
Blender V4.5
|
Classes | |
| struct | PathValue |
Enumerations | |
| enum | AssetModifyMode { MODIFY_ADJUST = 0 , MODIFY_REPLACE , MODIFY_ADD , MODIFY_REMOVE } |
Variables | |
| static const EnumPropertyItem | prop_asset_overwrite_modes [] |
| Enumerator | |
|---|---|
| MODIFY_ADJUST | |
| MODIFY_REPLACE | |
| MODIFY_ADD | |
| MODIFY_REMOVE | |
Definition at line 458 of file anim_asset_ops.cc.
|
static |
Definition at line 67 of file anim_asset_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, PointerRNA::data, blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), blender::animrig::get_keyable_id_property_paths(), ROT_MODE_AXISANGLE, ROT_MODE_QUAT, ROT_MODE_XYZ, ROT_MODE_XZY, ROT_MODE_YXZ, ROT_MODE_YZX, ROT_MODE_ZXY, ROT_MODE_ZYX, bPoseChannel::rotmode, and PointerRNA::type.
Referenced by extract_pose(), and generate_path_values().
|
static |
Definition at line 246 of file anim_asset_ops.cc.
References AS_asset_library_load(), ID::asset_data, BKE_asset_metadata_catalog_id_set(), BKE_id_rename(), BLI_assert, C, blender::asset_system::AssetCatalog::catalog_id, CTX_data_main(), ensure_asset_ui_visible(), extract_pose(), G, blender::ed::asset::generate_preview(), get_selected_pose_objects(), bAction::id, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::asset::library_ensure_catalogs_in_path(), blender::ed::asset::mark_id(), MAX_NAME, NA_ADDED, NC_ASSET, ND_ASSET_LIST, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, blender::ed::asset::refresh_asset_library(), RNA_string_get(), blender::ed::asset::shelf::show_catalog_in_visible_shelves(), blender::asset_system::AssetCatalog::simple_name, and WM_main_add_notifier().
Referenced by pose_asset_create_exec().
|
static |
Definition at line 292 of file anim_asset_ops.cc.
References AS_asset_library_load(), ID::asset_data, blender::bke::asset_edit_id_save_as(), ASSET_LIBRARY_CUSTOM, BKE_asset_metadata_catalog_id_set(), BKE_id_free(), BKE_preferences_asset_library_find_index(), BKE_report(), BLI_assert, BLI_assert_msg, C, blender::asset_system::AssetCatalog::catalog_id, blender::asset_system::AssetLibrary::catalog_service(), CTX_data_main(), AssetLibraryReference::custom_library_index, ensure_asset_ui_visible(), extract_pose(), G, blender::ed::asset::generate_preview(), get_selected_pose_objects(), bAction::id, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::asset::library_ensure_catalogs_in_path(), blender::ed::asset::mark_id(), MAX_NAME, NA_ADDED, NC_ASSET, ND_ASSET_LIST, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, blender::ed::asset::refresh_asset_library(), wmOperator::reports, RNA_string_get(), RPT_ERROR, blender::ed::asset::shelf::show_catalog_in_visible_shelves(), blender::asset_system::AssetCatalog::simple_name, AssetLibraryReference::type, U, WM_main_add_notifier(), and blender::asset_system::AssetCatalogService::write_to_disk().
Referenced by pose_asset_create_exec().
|
static |
Definition at line 183 of file anim_asset_ops.cc.
References bScreen::areabase, BKE_area_find_region_type(), SpaceFile::browse_mode, C, CTX_wm_area(), CTX_wm_manager(), ED_region_visibility_change_update(), FILE_BROWSE_MODE_ASSETS, ARegion::flag, LISTBASE_FOREACH, RGN_FLAG_HIDDEN, RGN_TYPE_ASSET_SHELF, ARegion::runtime, SPACE_FILE, SPACE_VIEW3D, SpaceType::spaceid, ScrArea::type, and WM_window_get_active_screen().
Referenced by create_pose_asset_local(), and create_pose_asset_user_library().
|
static |
Definition at line 109 of file anim_asset_ops.cc.
References blender::animrig::action_add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), FCurve::array_index, BEZT_IPO_BEZ, BEZT_KEYTYPE_KEYFRAME, BLI_assert, blender::animrig::bone_is_visible(), BONE_SELECTED, construct_pose_rna_paths(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), Strip::data, blender::animrig::foreach_fcurve_in_action_slot(), blender::animrig::get_rna_values(), HD_AUTO, i, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::animrig::StripKeyframeData::keyframe_insert(), blender::animrig::Action::layer_add(), LISTBASE_FOREACH, FCurve::rna_path, RNA_path_from_ID_to_property(), RNA_path_resolve(), RNA_pointer_create_discrete(), RNA_property_is_idprop(), blender::animrig::Action::slot_add_for_id(), and blender::animrig::Slot::unassigned.
Referenced by create_pose_asset_local(), and create_pose_asset_user_library().
Definition at line 513 of file anim_asset_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::animrig::bone_is_visible(), BONE_SELECTED, bPose::chanbase, construct_pose_rna_paths(), Object::data, blender::animrig::get_rna_values(), i, Object::id, LISTBASE_FOREACH, Object::pose, RNA_path_from_ID_to_property(), RNA_path_resolve(), and RNA_pointer_create_discrete().
Referenced by update_pose_action_from_scene().
Definition at line 491 of file anim_asset_ops.cc.
References blender::bke::asset_edit_id_from_weak_reference(), C, CTX_data_main(), CTX_wm_asset(), and ID_AC.
Referenced by pose_asset_delete_exec(), pose_asset_delete_invoke(), pose_asset_delete_poll(), pose_asset_modify_exec(), and pose_asset_modify_poll().
|
static |
Definition at line 223 of file anim_asset_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), C, blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), CTX_data_active_object(), CTX_data_selected_objects(), Object::pose, and ptr.
Referenced by create_pose_asset_local(), and create_pose_asset_user_library().
|
static |
Definition at line 355 of file anim_asset_ops.cc.
References ASSET_LIBRARY_CUSTOM, ASSET_LIBRARY_LOCAL, BKE_report(), BLI_assert_unreachable, C, create_pose_asset_local(), create_pose_asset_user_library(), blender::ed::asset::library_reference_from_enum_value(), MAX_NAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_property_is_set(), RNA_property_string_get(), RNA_struct_find_property(), RPT_ERROR, and AssetLibraryReference::type.
Referenced by POSELIB_OT_create_pose_asset().
|
static |
Definition at line 388 of file anim_asset_ops.cc.
References C, IFACE_, blender::ed::asset::library_reference_to_enum_value(), wmOperator::ptr, RNA_enum_set(), RNA_struct_property_is_set_ex(), U, blender::ed::asset::user_library_to_library_ref(), and WM_operator_props_dialog_popup().
Referenced by POSELIB_OT_create_pose_asset().
|
static |
Definition at line 404 of file anim_asset_ops.cc.
References C, and ED_operator_posemode_context().
Referenced by POSELIB_OT_create_pose_asset().
|
static |
Definition at line 775 of file anim_asset_ops.cc.
References blender::bke::asset_edit_id_delete(), C, blender::ed::asset::clear_id(), CTX_data_main(), CTX_wm_asset(), ED_undo_push_op(), get_action_of_selected_asset(), bAction::id, ID_IS_LINKED, NA_REMOVED, NC_ASSET, ND_ASSET_LIST, OPERATOR_CANCELLED, OPERATOR_FINISHED, pose_asset_delete_exec(), blender::ed::asset::refresh_asset_library(), wmOperator::reports, and WM_main_add_notifier().
Referenced by pose_asset_delete_exec(), and POSELIB_OT_asset_delete().
|
static |
Definition at line 802 of file anim_asset_ops.cc.
References ALERT_ICON_WARNING, C, get_action_of_selected_asset(), ID_IS_LINKED, IFACE_, pose_asset_delete_invoke(), and WM_operator_confirm_ex().
Referenced by pose_asset_delete_invoke(), and POSELIB_OT_asset_delete().
|
static |
Definition at line 750 of file anim_asset_ops.cc.
References blender::bke::asset_edit_id_is_editable(), blender::bke::asset_edit_id_is_writable(), C, CTX_wm_operator_poll_msg_set(), get_action_of_selected_asset(), bAction::id, ID_IS_LINKED, and pose_asset_delete_poll().
Referenced by pose_asset_delete_poll(), and POSELIB_OT_asset_delete().
|
static |
Definition at line 721 of file anim_asset_ops.cc.
References pose_asset_modify_description(), prop_asset_overwrite_modes, ptr, and RNA_enum_get().
Referenced by pose_asset_modify_description(), and POSELIB_OT_asset_modify().
|
static |
Definition at line 657 of file anim_asset_ops.cc.
References blender::bke::asset_edit_id_save(), BLI_assert_msg, C, CTX_data_active_object(), CTX_data_main(), CTX_wm_asset(), ED_undo_push_op(), G, blender::ed::asset::generate_preview(), get_action_of_selected_asset(), bAction::id, ID_IS_LINKED, NA_EDITED, NC_ASSET, ND_ASSET_LIST, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, pose_asset_modify_exec(), wmOperator::ptr, blender::ed::asset::refresh_asset_library_from_asset(), wmOperator::reports, RNA_enum_get(), update_pose_action_from_scene(), and WM_main_add_notifier().
Referenced by pose_asset_modify_exec(), and POSELIB_OT_asset_modify().
|
static |
Definition at line 691 of file anim_asset_ops.cc.
References blender::bke::asset_edit_id_is_editable(), blender::bke::asset_edit_id_is_writable(), C, CTX_wm_operator_poll_msg_set(), ED_operator_posemode_context(), get_action_of_selected_asset(), bAction::id, ID_IS_LINKED, and pose_asset_modify_poll().
Referenced by pose_asset_modify_poll(), and POSELIB_OT_asset_modify().
| void blender::ed::animrig::POSELIB_OT_asset_delete | ( | wmOperatorType * | ot | ) |
Definition at line 820 of file anim_asset_ops.cc.
References ot, pose_asset_delete_exec(), pose_asset_delete_invoke(), pose_asset_delete_poll(), and POSELIB_OT_asset_delete().
Referenced by ED_operatortypes_anim(), and POSELIB_OT_asset_delete().
| void blender::ed::animrig::POSELIB_OT_asset_modify | ( | wmOperatorType * | ot | ) |
Definition at line 730 of file anim_asset_ops.cc.
References MODIFY_ADJUST, ot, pose_asset_modify_description(), pose_asset_modify_exec(), pose_asset_modify_poll(), POSELIB_OT_asset_modify(), prop_asset_overwrite_modes, and RNA_def_enum().
Referenced by ED_operatortypes_anim(), and POSELIB_OT_asset_modify().
| void blender::ed::animrig::POSELIB_OT_create_pose_asset | ( | wmOperatorType * | ot | ) |
Definition at line 426 of file anim_asset_ops.cc.
References MAX_NAME, ot, pose_asset_create_exec(), pose_asset_create_invoke(), pose_asset_create_poll(), PROP_ENUM, PROP_HIDDEN, PROP_NONE, PROP_SKIP_SAVE, PROP_STRING_SEARCH_SUGGESTION, rna_asset_library_reference_itemf(), RNA_def_boolean(), RNA_def_enum_funcs(), RNA_def_property(), RNA_def_property_flag(), RNA_def_property_string_search_func_runtime(), RNA_def_property_ui_text(), RNA_def_string(), and visit_library_prop_catalogs_catalog_for_search_fn().
Referenced by ED_operatortypes_anim().
| void blender::ed::animrig::POSELIB_OT_screenshot_preview | ( | wmOperatorType * | ot | ) |
References ot.
|
inlinestatic |
Definition at line 553 of file anim_asset_ops.cc.
References BEZT_IPO_BEZ, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_delete_keys_all(), blender::animrig::StripKeyframeData::channelbag_for_slot_ensure(), blender::animrig::Channelbag::fcurve_ensure(), HD_AUTO, blender::animrig::insert_vert_fcurve(), and INSERTKEY_NOFLAGS.
|
static |
Definition at line 55 of file anim_asset_ops.cc.
References BLI_assert, and blender::ed::asset::library_reference_to_rna_enum_itemf().
Referenced by POSELIB_OT_create_pose_asset().
|
static |
Definition at line 570 of file anim_asset_ops.cc.
References BLI_assert, BLI_assert_unreachable, blender::animrig::foreach_fcurve_in_action_slot(), generate_path_values(), blender::animrig::get_best_pose_slot_for_id(), ActionSlot::handle, Object::id, blender::animrig::Action::layers(), bAction::slot_array_num, and blender::animrig::Action::strip_keyframe_data().
Referenced by pose_asset_modify_exec().
|
static |
Definition at line 412 of file anim_asset_ops.cc.
References C, CTX_data_main(), blender::ed::asset::library_reference_from_enum_value(), ptr, RNA_enum_get(), and blender::ed::asset::visit_library_catalogs_catalog_for_search().
Referenced by POSELIB_OT_create_pose_asset().
|
static |
Definition at line 465 of file anim_asset_ops.cc.
Referenced by pose_asset_modify_description(), and POSELIB_OT_asset_modify().