[Bf-committers] Patch: Fix for Freestyle failure with .blend files loaded from paths including non-ASCII characters

Tamito KAJIYAMA rd6t-kjym at asahi-net.or.jp
Thu May 2 02:55:01 CEST 2013


Hi,

Thank you Brecht for the commits for fixing bug #35081.
Now .blend files can be loaded from paths including non-ASCII characters.

That fix raises a new, independent problem in Freestyle.
I have just filed a problem description together with a patch set to fix the issue.
http://projects.blender.org/tracker/index.php?func=detail&aid=35176&group_id=9&atid=127

The problem seems specific to Windows, but I am not fully sure if the proposed fix
is okay in other platforms.  Code review and testing are much appreciated.

Thank you,

-- 
KAJIYAMA, Tamito <rd6t-kjym at asahi-net.or.jp>


-----Original Message----- 
From: Brecht Van Lommel
Sent: Wednesday, May 01, 2013 6:43 PM
To: bf-blender-cvs at blender.org
Subject: [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56454] trunk: Fix #35081: opening . blend files with chinese characters 
not working.

Revision: 56454
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56454
Author:   blendix
Date:     2013-05-01 17:43:33 +0000 (Wed, 01 May 2013)
Log Message:
-----------
Fix #35081: opening .blend files with chinese characters not working. For
compressed files we were not passing the full wide char path to zlib, so not
all file names worked. Now we use gzopen_w available in new zlib versions.

Patch by Tamito Kajiyama, I added an extra check for the zlib version so it
keeps compiling with older versions for now.


For platform maintainers:

Part of this commit are zlib 1.2.8 libraries for windows 32 bit. We still
need update libraries for windows 64 bit and mingw. There's a readme.txt
and build.bat included with instructions on how to build.



More information about the Bf-committers mailing list