Skip to content

Commit

Permalink
fix disto param
Browse files Browse the repository at this point in the history
  • Loading branch information
Bvallon-sl committed Aug 16, 2023
1 parent 90b5d9c commit ab34274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ namespace sl
CameraParameters.FocalLengthMetric = SlData.focal_length_metric;

std::vector<double> Tmp;
Tmp.assign(SlData.disto, SlData.disto + 5);
Tmp.assign(SlData.disto, SlData.disto + 12);
CameraParameters.Disto = sl::unreal::arrays::ToUnrealType<float, double>(Tmp);

CameraParameters.Resolution = sl::unreal::ToUnrealType(SlData.image_size);
Expand Down
2 changes: 1 addition & 1 deletion ZEDSamples.uproject
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"FileVersion": 3,
"EngineAssociation": "5.1",
"EngineAssociation": "5.2",
"Category": "",
"Description": "",
"Modules": [
Expand Down

0 comments on commit ab34274

Please sign in to comment.