Cleanup: remove dead code

This commit is contained in:
Jacques Lucke 2023-05-08 11:48:01 +02:00
parent d8388ef36a
commit ae1c52b3f2
2 changed files with 0 additions and 3 deletions

View File

@ -46,7 +46,6 @@ extern "C" {
#define PTCACHE_TYPE_SMOKE_HIGHRES 4
#define PTCACHE_TYPE_DYNAMICPAINT 5
#define PTCACHE_TYPE_RIGIDBODY 6
#define PTCACHE_TYPE_SIM_PARTICLES 7
/* high bits reserved for flags that need to be stored in file */
#define PTCACHE_TYPEFLAG_COMPRESS (1 << 16)

View File

@ -496,7 +496,6 @@ static bool timeline_cache_is_hidden_by_setting(const SpaceAction *saction, cons
}
break;
case PTCACHE_TYPE_PARTICLES:
case PTCACHE_TYPE_SIM_PARTICLES:
if ((saction->cache_display & TIME_CACHE_PARTICLES) == 0) {
return true;
}
@ -536,7 +535,6 @@ static void timeline_cache_color_get(PTCacheID *pid, float color[4])
color[3] = 0.1;
break;
case PTCACHE_TYPE_PARTICLES:
case PTCACHE_TYPE_SIM_PARTICLES:
color[0] = 1.0;
color[1] = 0.1;
color[2] = 0.02;