Bake-API: handle objects with no faces (fix T40601)
Also it has a better error handling for the BVHTree creation Fix for 2.71
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user