Commit: 7015b229d1e727e6c706b0acc008983cea606411
Author: Julian Eisel
Date:   Mon Mar 6 02:13:22 2017 +0100
Branches: HMD_viewport
https://developer.blender.org/rB7015b229d1e727e6c706b0acc008983cea606411

Fixup for python UI definition

===================================================================

M       source/blender/python/intern/CMakeLists.txt
M       source/blender/python/intern/bpy_app_build_options.c

===================================================================

diff --git a/source/blender/python/intern/CMakeLists.txt 
b/source/blender/python/intern/CMakeLists.txt
index 038c1e7eb1..25fa0122b7 100644
--- a/source/blender/python/intern/CMakeLists.txt
+++ b/source/blender/python/intern/CMakeLists.txt
@@ -208,6 +208,10 @@ if(WITH_IMAGE_TIFF)
        add_definitions(-DWITH_TIFF)
 endif()
 
+if(WITH_INPUT_HMD)
+       add_definitions(-DWITH_INPUT_HMD)
+endif()
+
 if(WITH_INPUT_NDOF)
        add_definitions(-DWITH_INPUT_NDOF)
 endif()
diff --git a/source/blender/python/intern/bpy_app_build_options.c 
b/source/blender/python/intern/bpy_app_build_options.c
index 8f77caa68e..ca86d15826 100644
--- a/source/blender/python/intern/bpy_app_build_options.c
+++ b/source/blender/python/intern/bpy_app_build_options.c
@@ -197,6 +197,12 @@ static PyObject *make_builtopts_info(void)
        SetObjIncref(Py_False);
 #endif
 
+#ifdef WITH_INPUT_HMD
+       SetObjIncref(Py_True);
+#else
+       SetObjIncref(Py_False);
+#endif
+
 #ifdef WITH_INPUT_NDOF
        SetObjIncref(Py_True);
 #else

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to