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>2010-02-27 04:47:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-27 04:47:46 +0300
commit15db857628198195936b80115329b8356645ea68 (patch)
treebc60dac34a5c662d72b9fffed45b92d0b645f73e /source/creator
parent4e931482f48feab644b74308be92c385b8ebf3ec (diff)
rename flag for auto script execution since scriptlinks are no more.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index bdb6d792c5e..4f3ad5d05d9 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -301,7 +301,7 @@ static int end_arguments(int argc, char **argv, void *data)
static int disable_python(int argc, char **argv, void *data)
{
- G.f &= ~G_DOSCRIPTLINKS;
+ G.f &= ~G_SCRIPT_AUTOEXEC;
return 0;
}
@@ -951,7 +951,7 @@ int main(int argc, char **argv)
/* first test for background */
- G.f |= G_DOSCRIPTLINKS; /* script links enabled by default */
+ G.f |= G_SCRIPT_AUTOEXEC; /* script links enabled by default */
ba = BLI_argsInit(argc, argv); /* skip binary path */
setupArguments(C, ba, &syshandle);