Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-02-09 20:06:34 +0300
committerHans Goudey <h.goudey@me.com>2022-02-09 20:06:34 +0300
commite4205148926fed0de70baf8c9b1f195fa49356ed (patch)
treea8f73ca5bac6d91c95f9ea939f33feb9c5a1641c
parent6e14be858c2c219e836bd229707dd53ccf61013f (diff)
parentd1202bd641ca2652fac9620bc06dad757584b1e0 (diff)
Merge branch 'blender-v3.1-release'
-rw-r--r--source/blender/blenkernel/intern/curve.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/curve.cc b/source/blender/blenkernel/intern/curve.cc
index f83a672b2ee..c611e280793 100644
--- a/source/blender/blenkernel/intern/curve.cc
+++ b/source/blender/blenkernel/intern/curve.cc
@@ -5072,16 +5072,6 @@ void BKE_curve_nurb_vert_active_validate(Curve *cu)
bool BKE_curve_minmax(Curve *cu, bool use_radius, float min[3], float max[3])
{
- if (cu->curve_eval != nullptr) {
- float3 eval_min(FLT_MAX);
- float3 eval_max(-FLT_MAX);
- if (cu->curve_eval->bounds_min_max(eval_min, eval_max, false)) {
- copy_v3_v3(min, eval_min);
- copy_v3_v3(max, eval_max);
- return true;
- }
- }
-
ListBase *nurb_lb = BKE_curve_nurbs_get(cu);
ListBase temp_nurb_lb = {nullptr, nullptr};
const bool is_font = (BLI_listbase_is_empty(nurb_lb)) && (cu->len != 0);