Ignore:
Timestamp:
Aug 15, 2012, 8:30:38 AM (12 years ago)
Author:
gah
Message:

fix to use drawing in loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/controlOwner.tcl

    r2977 r3139  
    5959    # in coordination with loaders inside the load function
    6060    array set _type2curpath {
    61         drawing components
     61        drawing all
    6262        choice current
    6363        boolean current
     
    270270        set type [[tool] xml element -as type $path]
    271271        if {[info exists _type2curpath($type)]} {
    272             set currentpath $path.$_type2curpath($type)
     272            if { $_type2curpath($type) == "all" } {
     273                set currentpath $path
     274            } else {
     275                set currentpath $path.$_type2curpath($type)
     276            }
    273277        } else {
    274278            # default incase i forgot an input type in _type2curpath
Note: See TracChangeset for help on using the changeset viewer.