Fix for crash in select_parent() - check for OBACT
Thanks to Campbell for the last minute report!
This commit is contained in:
@@ -537,7 +537,7 @@ void select_parent(void) /* Makes parent active and de-selected OBACT */
|
|||||||
{
|
{
|
||||||
Base *base, *startbase, *basact=NULL, *oldbasact;
|
Base *base, *startbase, *basact=NULL, *oldbasact;
|
||||||
|
|
||||||
if (!(OBACT->parent)) return;
|
if (!(OBACT) || !(OBACT->parent)) return;
|
||||||
BASACT->flag &= (~SELECT);
|
BASACT->flag &= (~SELECT);
|
||||||
BASACT->object->flag &= (~SELECT);
|
BASACT->object->flag &= (~SELECT);
|
||||||
startbase= FIRSTBASE;
|
startbase= FIRSTBASE;
|
||||||
|
|||||||
Reference in New Issue
Block a user