Fix for merged 'normal map tangents not working correctly when there are no UV maps.'

This commit is contained in:
Alexander Romanov
2017-07-03 20:02:39 +03:00
parent e1482841dd
commit de2faa395f

View File

@@ -528,6 +528,9 @@ void BKE_mesh_calc_loop_tangent_step_0(
if (add)
*rtangent_mask |= (char)(1 << n);
}
if (uv_layer_num == 0)
*rtangent_mask |= DM_TANGENT_MASK_ORCO;
}
/**