long lens_get_target_distance() { // static long v=65535; // return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run|| shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v; if (rec_mode_active()) return _GetCurrentTargetDistance(); else return 65535; }
long lens_get_target_distance() { return _GetCurrentTargetDistance(); }
long lens_get_target_distance() { 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=_GetCurrentTargetDistance():v; // return _GetCurrentTargetDistance(); }
long lens_get_target_distance() { static long v=MAX_DIST; return (kbd_is_key_pressed(KEY_SHOOT_HALF) || state_kbd_script_run || shooting_get_focus_mode())?v=_GetCurrentTargetDistance():v; }
long lens_get_focus_pos_from_lens() { return _GetCurrentTargetDistance(); //return _GetFocusLensSubjectDistanceFromLens(); }
long lens_get_focus_pos() { //return _GetFocusLensSubjectDistance(); // returns plaintext, calls GetCurrentTargetDistance to get value return _GetCurrentTargetDistance(); }
long lens_get_target_distance() { static long v=65535; return (kbd_is_key_pressed(KEY_SHOOT_HALF) || state_kbd_script_run|| shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v; // return _GetCurrentTargetDistance(); }