Cleanup: correct wireframe xray flag name
[blender.git] / source / blender / blenloader / intern / versioning_280.c
index b11de24ad674063c4a7728a303a2a03b5549a10b..4b55364f0b1abf401355db7ddeac48d7687d4d04 100644 (file)
@@ -2354,7 +2354,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
           for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) {
             if (sl->spacetype == SPACE_VIEW3D) {
               View3D *v3d = (View3D *)sl;
-              v3d->shading.flag |= V3D_SHADING_XRAY_BONE;
+              v3d->shading.flag |= V3D_SHADING_XRAY_WIREFRAME;
             }
           }
         }