From 1652884463afa64ec000462e7a23d3267f980b25 Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Wed, 21 Jan 2004 04:38:03 +0000 Subject: BPython: -- removed struct Script (DNA_script_types.h) from makesdna to blender/include/BPI_script.h (BPI meaning Blender Python-related external Include file). Had agreed with Ton that makesdna was not the proper place for it. -- fixed two small warnings in Ipo.c (variables might be used uninitialized) -- fixed a bug reported on blender.org's python forum by Wim Van Hoydonck (aka tuinbels): Blender would hang if a script failed. My fault, accidentally put a node=node->next type call outside the while loop check, so it never ended. With makesdna/DNA_script_types.h removed and include/BPI_script.h added, msvc projectfiles will need to be updated. Sorry to do it now, but I promissed I'd fix this before next release. --- source/blender/python/BPY_extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/BPY_extern.h') diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 3feb5606059..b55d55b0ffe 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -42,7 +42,7 @@ struct ScriptLink; /* defined in DNA_scriptlink_types.h */ struct ListBase; /* defined in DNA_listBase.h */ struct SpaceText; /* defined in DNA_space_types.h */ struct SpaceScript;/* defined in DNA_space_types.h */ -struct Script; /* defined in DNA_script_types.h */ +struct Script; /* defined in BPI_script.h */ /* struct _object; // forward declaration for PyObject ! */ -- cgit v1.2.3