remove unused SpaceTime.redraws.
now there are no more use of deprecated struct member warnings.
This commit is contained in:
@@ -8709,11 +8709,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
|
||||
View3D *v3d= (View3D *)sl;
|
||||
if(v3d->twtype==0) v3d->twtype= V3D_MANIP_TRANSLATE;
|
||||
}
|
||||
else if(sl->spacetype==SPACE_TIME) {
|
||||
SpaceTime *stime= (SpaceTime *)sl;
|
||||
if(stime->redraws==0)
|
||||
stime->redraws= TIME_ALL_3D_WIN|TIME_ALL_ANIM_WIN;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -580,7 +580,6 @@ static SpaceLink *time_new(const bContext *C)
|
||||
stime= MEM_callocN(sizeof(SpaceTime), "inittime");
|
||||
|
||||
stime->spacetype= SPACE_TIME;
|
||||
stime->redraws= TIME_ALL_3D_WIN|TIME_ALL_ANIM_WIN; // XXX: depreceated
|
||||
stime->flag |= TIME_DRAWFRAMES;
|
||||
|
||||
/* header */
|
||||
|
||||
@@ -376,14 +376,11 @@ typedef struct SpaceTime {
|
||||
float blockscale DNA_DEPRECATED;
|
||||
|
||||
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
|
||||
|
||||
ListBase caches;
|
||||
int cache_display, pad;
|
||||
|
||||
int flag;
|
||||
|
||||
int redraws DNA_DEPRECATED; /* redraws is deprecated... moved to screen */
|
||||
|
||||
ListBase caches;
|
||||
|
||||
int cache_display;
|
||||
int flag;
|
||||
} SpaceTime;
|
||||
|
||||
typedef struct SpaceNode {
|
||||
@@ -397,9 +394,8 @@ typedef struct SpaceNode {
|
||||
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
|
||||
|
||||
struct ID *id, *from; /* context, no need to save in file? well... pinning... */
|
||||
short flag, menunr; /* menunr: browse id block in header */
|
||||
short flag, pad1; /* menunr: browse id block in header */
|
||||
float aspect;
|
||||
void *curfont;
|
||||
|
||||
float xof, yof; /* offset for drawing the backdrop */
|
||||
float zoom, padf; /* zoom for backdrop */
|
||||
|
||||
Reference in New Issue
Block a user