fix [#26494] Auto run Python scripts option in User Preferences problem
authorCampbell Barton <ideasman42@gmail.com>
Tue, 15 Mar 2011 08:04:11 +0000 (08:04 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 15 Mar 2011 08:04:11 +0000 (08:04 +0000)
commitb65a56ccb52e656cbdc9033180c26fb56d5c5ffd
tree7f21f7388fc39c19f3eff4333f50c5b72f2becba
parentb332a27429f40ef51deeff8de163d2280edb2314
fix [#26494] Auto run Python scripts option in User Preferences problem
- opening a file with blender by passing it as an argument would and loading it once in blender left script auto execute flag in a different state.
- command line args --enable/disable-autoexec were being overridden by the user prefs.
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/intern/blender.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_operators.c
source/creator/creator.c