diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-06-13 21:26:43 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-06-13 21:37:59 +0400 |
commit | b0708dd7189dfef21f7f9af5e98b0a7e1369e507 (patch) | |
tree | 4d4a4463b7dd8409f94920b7c06a280374dd8e94 /source/blender/render/extern/include/RE_bake.h | |
parent | 8957609f353f93475d79706cf2d6b306ed197beb (diff) |
Bake-API: handle objects with no faces (fix T40601)
Also it has a better error handling for the BVHTree creation
Fix for 2.71
Diffstat (limited to 'source/blender/render/extern/include/RE_bake.h')
-rw-r--r-- | source/blender/render/extern/include/RE_bake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_bake.h b/source/blender/render/extern/include/RE_bake.h index 4727aef460e..961ca3fdd6d 100644 --- a/source/blender/render/extern/include/RE_bake.h +++ b/source/blender/render/extern/include/RE_bake.h @@ -80,7 +80,7 @@ bool RE_bake_internal( struct Render *re, struct Object *object, const BakePixel pixel_array[], const int num_pixels, const int depth, const ScenePassType pass_type, float result[]); -void RE_bake_pixels_populate_from_objects( +bool RE_bake_pixels_populate_from_objects( struct Mesh *me_low, BakePixel pixel_array_from[], BakeHighPolyData highpoly[], const int tot_highpoly, const int num_pixels, const bool is_custom_cage, const float cage_extrusion, float mat_low[4][4], float mat_cage[4][4], struct Mesh *me_cage); |