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:
@@ -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}")
|
||||
|
||||
@@ -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] )
|
||||
|
||||
Reference in New Issue
Block a user