[wpdev-commits] xmlscripts/scripts/commands info.py,1.17,1.18
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-10 14:23:06
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18725/commands Modified Files: info.py Log Message: Removed weight from the info menu. Index: info.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/info.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** info.py 23 Aug 2004 03:10:39 -0000 1.17 --- info.py 10 Sep 2004 14:22:23 -0000 1.18 *************** *** 804,808 **** gump.addText( 113, 260, "Weight:", 0x834 ) gump.addResizeGump( 280, 260, 0xBB8, 215, 20 ) ! gump.addInputField( 284, 260, 200, 16, 0x834, 6, unicode( item.weight ) ) # 7 gump.addText( 113, 280, "Layer:", 0x834 ) --- 804,809 ---- gump.addText( 113, 260, "Weight:", 0x834 ) gump.addResizeGump( 280, 260, 0xBB8, 215, 20 ) ! #gump.addInputField( 284, 260, 200, 16, 0x834, 6, unicode( item.weight ) ) ! gump.addText( 284, 260, 200, 16, 0x834, unicode( item.weight ) ) # 7 gump.addText( 113, 280, "Layer:", 0x834 ) *************** *** 1081,1086 **** elif key == 5: item.amount = int( hex2dec( textentries[ key ] ) ) ! elif key == 6: ! item.weight = float( textentries[ key ] ) elif key == 7: item.layer = int( hex2dec( textentries[ key ] ) ) --- 1082,1087 ---- elif key == 5: item.amount = int( hex2dec( textentries[ key ] ) ) ! #elif key == 6: ! # item.weight = float( textentries[ key ] ) elif key == 7: item.layer = int( hex2dec( textentries[ key ] ) ) |