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>2013-11-25 01:37:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-25 02:40:52 +0400
commitd305df2226ccdf371d127d1c4f39690042f483bd (patch)
tree320b2bd0c33b100f9df44854374101704243e624 /source/blender/blenloader/intern/readfile.c
parent710f3746fcb4c599b7f833e5df66371566caa56b (diff)
Transform: old todo, removing an orientation now checks all screens.
also fix for using uninitialized matrix when an out-of-range index is set for custom orientations.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index ad3b0df3ad8..c7e82c1fe7f 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5944,14 +5944,6 @@ void blo_lib_link_screen_restore(Main *newmain, bScreen *curscreen, Scene *cursc
/* not very nice, but could help */
if ((v3d->layact & v3d->lay) == 0) v3d->layact = v3d->lay;
-
- /* its possible the current transform orientation has been removed */
- if (v3d->twmode >= V3D_MANIP_CUSTOM) {
- const int selected_index = (v3d->twmode - V3D_MANIP_CUSTOM);
- if (!BLI_findlink(&sc->scene->transform_spaces, selected_index)) {
- v3d->twmode = V3D_MANIP_GLOBAL;
- }
- }
/* free render engines for now */
for (ar = sa->regionbase.first; ar; ar = ar->next) {