[Bf-blender-cvs] [6668934] alembic_pointcache: Removed unused frame value code.
Lukas Tönne
noreply at git.blender.org
Fri Nov 7 12:40:48 CET 2014
Commit: 66689345f0f695e764288689fdd54da88f898784
Author: Lukas Tönne
Date: Fri Nov 7 12:36:02 2014 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB66689345f0f695e764288689fdd54da88f898784
Removed unused frame value code.
===================================================================
M source/blender/pointcache/intern/mesh.cpp
===================================================================
diff --git a/source/blender/pointcache/intern/mesh.cpp b/source/blender/pointcache/intern/mesh.cpp
index 8d1cd9b..fac53c1 100644
--- a/source/blender/pointcache/intern/mesh.cpp
+++ b/source/blender/pointcache/intern/mesh.cpp
@@ -139,16 +139,10 @@ PTCReadSampleResult PointCacheReader::read_sample(float frame)
IPolyMeshSchema &schema = m_mesh.getSchema();
ICompoundProperty geom_props = schema.getArbGeomParams();
-// TimeSamplingPtr ts = schema.getTimeSampling();
if (!schema.valid() || schema.getPositionsProperty().getNumSamples() == 0)
return PTC_READ_SAMPLE_INVALID;
ISampleSelector ss = get_frame_sample_selector(frame);
-// chrono_t time = ss.getRequestedTime();
-
-// std::pair<index_t, chrono_t> sres = ts->getFloorIndex(time, schema.getNumSamples());
-// chrono_t stime = sres.second;
-// float sframe = time_to_frame(stime);
IPolyMeshSchema::Sample sample;
schema.get(sample, ss);
More information about the Bf-blender-cvs
mailing list