Python Bugfix

A new file could have its Blender.Get("filename") return "<memory>" after undo'ing on an open file.
Fix for own error with python sys.path, messed up game engine.
This commit is contained in:
2008-02-20 18:56:07 +00:00
parent 1892df0e68
commit 4c0b33ef80
8 changed files with 20 additions and 17 deletions

View File

@@ -264,8 +264,6 @@ static Scene *preview_prepare_scene(RenderInfo *ri, int id_type, ID *id, int pr_
sce= pr_main->scene.first;
if(sce) {
// sce->r.mode |= G.scene->r.mode & R_THREADS;
/* this flag tells render to not execute depsgraph or ipos etc */
sce->r.scemode |= R_PREVIEWBUTS;
/* set world always back, is used now */