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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-17 07:55:17 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-17 09:37:11 +0400
commit68aea619f512afb0fd9f4b06313cd2ea8b896146 (patch)
tree2a9779bf70ca7ed587b54020da855254559a3ce2 /source/blender/freestyle/intern/stroke/Curve.cpp
parent3458bad12d4ba7c1184a44fcdabfef265335d30c (diff)
Replaced assert() with BLI_assert().
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Curve.cpp')
-rw-r--r--source/blender/freestyle/intern/stroke/Curve.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/Curve.cpp b/source/blender/freestyle/intern/stroke/Curve.cpp
index e5dc27a0c57..2b281a24962 100644
--- a/source/blender/freestyle/intern/stroke/Curve.cpp
+++ b/source/blender/freestyle/intern/stroke/Curve.cpp
@@ -30,6 +30,7 @@
#include "CurveIterators.h"
#include "BKE_global.h"
+#include "BLI_utildefines.h"
namespace Freestyle {
@@ -158,7 +159,7 @@ iA_B_eq_iB_A:
}
cerr << "Fatal error in CurvePoint::CurvePoint(CurvePoint *iA, CurvePoint *iB, float t3)" << endl;
}
- assert(__A != 0 && __B != 0);
+ BLI_assert(__A != 0 && __B != 0);
#if 0
_Point2d = __A->point2d() + _t2d * (__B->point2d() - __A->point2d());