Cleanup: compiler warning
This commit is contained in:
parent
8f050b6825
commit
dfe8195dfe
|
@ -8133,7 +8133,6 @@ static void lib_link_workspace_layout_restore(struct IDNameLib_Map *id_map,
|
|||
LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) {
|
||||
if (sl->spacetype == SPACE_VIEW3D) {
|
||||
View3D *v3d = (View3D *)sl;
|
||||
ARegion *region;
|
||||
|
||||
v3d->camera = restore_pointer_by_name(id_map, (ID *)v3d->camera, USER_REAL);
|
||||
v3d->ob_center = restore_pointer_by_name(id_map, (ID *)v3d->ob_center, USER_REAL);
|
||||
|
|
Loading…
Reference in New Issue