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>2011-04-20 16:30:13 +0400
committerTon Roosendaal <ton@blender.org>2011-04-20 16:30:13 +0400
commit85480f320fd4c58301f4de50eb9ef5e386371690 (patch)
treee9c4cf614d9d5e614b778a343a9374f20305c429 /source
parent7a7df3bfe821ab5faafa12094713f215440d555e (diff)
Bugfix #27044
Enter or exit localview changes bitflags (layers) in Objects, and should get an undo push for that reason.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c
index f98b2dc934f..c97833aea4b 100644
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@ -1670,6 +1670,7 @@ void VIEW3D_OT_localview(wmOperatorType *ot)
/* api callbacks */
ot->exec= localview_exec;
+ ot->flag= OPTYPE_UNDO; /* localview changes object layer bitflags */
ot->poll= ED_operator_view3d_active;
}