diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-20 16:59:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-20 16:59:42 +0300 |
commit | b95df9957d9217a7b850b6311ff6d569dbb9111b (patch) | |
tree | cddb9b92167341abdacbb3c5d90c51a12fd86ba8 /source/blender/blenloader/intern/versioning_legacy.c | |
parent | 8ec25e5dccd21e25ea11336b88e14306ed2f77a0 (diff) |
UI: move manipulator to tool-system
Current manipulator now follows active tool.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_legacy.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index b31aa7047b0..57530c6a004 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -1300,7 +1300,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) if (main->versionfile <= 236) { Object *ob; Camera *cam = main->camera.first; - bScreen *sc; while (cam) { if (cam->ortho_scale == 0.0f) { @@ -1310,22 +1309,8 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) } cam = cam->id.next; } - /* set manipulator type */ /* force oops draw if depgraph was set*/ /* set time line var */ - for (sc = main->screen.first; sc; sc = sc->id.next) { - ScrArea *sa; - for (sa = sc->areabase.first; sa; sa = sa->next) { - SpaceLink *sl; - for (sl = sa->spacedata.first; sl; sl = sl->next) { - if (sl->spacetype == SPACE_VIEW3D) { - View3D *v3d = (View3D *) sl; - if (v3d->twtype == 0) - v3d->twtype = V3D_MANIP_TRANSLATE; - } - } - } - } /* softbody init new vars */ for (ob = main->object.first; ob; ob = ob->id.next) { |