diff options
author | Marius Kintel <marius@kintel.net> | 2011-08-25 15:46:21 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-08-25 15:46:21 (GMT) |
commit | 08c83d306ed838165546e55d8e91a8445b09ace3 (patch) | |
tree | 863b749cfe3a875a211062aa0281c648ef721d5e /src/primitives.cc | |
parent | cb0fe366cf1947973728d50c06e3ed0e4261e109 (diff) | |
parent | a32007e66c6004531f812befb20a96040b4dbbdd (diff) |
Merge branch 'master' into visitor
Conflicts:
src/primitives.cc
Diffstat (limited to 'src/primitives.cc')
-rw-r--r-- | src/primitives.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives.cc b/src/primitives.cc index 3f88c75..4210e15 100644 --- a/src/primitives.cc +++ b/src/primitives.cc @@ -474,7 +474,7 @@ sphere_next_r2: } } - if (this->type == SQUARE) + if (this->type == SQUARE && x > 0 && y > 0) { double x1, x2, y1, y2; if (this->center) { |