Results 1 to 2 of 2

Thread: Problem with repeating commands

  1. #1
    Join Date
    Feb 2001
    Location
    Monza, Italy
    Posts
    34

    Default

    I have a problem with repeating commands, that comes out with the keyboard driver too.
    The problem happens with commands activated by the same code, belonging to differents groups.
    For example, suppose i have two groups. In the first one there is a command that disables the first group, then enables the second. In the second, there is a command that does the exact opposite.
    Executing this with "Test command" gives no prob, but sending the keystroke will mess up.
    I found a workaround, that is to "Stop processing" after the 2 commands, but i think it's a bug that may need mayor attention.

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    This is NOT a bug, this is just the way things work in Girder, if the first group is enabled and the command get executed there, it disables the first group and enables the second group, then girder continues scanning for the tree in a linear fashion, and thus finding the enabled second group and thus disabling the first group. Perfectly normal behaviour. Not what you wanted, but exactly as you programmed Girder.

    The alternate option is to use "states". You might want to check them out.

    -Ron

Posting Permissions

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