diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-05 17:36:55 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-05 17:36:55 +0400 |
commit | 7cb10c60af0e83e2fb0771d1a8b589edbf475b16 (patch) | |
tree | 7cde95582164d3ab8ec9700b2cd785a29acac2d5 /source/blender/blenkernel | |
parent | 4aacb0eda9d3b0bec60726d16fa7c35322612ff5 (diff) |
Fix for unnecessary customdata warning with empty meshes.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 13d8c0380ab..f50dbb47a44 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -1969,9 +1969,11 @@ static void CustomData_copy_data_layer(const CustomData *source, CustomData *des dest_offset = dest_index * typeInfo->size; if (!src_data || !dest_data) { - printf("%s: warning null data for %s type (%p --> %p), skipping\n", - __func__, layerType_getName(source->layers[src_i].type), - (void *)src_data, (void *)dest_data); + //if (!(src_data == NULL && dest_data == NULL)) { + printf("%s: warning null data for %s type (%p --> %p), skipping\n", + __func__, layerType_getName(source->layers[src_i].type), + (void *)src_data, (void *)dest_data); + //} return; } |