Fix for [#24313] Displacement modifier is not respecting animated texture channels.

This commit is contained in:
Janne Karhu 2010-10-19 10:26:53 +00:00
parent bb92265995
commit ff5cbabffd

@ -1337,13 +1337,11 @@ int BKE_texture_dependsOnTime(const struct Tex *texture)
else if( texture->ima &&
ELEM(texture->ima->source, IMA_SRC_SEQUENCE, IMA_SRC_MOVIE)) {
return 1;
}
#if 0 // XXX old animation system
else if(texture->ipo) {
// assume any ipo means the texture is animated
}
else if(texture->adt) {
// assume anything in adt means the texture is animated
return 1;
}
#endif // XXX old animation system
return 0;
}