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:
Diffstat (limited to 'source/blender/makesrna/intern/rna_main.c')
-rw-r--r--source/blender/makesrna/intern/rna_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_main.c b/source/blender/makesrna/intern/rna_main.c
index 12b62b0f2fc..4bba1dd6181 100644
--- a/source/blender/makesrna/intern/rna_main.c
+++ b/source/blender/makesrna/intern/rna_main.c
@@ -39,7 +39,7 @@
static bool rna_Main_use_autopack_get(PointerRNA *UNUSED(ptr))
{
- if (G.fileflags & G_AUTOPACK)
+ if (G.fileflags & G_FILE_AUTOPACK)
return 1;
return 0;
@@ -48,9 +48,9 @@ static bool rna_Main_use_autopack_get(PointerRNA *UNUSED(ptr))
static void rna_Main_use_autopack_set(PointerRNA *UNUSED(ptr), bool value)
{
if (value)
- G.fileflags |= G_AUTOPACK;
+ G.fileflags |= G_FILE_AUTOPACK;
else
- G.fileflags &= ~G_AUTOPACK;
+ G.fileflags &= ~G_FILE_AUTOPACK;
}
static bool rna_Main_is_saved_get(PointerRNA *UNUSED(ptr))