[Bf-blender-cvs] [1fa6881037c] master: Cleanup: remove outdated comment
Campbell Barton
noreply at git.blender.org
Sun Oct 4 16:56:57 CEST 2020
Commit: 1fa6881037c721601d16f8400d29d440e637fcd3
Author: Campbell Barton
Date: Mon Oct 5 01:54:12 2020 +1100
Branches: master
https://developer.blender.org/rB1fa6881037c721601d16f8400d29d440e637fcd3
Cleanup: remove outdated comment
Should have been removed in b36a05bb7e794335e3415594c41d3986cdc815e8,
when Python was started after reading the preferences.
===================================================================
M source/creator/creator.c
===================================================================
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 7b279edb6b0..80cae248c67 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -466,16 +466,7 @@ int main(int argc,
WM_init(C, argc, (const char **)argv);
}
-#ifdef WITH_PYTHON
- /**
- * \note the #U.pythondir string is NULL until #WM_init() is executed,
- * so we provide the BPY_ function below to append the user defined
- * python-dir to Python's `sys.path` at this point. Simply putting
- * #WM_init() before #BPY_python_start() crashes Blender at startup.
- */
-
- /* TODO: #U.pythondir */
-#else
+#ifndef WITH_PYTHON
printf(
"\n* WARNING * - Blender compiled without Python!\n"
"this is not intended for typical usage\n\n");
More information about the Bf-blender-cvs
mailing list