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:
authorKent Mein <mein@cs.umn.edu>2002-11-29 20:07:58 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-29 20:07:58 +0300
commit651fa32eaa054e27d3d4ba8afd0f3ce56ad02f07 (patch)
tree87885b68d7d01ca0e5808a3668ca48daf3db42b8 /source/blender/src/cre
parent3fe6959360784bcf753f357d5aa82b331c5acf0f (diff)
Bunch of small fixes emailed to me from phaethon
Kent -- mein@cs.umn.edu
Diffstat (limited to 'source/blender/src/cre')
-rw-r--r--source/blender/src/cre/license_key.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/cre/license_key.c b/source/blender/src/cre/license_key.c
index 5d066f4edc1..f6a56d0f14e 100644
--- a/source/blender/src/cre/license_key.c
+++ b/source/blender/src/cre/license_key.c
@@ -45,8 +45,8 @@
#include <config.h>
#endif
-int LICENSE_KEY_VALID = FALSE;
-int I_AM_PUBLISHER = FALSE;
+int LICENSE_KEY_VALID = TRUE;
+int I_AM_PUBLISHER = TRUE;
static UserStruct User;
@@ -57,6 +57,8 @@ static UserStruct User;
#include "compile.h" /* to give us PyCodeObject */
#include "eval.h" /* prototype for PyEval_EvalCode */
+#include "BPY_extern.h"
+#include "IMB_imbuf.h"
Fptr g_functab[PYKEY_TABLEN];
Fptr g_ptrtab[PYKEY_TABLEN];
@@ -188,6 +190,7 @@ void create_key_name(char * keyname)
void checkhome()
{
initprot(); // initialize module and function tables
+ IMB_fp_png_encode = IMB_png_encode;
}
void SHOW_LICENSE_KEY(void)