Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_camera_control.c
| Context not available. | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /* intial values */ | /* initial values */ | ||||
| /* root most parent */ | /* root most parent */ | ||||
| Object *root_parent; | Object *root_parent; | ||||
| Context not available. | |||||
| DEG_id_tag_update(&ob_back->id, OB_RECALC_OB); | DEG_id_tag_update(&ob_back->id, OB_RECALC_OB); | ||||
| } | } | ||||
| else { | else { | ||||
| /* Non Camera we need to reset the view back to the original location bacause the user canceled*/ | /* Non Camera we need to reset the view back to the original location because the user canceled*/ | ||||
| copy_qt_qt(rv3d->viewquat, vctrl->rot_backup); | copy_qt_qt(rv3d->viewquat, vctrl->rot_backup); | ||||
| rv3d->persp = vctrl->persp_backup; | rv3d->persp = vctrl->persp_backup; | ||||
| } | } | ||||
| Context not available. | |||||