diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-02 17:21:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-02 17:21:32 +0400 |
commit | efe690a3a5a53e7857838236159f6b1a41e48bd8 (patch) | |
tree | c56a6ab84f159e5ea92f28f6108edfbca3b425b6 /source/blender/render/intern/raytrace | |
parent | 53024698341690f53ce68f5b11b4c3635df833b5 (diff) |
code cleanup:
- incorrect NULL check in logic UI drawing
- incorrect NULL check in octree quad test
Diffstat (limited to 'source/blender/render/intern/raytrace')
-rw-r--r-- | source/blender/render/intern/raytrace/rayobject_octree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/rayobject_octree.cpp b/source/blender/render/intern/raytrace/rayobject_octree.cpp index e4fd5a6d41e..2f668ba62d0 100644 --- a/source/blender/render/intern/raytrace/rayobject_octree.cpp +++ b/source/blender/render/intern/raytrace/rayobject_octree.cpp @@ -521,7 +521,7 @@ static void octree_fill_rayface(Octree *oc, RayFace *face) copy_v3_v3(co1, face->v1); copy_v3_v3(co2, face->v2); copy_v3_v3(co3, face->v3); - if (face->v4) + if (RE_rayface_isQuad(face)) copy_v3_v3(co4, face->v4); for (c = 0; c < 3; c++) { |