BlenderVR / source

Blender Virtual Reality Main Code
52 stars 21 forks source link

Remove all non-nested Python code #8

Open dfelinto opened 9 years ago

dfelinto commented 9 years ago

Move all the code that is not nested to under a def main, and make sure it works fine. As a starter the files under //utils/ should be converted.

For the records, this only fails because in order to get the 'pydocs' out of the python files the script is 'executed'. If anything is not nested the code get executed and things go sour.

This is a subtask of #7

dfelinto commented 9 years ago

I just pushed the initial work on this to master. It includes a fix for all the utils/ files and the logger.py file. There are still over 50 files that need changes though.