forked from bartvdbraak/blender
Slight change, when moving the active object out of localview, keep it the activew object. Face Select mode, vpain etc need to complain if act ob isnt visible before the modes are activated.
This commit is contained in:
parent
bfe42eea43
commit
dc90a417cb
@ -1887,9 +1887,7 @@ void movetolayer(void)
|
||||
}
|
||||
if(islamp && G.vd->drawtype == OB_SHADED) reshadeall_displist();
|
||||
|
||||
/* to avoid operations on active objects in hidden layers */
|
||||
if (BASACT && !(BASACT->lay & G.vd->lay))
|
||||
BASACT= NULL;
|
||||
/* warning, active object may be hidden now */
|
||||
|
||||
countall();
|
||||
DAG_scene_sort(G.scene);
|
||||
|
Loading…
Reference in New Issue
Block a user