Results 1 to 3 of 3

Thread: inconsistent locked status between scripted and UI toggles

  1. #1
    Join Date
    Sep 2017
    Posts
    397

    inconsistent locked status between scripted and UI toggles

    when my script locks an object using self.setLock(true), the UI toggle remains unchecked although indeed the object is locked. I can unlock the object by first setting and then clearing the toggle. Obviously minor, but if you are in the relevant code, would be nice to fix it.

    It is working fine after all. I don't understand how I saw otherwise.
    Last edited by cche; 09-08-2017 at 09:55 PM. Reason: argh

  2. #2
    Join Date
    May 2016
    Posts
    1,072
    My guess is maybe you had the context menu open when it locked/unlocked and the UI didn't update? Or maybe its just one of those things. Happens to us all haha

  3. #3
    I think this is an older issue that occasionally pops up, under certain circumstances those UI check marks fail to match the actual state its supposed to represent.

    I've also seen this happen on occasions when group selecting and setting UI toggles though without any particular pattern to the odd time its happened

Similar Threads

  1. Determining card flip status
    By kccricket in forum Scripting
    Replies: 3
    Last Post: 05-13-2017, 04:23 PM
  2. Request for Object Face Up/Down status
    By dizneyguy in forum Scripting
    Replies: 2
    Last Post: 03-16-2016, 10:21 PM
  3. [SOLVED] Middle-click to flip object in Search Interface still toggles zoom.
    By jTenebrous in forum Technical Support
    Replies: 0
    Last Post: 03-07-2016, 05:54 AM
  4. Replies: 4
    Last Post: 03-01-2016, 04:16 PM
  5. [SOLVED] Individual cards not inheriting Toggles of their Deck.
    By TheRaven81 in forum Technical Support
    Replies: 1
    Last Post: 02-05-2016, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •