diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-17 07:22:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-17 07:24:47 +0300 |
commit | c58757006d17b4d0cf97ce1e3cde85fff37a5e3a (patch) | |
tree | 4be4f3d9f3994408a8d6b45a3bca19b9537cc0ad /source/blender/blenkernel/intern/object.c | |
parent | 709a31da93c9677ec6ebb17e780014f6ba8016ff (diff) |
Cleanup: remove unused Object.ipoflag
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index d965e8392ef..6aaf62d34a5 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -2093,13 +2093,9 @@ static void ob_parcurve(Scene *scene, Object *ob, Object *par, float mat[4][4]) if (par->curve_cache == NULL) /* only happens on reload file, but violates depsgraph still... fix! */ BKE_displist_make_curveTypes(scene, par, 0); if (par->curve_cache->path == NULL) return; - - /* catch exceptions: feature for nla stride editing */ - if (ob->ipoflag & OB_DISABLE_PATH) { - ctime = 0.0f; - } + /* catch exceptions: curve paths used as a duplicator */ - else if (enable_cu_speed) { + if (enable_cu_speed) { /* ctime is now a proper var setting of Curve which gets set by Animato like any other var that's animated, * but this will only work if it actually is animated... * |