diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-17 07:55:17 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-17 09:37:11 +0400 |
commit | 68aea619f512afb0fd9f4b06313cd2ea8b896146 (patch) | |
tree | 2a9779bf70ca7ed587b54020da855254559a3ce2 /source/blender/freestyle/intern/stroke | |
parent | 3458bad12d4ba7c1184a44fcdabfef265335d30c (diff) |
Replaced assert() with BLI_assert().
Diffstat (limited to 'source/blender/freestyle/intern/stroke')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Curve.cpp | 3 |
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()); |