59 if (v3d->
camera ==
nullptr) {
69 if (v3d->
camera ==
nullptr) {
74 if (v3d->
camera ==
nullptr) {
119 ot->name =
"View Camera";
120 ot->description =
"Toggle the camera view";
121 ot->idname =
"VIEW3D_OT_view_camera";
Scene * CTX_data_scene(const bContext *C)
ViewLayer * CTX_data_view_layer(const bContext *C)
void BKE_view_layer_synced_ensure(const Scene *scene, ViewLayer *view_layer)
Object * BKE_view_layer_camera_find(const Scene *scene, ViewLayer *view_layer)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
void DEG_id_tag_update(ID *id, unsigned int flags)
#define RV3D_LOCK_FLAGS(rv3d)
@ RV3D_LOCK_ANY_TRANSFORM
bool ED_view3d_context_user_region(bContext *C, View3D **r_v3d, ARegion **r_region)
void ED_view3d_lastview_store(RegionView3D *rv3d)
bool ED_operator_rv3d_user_region_poll(bContext *C)
struct wmTimer * smooth_timer
void axis_set_view(bContext *C, View3D *v3d, ARegion *region, const float quat_[4], char view, char view_axis_roll, int perspo, const float *align_to_quat, const int smooth_viewtx)
void ED_view3d_smooth_view(bContext *C, View3D *v3d, ARegion *region, int smooth_viewtx, const V3D_SmoothParams *sview)
void ED_view3d_smooth_view_force_finish(bContext *C, View3D *v3d, ARegion *region)
void VIEW3D_OT_view_camera(wmOperatorType *ot)
static wmOperatorStatus view_camera_exec(bContext *C, wmOperator *op)
int WM_operator_smooth_viewtx_get(const wmOperator *op)