Forum

Author Topic: Latest version broke marker.projections  (Read 1307 times)

mutunake

  • Newbie
  • *
  • Posts: 4
    • View Profile
Latest version broke marker.projections
« on: September 20, 2018, 09:09:10 PM »
In 1.2.6 this used to work:
marker.projections[camera] = (x, y)
now, in the latest version 1.4.3 give the error:
TypeError: invalid item value

how to fix it?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Latest version broke marker.projections
« Reply #1 on: September 21, 2018, 01:43:58 AM »
Hello mutunake,

Please try:
Code: [Select]
marker.projections[camera] = PhotoScan.Marker.Projection((x,y), True)
Best regards,
Alexey Pasumansky,
Agisoft LLC

mutunake

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Latest version broke marker.projections
« Reply #2 on: September 21, 2018, 12:00:40 PM »
this is working now, thx