Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-23 05:46:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-23 05:48:21 +0300
commitd56c0a0a6affcdfd7335c5fce1892a82f23bdf37 (patch)
tree62149f583492ef6a9c4ee4aebe3da1cfb830ffaa /source/blender/blenloader
parent3fdcd2293eadc277bc02297d4688a66f0456613b (diff)
Cleanup: rename bone-select to xray
This shows bones in font and uses the xray toggle binding. Also 'bone select' isn't very meaningful on it's own.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index a28b4ae7784..d0e791fc1d6 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -1727,13 +1727,13 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
}
- if (!DNA_struct_elem_find(fd->filesdna, "View3DOverlay", "float", "bone_select_alpha")) {
+ if (!DNA_struct_elem_find(fd->filesdna, "View3DOverlay", "float", "xray_alpha_bone")) {
for (bScreen *screen = bmain->screen.first; screen; screen = screen->id.next) {
for (ScrArea *sa = screen->areabase.first; sa; sa = sa->next) {
for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) {
if (sl->spacetype == SPACE_VIEW3D) {
View3D *v3d = (View3D *)sl;
- v3d->overlay.bone_select_alpha = 0.5f;
+ v3d->overlay.xray_alpha_bone = 0.5f;
}
}
}
@@ -2152,7 +2152,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_WIREFRAME;
+ v3d->shading.flag |= V3D_SHADING_XRAY_BONE;
}
}
}