forked from bartvdbraak/blender
Fix strict compiler compilation
This commit is contained in:
parent
8d78df315c
commit
bb8f7784ce
@ -331,7 +331,7 @@ static void rna_Object_ray_cast(
|
|||||||
/* Test BoundBox first (efficiency) */
|
/* Test BoundBox first (efficiency) */
|
||||||
BoundBox *bb = BKE_object_boundbox_get(ob);
|
BoundBox *bb = BKE_object_boundbox_get(ob);
|
||||||
float distmin;
|
float distmin;
|
||||||
if (!bb || isect_ray_aabb_v3_simple(origin, direction, bb->vec[0], bb->vec[6], &distmin, NULL) && distmin <= distance) {
|
if (!bb || (isect_ray_aabb_v3_simple(origin, direction, bb->vec[0], bb->vec[6], &distmin, NULL) && distmin <= distance)) {
|
||||||
|
|
||||||
BVHTreeFromMesh treeData = {NULL};
|
BVHTreeFromMesh treeData = {NULL};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user