Commit: a6d405d7b58585c9adae8e6b1cb4c4787a63f1da
Author: Nicholas Bishop
Date: Mon Feb 9 17:54:39 2015 +0100
Branches: cycles-ptex-49
https://developer.blender.org/rBa6d405d7b58585c9adae8e6b1cb4c4787a63f1da
Fix comparison in Ptex layout packing
===================================================================
M extern/ptex/BPX_packed_layout.h
===================================================================
diff --git a/extern/ptex/BPX_packed_layout.h b/extern/ptex/BPX_packed_layout.h
index b3f73e9..015c3fc 100644
--- a/extern/ptex/BPX_packed_layout.h
+++ b/extern/ptex/BPX_packed_layout.h
@@ -71,7 +71,7 @@ struct BPXPackedLayout {
Item &item = *iter;
// Check if enough room on this row
- if (dst_x + item.u_res + 2 * border >= width) {
+ if (dst_x + item.u_res + 2 * border > width) {
// Move to next row
assert(yinc != 0);
dst_y += yinc;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs