Fix for r51634, without this define, translation won’t happen (all i18n macro would be no-op for this editor!).

This commit is contained in:
Bastien Montagne
2012-10-25 20:12:11 +00:00
parent 821cc6769e
commit a4eacfa867
2 changed files with 7 additions and 0 deletions

View File

@@ -48,4 +48,8 @@ if(WITH_GAMEENGINE)
add_definitions(-DWITH_GAMEENGINE)
endif()
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()
blender_add_lib(bf_editor_space_logic "${SRC}" "${INC}" "${INC_SYS}")

View File

@@ -12,4 +12,7 @@ defs = []
if env['WITH_BF_GAMEENGINE']:
defs.append('WITH_GAMEENGINE')
if env['WITH_BF_INTERNATIONAL']:
defs.append('WITH_INTERNATIONAL')
env.BlenderLib ( 'bf_editors_space_game', sources, Split(incs), defs, libtype=['core'], priority=[120] )