ousttrue / pymeshio

3d model reader/writer for python
http://pypi.python.org/pypi/pymeshio/
92 stars 26 forks source link

Japanese fonts not enabled in Blender #30

Closed Hogarth-MMD closed 9 years ago

Hogarth-MMD commented 9 years ago

With these 2 lines of Python code, Japanese fonts can be automatically enabled in Blender when someone imports a .pmd or .pmx model. Googleが翻訳します: 誰かが.pmdまたは.pmxモデルをインポートするときにPythonコードのこれらの2行で、日本語フォントは自動的にブレンダーで有効にすることができます。

import bpy

bpy.context.user_preferences.system.use_international_fonts = True
bpy.context.user_preferences.system.language = 'ja_JP'
ousttrue commented 9 years ago

Thank you !