Lightroom SDK: Globals lost strictness

  • 1
  • Problem
  • Updated 8 years ago
In Lr2, global variable access without initialization was an error. In Lr3 not so. This change was not documented, thus a problem report instead of feature request / idea.

In any case, strict is better - please return to strictness by default in Lr4, or better still: have an option for strictness, maybe in author tools section of plugin manager (with Info.lua override).

9X% of the time if globals are accessed without init its due to a plugin bug.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 385 Reply Likes

Posted 8 years ago

  • 1

Be the first to post a reply!