Two fixes for optional ndof & fix bplayer for that...

Seriuosly, guys... Please always check that kind of changes with and without affected option, and in full build case.
This commit is contained in:
Bastien Montagne 2016-08-18 15:13:58 +02:00
parent 7b78532950
commit b4d36c77da
2 changed files with 5 additions and 1 deletions

View File

@ -381,8 +381,8 @@ EnumPropertyItem rna_enum_event_type_items[] = {
{NDOF_BUTTON_A, "NDOF_BUTTON_A", 0, "NDOF Button A", "NdofBA"},
{NDOF_BUTTON_B, "NDOF_BUTTON_B", 0, "NDOF Button B", "NdofBB"},
{NDOF_BUTTON_C, "NDOF_BUTTON_C", 0, "NDOF Button C", "NdofBC"},
{0, NULL, 0, NULL, NULL}
#endif /* WITH_INPUT_NDOF */
{0, NULL, 0, NULL, NULL}
};
EnumPropertyItem rna_enum_event_value_items[] = {

View File

@ -70,4 +70,8 @@ if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
if(WITH_INPUT_NDOF)
add_definitions(-DWITH_INPUT_NDOF)
endif()
blender_add_lib_nolist(blenkernel_blc "${SRC}" "${INC}" "${INC_SYS}")