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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-11-03 00:03:15 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-11-03 00:03:15 +0400
commitc9307ec6a3d1dd74e7e417634358e15d6c1022e2 (patch)
tree62113cef4e9ea7d13602972dce48a5cd1bd9a2b1 /source/blender/blenkernel/intern/cdderivedmesh.c
parent41cd2d8e841fbbc85aad715ecfcf58848c6831e6 (diff)
Fix for [#32992] Switching language does nothing under Windows.
Our current intl build for windows is quite old (don't know the exact version), and does not have the new setlocale overwrite. Problem is, new windows dll have no more the gettext_putenv helper, which is currently mandatory to make it work for this OS. So back for now to the ugly long_locales for win. Best fix is probably to build our own static version of libl, but this is not trivial and will require some time. :/ PS: I had a look over i18n/translation in wxWidget, Qt and boost: all implement their own system, even though wxWidget and boost use po/mo files...
Diffstat (limited to 'source/blender/blenkernel/intern/cdderivedmesh.c')
-rw-r--r--source/blender/blenkernel/intern/cdderivedmesh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c
index e5aa152f68c..2e0b3a3c64a 100644
--- a/source/blender/blenkernel/intern/cdderivedmesh.c
+++ b/source/blender/blenkernel/intern/cdderivedmesh.c
@@ -828,6 +828,8 @@ static void cdDM_drawMappedFaces(DerivedMesh *dm,
mcol = DM_get_tessface_data_layer(dm, colType);
}
+ printf("%s: %p(%d/%d)\n", __func__, mcol, CD_ID_MCOL, colType);
+
cdDM_update_normals_from_pbvh(dm);
/* back-buffer always uses legacy since VBO's would need the