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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-04 01:17:33 +0400
committerTon Roosendaal <ton@blender.org>2005-10-04 01:17:33 +0400
commite006662a5bad8539663720348fb9a4c6fda1bdda (patch)
treec60afdddfe3cbc8909eb73238d223371e7f7fd10 /source
parent33fcdf2ada1cddb2c5615009db6bb87d38a89970 (diff)
Bugfix #3141
Ending localview didn't correctly restore selection, so oops or outline were not updated.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index ee444b45586..c421f34a838 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -1305,7 +1305,10 @@ void endlocalview(ScrArea *sa)
if( base->lay & locallay ) {
base->lay-= locallay;
if(base->lay==0) base->lay= v3d->layact;
- if(base->object != G.obedit) base->flag |= SELECT;
+ if(base->object != G.obedit) {
+ base->flag |= SELECT;
+ base->object->flag |= SELECT;
+ }
base->object->lay= base->lay;
}
base= base->next;
@@ -1313,6 +1316,7 @@ void endlocalview(ScrArea *sa)
countall();
allqueue(REDRAWVIEW3D, 0); /* because of select */
+ allqueue(REDRAWOOPS, 0); /* because of select */
}
}