From b3891c51920c2e0f1d4c3d793487713374956dee Mon Sep 17 00:00:00 2001 From: i-saint Date: Tue, 30 Jun 2015 08:16:15 +0900 Subject: [PATCH] removed unused variables --- .../Assets/AlembicImporter/Scripts/AlembicStream.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStream.cs b/AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStream.cs index 8beba3c76..73aaf8713 100644 --- a/AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStream.cs +++ b/AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStream.cs @@ -19,7 +19,6 @@ public enum CycleType { Hold, Loop, Reverse, Bounce } public string m_path_to_abc; public float m_time; public float m_time_offset; - public float m_time_interval = 1.0f / 30.0f; public float m_time_scale = 1.0f; public bool m_preserve_start_time = true; public CycleType m_cycle = CycleType.Hold; @@ -197,7 +196,7 @@ void Update() AbcUpdateElements(); - AbcAPI.aiSetTimeRangeToKeepSamples(m_abc, m_time_prev, 0.1f); + AbcAPI.aiSetTimeRangeToKeepSamples(m_abc, at2, 0.1f); // begin preload AbcAPI.aiUpdateSamplesBegin(m_abc, m_time_next);