Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-05 17:36:55 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-05 17:36:55 +0400
commit7cb10c60af0e83e2fb0771d1a8b589edbf475b16 (patch)
tree7cde95582164d3ab8ec9700b2cd785a29acac2d5 /source/blender/blenkernel/intern/customdata.c
parent4aacb0eda9d3b0bec60726d16fa7c35322612ff5 (diff)
Fix for unnecessary customdata warning with empty meshes.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c8
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;
}