I noticed that my script editor is printing out some additional stuff but I
am not exactly sure if this a warning/error etc... despite the fact that my
code is still working as it should..
It happens when I clicked onto this button which was connected to the
openFile function that I have created.
def openFile(self):
""" Module for importing in .txt anim files """
fileFilters = "Text (*.txt)"
fileList = cmds.fileDialog2(fileMode = 1, fileFilter = fileFilters,
dialogStyle = 2)
if fileList:
stringConvert = ''.join(fileList)
print "Imported File is opened from : %s" %stringConvert
self.importTxt.setText(stringConvert)
As soon as the button is clicked, the following was printed out in my
editor:
PySide.QtCore.QEvent.Type.ChildPolished
QFileDialog
PySide.QtCore.QEvent.Type.ChildPolished
QFileDialog
PySide.QtCore.QEvent.Type.ChildRemoved
So I have 2 questions.
1. I am not using PySide but PyQt4 as the importing modules since PyQt was
installed in my machine. So where does this PySide comes from?
2. Are there any ways in which I can hide these 5 lines?
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/2b7c93eb-c9bb-4072-86a8-0d6703cda807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.