Commit: 78fde19e682cff3e3c281675cc285da4a0b8c6da
Author: Germano
Date:   Fri May 4 10:11:30 2018 -0300
Branches: master
https://developer.blender.org/rB78fde19e682cff3e3c281675cc285da4a0b8c6da

BKE: Smoke: Fix error with implicit declaration of function due recent changes.

===================================================================

M       source/blender/blenkernel/intern/smoke.c

===================================================================

diff --git a/source/blender/blenkernel/intern/smoke.c 
b/source/blender/blenkernel/intern/smoke.c
index 0ea4007c95f..699f546bbef 100644
--- a/source/blender/blenkernel/intern/smoke.c
+++ b/source/blender/blenkernel/intern/smoke.c
@@ -864,7 +864,7 @@ static void obstacles_from_derivedmesh(
                        copy_v3_v3(&scs->verts_old[i * 3], co);
                }
 
-               if (bvhtree_from_mesh_looptri(&treeData, dm, 0.0f, 4, 6)) {
+               if (bvhtree_from_mesh_get(&treeData, dm, BVHTREE_FROM_LOOPTRI, 
4)) {
                        ObstaclesFromDMData data = {
                            .sds = sds, .mvert = mvert, .mloop = mloop, 
.looptri = looptri,
                            .tree = &treeData, .obstacle_map = obstacle_map,
@@ -1735,7 +1735,7 @@ static void emit_from_derivedmesh(Object *flow_ob, 
SmokeDomainSettings *sds, Smo
                        res[i] = em->res[i] * hires_multiplier;
                }
 
-               if (bvhtree_from_mesh_looptri(&treeData, dm, 0.0f, 4, 6)) {
+               if (bvhtree_from_mesh_get(&treeData, dm, BVHTREE_FROM_LOOPTRI, 
4)) {
                        const float hr = 1.0f / ((float)hires_multiplier);
 
                        EmitFromDMData data = {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to