Blender V4.3
view3d_ops.cc File Reference
#include <cmath>
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_view3d_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_appdir.hh"
#include "BKE_blender_copybuffer.hh"
#include "BKE_blendfile.hh"
#include "BKE_context.hh"
#include "BKE_report.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_transform.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Functions

Local Utilities
static void view3d_copybuffer_filepath_get (char filepath[FILE_MAX], size_t filepath_maxncpy)
 
Viewport Copy Operator
static int view3d_copybuffer_exec (bContext *C, wmOperator *op)
 
static void VIEW3D_OT_copybuffer (wmOperatorType *ot)
 
Viewport Paste Operator
static int view3d_pastebuffer_exec (bContext *C, wmOperator *op)
 
static void VIEW3D_OT_pastebuffer (wmOperatorType *ot)
 
Registration
void view3d_operatortypes ()
 
void view3d_keymap (wmKeyConfig *keyconf)
 

Function Documentation

◆ view3d_copybuffer_exec()

◆ view3d_copybuffer_filepath_get()

static void view3d_copybuffer_filepath_get ( char filepath[FILE_MAX],
size_t filepath_maxncpy )
static

Definition at line 47 of file view3d_ops.cc.

References BKE_tempdir_base(), and BLI_path_join.

Referenced by view3d_copybuffer_exec(), and view3d_pastebuffer_exec().

◆ view3d_keymap()

◆ view3d_operatortypes()

void view3d_operatortypes ( )

Definition at line 163 of file view3d_ops.cc.

References transform_operatortypes(), VIEW3D_OT_bone_select_menu(), VIEW3D_OT_camera_background_image_add(), VIEW3D_OT_camera_background_image_remove(), VIEW3D_OT_camera_to_view(), VIEW3D_OT_camera_to_view_selected(), VIEW3D_OT_clear_render_border(), VIEW3D_OT_clip_border(), VIEW3D_OT_copybuffer(), VIEW3D_OT_cursor3d(), VIEW3D_OT_dolly(), VIEW3D_OT_drop_world(), VIEW3D_OT_fly(), VIEW3D_OT_interactive_add(), VIEW3D_OT_localview(), VIEW3D_OT_localview_remove_from(), VIEW3D_OT_move(), VIEW3D_OT_navigate(), VIEW3D_OT_object_as_camera(), VIEW3D_OT_object_mode_pie_or_toggle(), VIEW3D_OT_pastebuffer(), VIEW3D_OT_render_border(), VIEW3D_OT_rotate(), VIEW3D_OT_ruler_add(), VIEW3D_OT_ruler_remove(), VIEW3D_OT_select(), VIEW3D_OT_select_box(), VIEW3D_OT_select_circle(), VIEW3D_OT_select_lasso(), VIEW3D_OT_select_menu(), VIEW3D_OT_smoothview(), VIEW3D_OT_snap_cursor_to_active(), VIEW3D_OT_snap_cursor_to_center(), VIEW3D_OT_snap_cursor_to_grid(), VIEW3D_OT_snap_cursor_to_selected(), VIEW3D_OT_snap_selected_to_active(), VIEW3D_OT_snap_selected_to_cursor(), VIEW3D_OT_snap_selected_to_grid(), VIEW3D_OT_toggle_matcap_flip(), VIEW3D_OT_toggle_shading(), VIEW3D_OT_toggle_xray(), VIEW3D_OT_view_all(), VIEW3D_OT_view_axis(), VIEW3D_OT_view_camera(), VIEW3D_OT_view_center_camera(), VIEW3D_OT_view_center_cursor(), VIEW3D_OT_view_center_lock(), VIEW3D_OT_view_center_pick(), VIEW3D_OT_view_lock_clear(), VIEW3D_OT_view_lock_to_active(), VIEW3D_OT_view_orbit(), VIEW3D_OT_view_pan(), VIEW3D_OT_view_persportho(), VIEW3D_OT_view_roll(), VIEW3D_OT_view_selected(), VIEW3D_OT_walk(), VIEW3D_OT_zoom(), VIEW3D_OT_zoom_border(), VIEW3D_OT_zoom_camera_1_to_1(), and WM_operatortype_append().

Referenced by ED_spacetype_view3d().

◆ VIEW3D_OT_copybuffer()

◆ VIEW3D_OT_pastebuffer()

◆ view3d_pastebuffer_exec()