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:
authorGeoffrey Bantle <hairbat@yahoo.com>2008-07-05 02:32:06 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2008-07-05 02:32:06 +0400
commiteda5b6d7368e813024b68c8e3085a82c111a26fc (patch)
tree2d749ad129707ac2767f7d0a42f3f0c229701738 /source/blender/blenkernel/intern/customdata.c
parent0bdfc6a953ef23be522523c4eec50b32716a6afd (diff)
->Last Commit broke compilation on GCC
CustomData_bmesh_set function header and prototype didnt match. For some reason this not only compiledon MSVC but didnt even warn...
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index 946cb449912..4880a246e1c 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -1557,7 +1557,7 @@ void *CustomData_bmesh_get_n(const CustomData *data, void *block, int type, int
return (char *)block + data->layers[layer_index+n].offset;
}
-void CustomData_bmesh_set(CustomData *data, void *block, int type, void *source)
+void CustomData_bmesh_set(const CustomData *data, void *block, int type, void *source)
{
void *dest = CustomData_bmesh_get(data, block, type);
const LayerTypeInfo *typeInfo = layerType_getInfo(type);