|
Blender V4.5
|
Functions | |
| void | alembic_file_handler_add () |
| void | collada_file_handler_add () |
| void | fbx_file_handler_add () |
| void | grease_pencil_file_handler_add () |
| void | obj_file_handler_add () |
| void | ply_file_handler_add () |
| void | stl_file_handler_add () |
| void | usd_file_handler_add () |
| wmOperatorStatus | filesel_drop_import_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| bool | poll_file_object_drop (const bContext *C, blender::bke::FileHandlerType *) |
| Vector< std::string > | paths_from_operator_properties (PointerRNA *ptr) |
| void | paths_to_operator_properties (PointerRNA *ptr, const Span< std::string > paths) |
| void blender::ed::io::alembic_file_handler_add | ( | ) |
References alembic_file_handler_add().
Referenced by alembic_file_handler_add(), and ED_operatortypes_io().
| void blender::ed::io::collada_file_handler_add | ( | ) |
References collada_file_handler_add().
Referenced by collada_file_handler_add(), and ED_operatortypes_io().
| void blender::ed::io::fbx_file_handler_add | ( | ) |
References fbx_file_handler_add().
Referenced by fbx_file_handler_add().
| wmOperatorStatus blender::ed::io::filesel_drop_import_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| const wmEvent * | event ) |
Shows a import dialog if the operator was invoked with filepath properties set, otherwise invokes the file-select window.
Definition at line 26 of file io_utils.cc.
References C, FILE_MAX, filesel_drop_import_invoke(), OPERATOR_RUNNING_MODAL, paths_from_operator_properties(), wmOperator::ptr, RNA_property_is_set(), RNA_string_get(), RNA_struct_find_property(), TIP_, wmOperator::type, WM_event_add_fileselect(), WM_operator_props_dialog_popup(), and WM_operatortype_name().
Referenced by filesel_drop_import_invoke().
| void blender::ed::io::grease_pencil_file_handler_add | ( | ) |
References grease_pencil_file_handler_add().
Referenced by ED_operatortypes_io(), and grease_pencil_file_handler_add().
| void blender::ed::io::obj_file_handler_add | ( | ) |
References obj_file_handler_add().
Referenced by ED_operatortypes_io(), and obj_file_handler_add().
| Vector< std::string > blender::ed::io::paths_from_operator_properties | ( | PointerRNA * | ptr | ) |
Return all paths stored in the pointer. Properties in pointer should include a directory #PropertySubType::PROP_FILEPATH property and a files #RNA_OperatorFileListElement collection property. If the pointer has a filepath property is also returned as fallback.
Definition at line 75 of file io_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_non_duplicates(), BKE_main_blendfile_path_from_global(), BLI_assert, BLI_path_is_rel(), BLI_path_join, BLI_path_normalize(), BLI_path_rel(), FILE_MAX, paths_from_operator_properties(), RNA_PROP_BEGIN, RNA_PROP_END, RNA_property_boolean_get(), RNA_property_is_set(), RNA_string_get(), RNA_struct_find_collection_property_check(), and RNA_struct_find_property().
Referenced by filesel_drop_import_invoke(), blender::ed::space_node::node_add_image_exec(), blender::ed::space_node::node_add_import_node_exec(), paths_from_operator_properties(), wm_drop_import_file_exec(), and wm_drop_import_file_invoke().
| void blender::ed::io::paths_to_operator_properties | ( | PointerRNA * | ptr, |
| const Span< std::string > | paths ) |
Definition at line 117 of file io_utils.cc.
References BLI_assert_msg, BLI_path_is_rel(), BLI_path_rel(), BLI_path_split_dir_part(), FILE_MAX, paths_to_operator_properties(), RNA_collection_add(), RNA_collection_clear(), RNA_string_set(), and STRNCPY().
Referenced by drop_import_file_copy(), blender::ed::space_node::node_import_file_drop_copy(), and paths_to_operator_properties().
| void blender::ed::io::ply_file_handler_add | ( | ) |
References ply_file_handler_add().
Referenced by ED_operatortypes_io(), and ply_file_handler_add().
| bool blender::ed::io::poll_file_object_drop | ( | const bContext * | C, |
| blender::bke::FileHandlerType * | ) |
Definition at line 58 of file io_utils.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), CTX_wm_view3d(), SpaceOutliner::outlinevis, poll_file_object_drop(), ARegion::regiontype, RGN_TYPE_WINDOW, and SO_VIEW_LAYER.
Referenced by poll_file_object_drop().
| void blender::ed::io::stl_file_handler_add | ( | ) |
References stl_file_handler_add().
Referenced by ED_operatortypes_io(), and stl_file_handler_add().
| void blender::ed::io::usd_file_handler_add | ( | ) |
References usd_file_handler_add().
Referenced by ED_operatortypes_io(), and usd_file_handler_add().