Documentation: Unify deprecations

This commit is contained in:
Danil Alexeev
2023-06-06 11:27:29 +03:00
parent e7d2e49688
commit b433020aa6
12 changed files with 23 additions and 18 deletions

View File

@@ -1304,6 +1304,8 @@ AABB SurfaceTool::get_aabb() const {
return aabb;
}
Vector<int> SurfaceTool::generate_lod(float p_threshold, int p_target_index_count) {
WARN_DEPRECATED_MSG(R"*(The "SurfaceTool.generate_lod()" method is deprecated. Consider using "ImporterMesh.generate_lods()" instead.)*");
Vector<int> lod;
ERR_FAIL_COND_V(simplify_func == nullptr, lod);