Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-03-07 00:25:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-07 00:25:15 +0300
commit08f306c81cb8015db59fe63ad1ef2c977751652e (patch)
tree94f656dbf98fba2bf3d47547d34c06131d0a88cf /source/blender/blenkernel/bad_level_call_stubs/stubs.c
parent3796abf092c9de4d43131dbce05102b126e14896 (diff)
Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing. This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run. Blender runs the script or text block if available.
Diffstat (limited to 'source/blender/blenkernel/bad_level_call_stubs/stubs.c')
-rw-r--r--source/blender/blenkernel/bad_level_call_stubs/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
index 5e827ca766b..1da46149eac 100644
--- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c
+++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
@@ -36,7 +36,7 @@
#include "BKE_bad_level_calls.h"
#include "BLI_blenlib.h"
-#include "BPI_script.h"
+#include "DNA_space_types.h"
#include "DNA_texture_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"