Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276338 | Differences between
and this patch

Collapse All | Expand All

(-)blender/source/blender/python/intern/bpy_interface.c (+5 lines)
Lines 242-247 Link Here
242
	Py_Initialize(  );
242
	Py_Initialize(  );
243
	
243
	
244
	// PySys_SetArgv( argc, argv); // broken in py3, not a huge deal
244
	// PySys_SetArgv( argc, argv); // broken in py3, not a huge deal
245
246
	/* Sanitize sys.path to prevent relative imports loading modules in
247
	 * the current working directory */
248
	PyRun_SimpleString("import sys; sys.path = filter(None, sys.path)");
249
245
	/* sigh, why do python guys not have a char** version anymore? :( */
250
	/* sigh, why do python guys not have a char** version anymore? :( */
246
	{
251
	{
247
		int i;
252
		int i;

Return to bug 276338