Cleanup: remove unused scene recalc
This commit is contained in:
parent
cf5154dcff
commit
632ed6a0d6
|
@ -1655,9 +1655,6 @@ static void dag_scene_build(Main *bmain, Scene *sce)
|
|||
}
|
||||
}
|
||||
|
||||
/* temporal...? */
|
||||
sce->recalc |= SCE_PRV_CHANGED; /* test for 3d preview */
|
||||
|
||||
/* Make sure that new dependencies which came from invisible layers
|
||||
* are tagged for update (if they're needed for objects which were
|
||||
* tagged for update).
|
||||
|
|
|
@ -8085,8 +8085,4 @@ void createTransData(bContext *C, TransInfo *t)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TRANSFORM_FIX_ME
|
||||
// /* temporal...? */
|
||||
// t->scene->recalc |= SCE_PRV_CHANGED; /* test for 3d preview */
|
||||
}
|
||||
|
|
|
@ -1414,7 +1414,7 @@ typedef struct Scene {
|
|||
void *pad1;
|
||||
struct DagForest *theDag;
|
||||
short dagflags;
|
||||
short recalc; /* recalc = counterpart of ob->recalc */
|
||||
short pad3;
|
||||
|
||||
/* User-Defined KeyingSets */
|
||||
int active_keyingset; /* index of the active KeyingSet. first KeyingSet has index 1, 'none' active is 0, 'add new' is -1 */
|
||||
|
@ -1738,9 +1738,6 @@ extern const char *RE_engine_id_CYCLES;
|
|||
#define SCE_SELECT_POINT 2
|
||||
#define SCE_SELECT_END 4
|
||||
|
||||
/* sce->recalc (now in use by previewrender) */
|
||||
#define SCE_PRV_CHANGED 1
|
||||
|
||||
/* toolsettings->prop_mode (proportional falloff) */
|
||||
#define PROP_SMOOTH 0
|
||||
#define PROP_SPHERE 1
|
||||
|
|
Loading…
Reference in New Issue