Added quality depth based on AD
Merge branch 'hotfix/fix_depth'