Minor code clean-up.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Fri, 3 May 2013 03:36:33 +0000 (03:36 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Fri, 3 May 2013 03:36:33 +0000 (03:36 +0000)
source/blender/freestyle/intern/system/PythonInterpreter.h

index b52a539f94a6d02c712180218ea1cd484111de1b..fbdc9bf31301460ddf0a1c61c3e1a6f829aea8aa 100644 (file)
@@ -110,7 +110,8 @@ public:
                return 0;
        }
 
-       int interpretText(struct Text *text, const string& name) {
+       int interpretText(struct Text *text, const string& name)
+       {
                initPath();
 
                ReportList *reports = CTX_wm_reports(_context);
@@ -182,7 +183,6 @@ private:
                BKE_text_unlink(&_freestyle_bmain, text);
                BKE_libblock_free(&_freestyle_bmain.text, text);
 
-               //PyRun_SimpleString("from Freestyle import *");
                _initialized = true;
        }