Thanks for patch. It working here also. Committed.

** Changed in: hugin
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/799905

Title:
  Variables not passed to Python interface

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  Trying to pass several variables to Python script does not work.
  I'm calling hpi::callhpi with 2 argument
  hpi::callhpi( m_scriptFile.c_str() , 2 , "HuginBase::Panorama*", &pano, 
"HuginBase::UIntSet*", &m_images ) ;

  But in hpi_dispatch 2 HuginBase::Panorama* objects appear (and not a Panorama 
and UIntSet object)
  I added     
      for i in args:
          print(type(i))
  to hpi_dispatch and got:
  <class 'hsi.Panorama'>
  <class 'hsi.Panorama'>
  as result.

  And finally in the plugin only the first Panorama object appears.
  I added the same code as above to check, there is only one variable in def 
entry (pano,*args)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/799905/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~hugin-devs
Post to     : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to