Skip to content

Commit

Permalink
Fix typo in proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenherje committed Mar 11, 2024
1 parent 0ed0d81 commit 491b0c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GrpcInterface/GrpcProtos/GridGeometryExtraction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ message PolylineTestResponse

message CutAlongPolylineResponse
{
repeated FenceMeshSection feceMeshSections = 1;
repeated FenceMeshSection fenceMeshSections = 1;
PolylineTestResponse polylineTestResponse = 2;
Vec3i gridDimensions = 3;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
grid_geometry_extraction_stub.CutAlongPolyline(cut_along_polyline_request)
)

fence_mesh_sections = cut_along_polyline_response.feceMeshSections
fence_mesh_sections = cut_along_polyline_response.fenceMeshSections
print(f"Number of fence mesh sections: {len(fence_mesh_sections)}")

section_mesh_3d = []
Expand Down
2 changes: 1 addition & 1 deletion GrpcInterface/RiaGrpcGridGeometryExtractionService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ grpc::Status RiaGrpcGridGeometryExtractionService::CutAlongPolyline( grpc::Serve
const auto& polylineSegmentsMeshData = polylineIntersectionGenerator->polylineSegmentsMeshData();
for ( const auto& segment : polylineSegmentsMeshData )
{
auto* fenceMeshSection = response->add_fecemeshsections();
auto* fenceMeshSection = response->add_fencemeshsections();

// Set start UTM (x,y)
rips::Vec2d* startUtmXY = new rips::Vec2d;
Expand Down

0 comments on commit 491b0c3

Please sign in to comment.