Skip to content

Commit

Permalink
Merge pull request #680 from methodstudios/shared_ptr_alias
Browse files Browse the repository at this point in the history
std::shared_ptr replaced with `IDoubleArrayProperty::sample_ptr_type` alias
  • Loading branch information
fabiencastan authored Aug 13, 2019
2 parents dba8eb1 + d13adec commit c157f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliceVision/sfmDataIO/AlembicImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ bool readCamera(const ICamera& camera, const M44d& mat, sfmData::SfMData& sfmDat
if(userProps.getPropertyHeader("mvg_intrinsicParams"))
{
Alembic::Abc::IDoubleArrayProperty prop(userProps, "mvg_intrinsicParams");
std::shared_ptr<DoubleArraySample> sample;
Alembic::Abc::IDoubleArrayProperty::sample_ptr_type sample;
prop.get(sample, ISampleSelector(sampleFrame));
mvg_intrinsicParams.assign(sample->get(), sample->get()+sample->size());
}
Expand Down

0 comments on commit c157f3d

Please sign in to comment.