Skip to content

Commit

Permalink
fix raster appId
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Dec 16, 2024
1 parent 50815dc commit b9209af
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ public string GetSpeckleApplicationId(ADM.Layer layer, AC.CoreObjectsBase coreOb
return $"{layer.URI}_{row.GetObjectID()}";
}

if (coreObject is Raster)
{
return $"{layer.URI}_0";
}

if (coreObject is ACD.Analyst3D.LasPoint point)
{
return $"{layer.URI}_{point.PointID}";
Expand Down

0 comments on commit b9209af

Please sign in to comment.