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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user