Ignore:
Timestamp:
Jun 8, 2018 2:35:44 PM (5 years ago)
Author:
srkline
Message:

updated mask drawing to draw arbitrary shapes, fixing bugs in the operation.

fix operation of popups in transmission panel.

other bug fixes that I don't recall from the past week.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Transmission.ipf

    r1102 r1105  
    186186//                      PopupMenu popup_0,mode=1,value=#gSamMatchList 
    187187                        PopupMenu popup_0,mode=1,value=V_getSamListForPopup() 
     188 
     189 
     190// then pop the sample list with the top file to see that it is a match for the transmission file 
     191                        STRUCT WMPopupAction samPopAct 
     192                        ControlInfo popup_0 
     193                        samPopAct.popStr = S_Value              // the top file 
     194                        V_TSamFilePopMenuProc(samPopAct) 
    188195                         
    189196                        break 
     
    231238Function/S V_getTransListForPopup() 
    232239 
    233         String retStr = V_getFilePurposeList("TRANSMISSION",0) 
     240        String retStr ="" 
     241         
     242//      retStr = V_getFilePurposeList("TRANSMISSION",0) 
     243         
     244        retStr = V_getFileIntentPurposeList("Sample","TRANSMISSION",0) 
     245        retStr += V_getFileIntentPurposeList("Empty Cell","TRANSMISSION",0) 
    234246         
    235247        // now filter through the string to refine the list to only transmission files that match 
Note: See TracChangeset for help on using the changeset viewer.