Many buttons assumed G.vd existed. found all? buttons that cheashed Blender and made them test for G.vd
This commit is contained in:
@@ -1924,6 +1924,9 @@ void do_effects_panels(unsigned short event)
|
||||
allqueue(REDRAWVIEW3D, 0);
|
||||
break;
|
||||
case B_RECALCAL:
|
||||
if (G.vd==NULL)
|
||||
break;
|
||||
|
||||
base= FIRSTBASE;
|
||||
while(base) {
|
||||
if(base->lay & G.vd->lay) {
|
||||
|
||||
Reference in New Issue
Block a user