Commit from campbell of march 5 crashes when no object was active and you
do a move to layer...
This commit is contained in:
@@ -1888,7 +1888,7 @@ void movetolayer(void)
|
||||
if(islamp && G.vd->drawtype == OB_SHADED) reshadeall_displist();
|
||||
|
||||
/* to avoid operations on active objects in hidden layers */
|
||||
if (!(BASACT->lay & G.vd->lay))
|
||||
if (BASACT && !(BASACT->lay & G.vd->lay))
|
||||
BASACT= NULL;
|
||||
|
||||
countall();
|
||||
|
||||
Reference in New Issue
Block a user