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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-04-25 15:16:06 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-04-25 15:16:06 +0400
commitfe52e64f6b999329662afaf938c338c10d276a9f (patch)
treecf65862b2f2f685cc587c80b7311bd87f87d6962 /source
parent9d335dffa46d4ff921b3d0b18b321c4c041ddc61 (diff)
Revert previous change after discussion with Campbell
Let's just be really verbose and it some compiler gives issues tell him NOT to do this. We shouldn't really workaround compiles' idiocy..
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/boxpack2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/boxpack2d.c b/source/blender/blenlib/intern/boxpack2d.c
index a383a461c9d..c83e2fed8a7 100644
--- a/source/blender/blenlib/intern/boxpack2d.c
+++ b/source/blender/blenlib/intern/boxpack2d.c
@@ -87,7 +87,7 @@ typedef struct BoxVert {
BLI_INLINE int quad_flag(unsigned int q)
{
- BLI_assert(q < 4);
+ BLI_assert(q < 4 && q >= 0);
return (1 << q);
}