Author Topic: MetaShape caches python state?  (Read 1903 times)


  • Newbie
  • *
  • Posts: 18
    • View Profile
MetaShape caches python state?
« on: April 15, 2019, 08:50:22 AM »
Hi Alexey,

I'm run into a particularly frustrating issue where MetaShape (and PhotoScan versions prior) seem to not acknowledge script changes on Mac after script execution has failed at lest once.

The issue seems to be fixed by closing and re-opening MetaShape before running  a different script through the "run script" UI without raising an error. At this point the old script and arguments can be entered into the UI and the new code will run.

Does MetaShape do any caching of python resources? Is it possible to get hot-reloading support? As it stands currently it can be very misleading as errors in the console can be a result of flaws in old code that you have actually already fixed.

I hope this makes sense.