FocusPosition in Network Global ?
  • User avatar
    TheraBylerm
    activ8 member
    Posts: 55
    Joined: Fri Mar 03, 2006 3:13 pm
    Location: iduun, paris
    Contact:

    FocusPosition in Network Global ?

    by TheraBylerm » Sat Jan 27, 2007 3:37 am

    Hi,

    I'm using the module "network global"... everything works fine, except one thing (and it's very, very upseting !)

    I don't know how to turn off the informations relative to the FocusPosition. In fact, I'm trying to desactivate these informations... but it must keep sending information relative to the layer.

    I wrote some more lines, in the existing module that gives nothing... (I'm not good at Python, so sorry...)

    I put this line in the "init()"

    Code: Select all

    elif key.startswith ('ctrl_layerStack_focusPosition') and dictKey['keyFocusPosition'] : return (False)


    and this line in the "message event"

    Code: Select all

    elif msg ==  'FOCUSPOS' : dictKey['keyFocusPosition'] = param['value']


    Any idea ? I'm feeling alone with my problem... :oops:
  • User avatar
    boris
    garageCube team
    Posts: 911
    Joined: Mon Jun 28, 2004 12:36 am
    Location: Geneva
    Contact:

    by boris » Mon Jan 29, 2007 4:04 am

    Hum your code is completly wrong... (sorry)...
    A simple way is :

    change this ( line 30, init script) :

    Code: Select all

    elif key.startswith ('ctrl_layer') and dictKey['keyLayer'] : return (True)

    By :

    Code: Select all

    elif key.startswith ('ctrl_layer_') and dictKey['keyLayer'] : return (True)

    Juste add '_' and the keywords ctrl_layerStack... will be ignored !

    I will upload a new network module soon, with new filering key ![/code]
    Boris * garageCube team
  • User avatar
    TheraBylerm
    activ8 member
    Posts: 55
    Joined: Fri Mar 03, 2006 3:13 pm
    Location: iduun, paris
    Contact:

    by TheraBylerm » Mon Jan 29, 2007 9:32 am

    :oops: I'm newb... I'm sorry... I will correct it !!
  • User avatar
    boris
    garageCube team
    Posts: 911
    Joined: Mon Jun 28, 2004 12:36 am
    Location: Geneva
    Contact:

    by boris » Mon Jan 29, 2007 12:42 pm

    A new network module (v1.1) is online now !
    Boris * garageCube team
  • User avatar
    TheraBylerm
    activ8 member
    Posts: 55
    Joined: Fri Mar 03, 2006 3:13 pm
    Location: iduun, paris
    Contact:

    by TheraBylerm » Tue Jan 30, 2007 12:24 am

    YESSSSS !!!!! It's perfect !!!!

    Thanks, Boris... !

Who is online

Users browsing this forum: No registered users and 10 guests