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:
Diffstat (limited to 'source/blender/blenkernel/intern/curve.c')
-rw-r--r--source/blender/blenkernel/intern/curve.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index 782f6c94fea..f25c085dc70 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -63,9 +63,13 @@
#include "DEG_depsgraph.h"
+#include "CLG_log.h"
+
/* globals */
/* local */
+static CLG_LogRef LOG = {"bke.curve"};
+
static int cu_isectLL(const float v1[3], const float v2[3], const float v3[3], const float v4[3],
short cox, short coy,
float *lambda, float *mu, float vec[3]);
@@ -1032,7 +1036,7 @@ static void calcknots(float *knots, const int pnts, const short order, const sho
}
}
else {
- printf("bez nurb curve order is not 3 or 4, should never happen\n");
+ CLOG_ERROR(&LOG, "bez nurb curve order is not 3 or 4, should never happen");
}
break;
default: