fix for the crash reported in [#24625] Duplifaces not generated using spacebar to activate
This commit is contained in:
@@ -4403,8 +4403,11 @@ static void set_trans_object_base_flags(TransInfo *t)
|
||||
while(parsel) {
|
||||
if(parsel->flag & SELECT) {
|
||||
Base *parbase = object_in_scene(parsel, scene);
|
||||
if TESTBASELIB_BGMODE(v3d, scene, parbase)
|
||||
if(parbase) { /* in rare cases this can fail */
|
||||
if TESTBASELIB_BGMODE(v3d, scene, parbase) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
parsel= parsel->parent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user