EmperorFool
Deity
I found two bugs in Python/pyHelper/Popup.py:
1. Typo: X used instead of iX.
should be
2. Unset variable "loopTitle" accessed in addTitleData().
I have no idea how to fix it since it isn't called by any vanilla code. The comments don't match the code, and I see no parameter that could be holding the image's extra size information. That also makes it pretty darn unimportant in my book.
1. Typo: X used instead of iX.
Code:
def addPythonButtonXY( self, strFunctionName, strButtonText, strHelpText, strArtPointer = "Art\Interface\Popups\PopupRadioButton.kfm", iData1 = -1, iData2 = -1, bOption = True, iX = -1, iY = -1 ):
"adds a python button at XY"
self.popup.addPythonButtonXY( strFunctionName, strButtonText, strHelpText, strArtPointer, iData1, iData2, bOption, [B][COLOR="Red"]X[/COLOR][/B], iY )
should be
Code:
def addPythonButtonXY( self, strFunctionName, strButtonText, strHelpText, strArtPointer = "Art\Interface\Popups\PopupRadioButton.kfm", iData1 = -1, iData2 = -1, bOption = True, iX = -1, iY = -1 ):
"adds a python button at XY"
self.popup.addPythonButtonXY( strFunctionName, strButtonText, strHelpText, strArtPointer, iData1, iData2, bOption, [B][COLOR="Red"]iX[/COLOR][/B], iY )
2. Unset variable "loopTitle" accessed in addTitleData().
I have no idea how to fix it since it isn't called by any vanilla code. The comments don't match the code, and I see no parameter that could be holding the image's extra size information. That also makes it pretty darn unimportant in my book.