diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-15 22:15:51 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-15 22:15:51 +0400 |
commit | e79b244097ae1a416edbd0e28cfd6f07bc2e2daa (patch) | |
tree | 30367d0995e04e935149ffe2c78eebea0a20bbe3 /source/blender/freestyle/intern/system/PythonInterpreter.h | |
parent | 3b5fa7bba0206870e5eb832fbcc3692c8437b62b (diff) |
Fix collada and freestyle module compile errors after recent commit, forgot to
compile with those enabled.
Diffstat (limited to 'source/blender/freestyle/intern/system/PythonInterpreter.h')
-rw-r--r-- | source/blender/freestyle/intern/system/PythonInterpreter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/system/PythonInterpreter.h b/source/blender/freestyle/intern/system/PythonInterpreter.h index fbdc9bf3130..30ee6d30163 100644 --- a/source/blender/freestyle/intern/system/PythonInterpreter.h +++ b/source/blender/freestyle/intern/system/PythonInterpreter.h @@ -88,7 +88,7 @@ public: if (text) { status = BPY_text_exec(_context, text, reports, false); BKE_text_unlink(&_freestyle_bmain, text); - BKE_libblock_free(&_freestyle_bmain.text, text); + BKE_libblock_free(&_freestyle_bmain, text); } else { BKE_reportf(reports, RPT_ERROR, "Cannot open file: %s", fn); @@ -181,7 +181,7 @@ private: // cleaning up BKE_text_unlink(&_freestyle_bmain, text); - BKE_libblock_free(&_freestyle_bmain.text, text); + BKE_libblock_free(&_freestyle_bmain, text); _initialized = true; } |