[Bf-blender-cvs] [c68fabee474] HMD_viewport: Remove ifdef check for file versioning
Campbell Barton
noreply at git.blender.org
Sun Apr 2 18:55:59 CEST 2017
Commit: c68fabee474570989247655c1b2fee09b84f37c6
Author: Campbell Barton
Date: Mon Apr 3 02:54:59 2017 +1000
Branches: HMD_viewport
https://developer.blender.org/rBc68fabee474570989247655c1b2fee09b84f37c6
Remove ifdef check for file versioning
File patching shouldn't depend on build options
===================================================================
M source/blender/blenloader/intern/versioning_270.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index c299382d884..b594b80a783 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -1560,13 +1560,11 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
}
{
-#ifdef WITH_INPUT_HMD
if (!DNA_struct_elem_find(fd->filesdna, "wmWindowManager", "HMDViewInfo", "hmd_view")) {
for (wmWindowManager *wm = main->wm.first; wm; wm = wm->id.next) {
wm->hmd_view.view_shade = OB_SOLID;
}
}
-#endif
}
/* To be added to next subversion bump! */
{
More information about the Bf-blender-cvs
mailing list