For now, that is the real solution...
The code will be fixed in future versions of pymel.

- Ofer
www.mrbroken.com


On Wed, Nov 3, 2010 at 9:44 PM, Seth Gibson <[email protected]> wrote:

> I'd be curious to see what the real solution is, it always makes me nervous
> to go hacking about in the pymel source;)
>
>
> On Wed, Nov 3, 2010 at 11:55 AM, Count Zer0 <[email protected]> wrote:
>
>> Answer is to change line 113 to accept extra args:
>>
>> def refresh(self, *args):
>>
>> Thanks Seth!
>>
>> On Nov 3, 10:47 am, Count Zer0 <[email protected]> wrote:
>> > Anybody get loggingControl.py to work?
>> >
>> > I tried:
>> >
>> > from pymel.tools import loggingControl
>> > reload(loggingControl)
>> > loggingControl.initMenu()
>> >
>> > But clicking the new 'Logging Control' menu in Maya yields:
>> >
>> > # Error: refreshLoggingMenu() takes exactly 1 argument (3 given)
>> > # TypeError: refreshLoggingMenu() takes exactly 1 argument (3 given) #
>>
>> --
>> http://groups.google.com/group/python_inside_maya
>>
>
>  --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to