long lens_get_focus_pos_from_lens() { // static long v=CAMERA_MAX_DIST; // return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; if (rec_mode_active()) return _GetFocusLensSubjectDistanceFromLens(); else return CAMERA_MAX_DIST; }
long lens_get_focus_pos_from_lens() { return _GetFocusLensSubjectDistanceFromLens(); }
long lens_get_focus_pos_from_lense() { static long v=MAX_DIST; return (kbd_is_key_pressed(KEY_SHOOT_HALF) || state_kbd_script_run || shooting_get_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; }