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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-12-15 21:18:09 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-12-15 21:18:09 +0300
commit050dc02134d71ba984fd1dd900ffccf45cbd6865 (patch)
treec439c24bbc22034b3ac0b7419cacc41865a1c62d /source/blender/src/drawscript.c
parent436bb963f128b96f871d1ae7fa651cf7c9d810d1 (diff)
Chris reported build errors w/ traditional makefiles.
This commit moves the 2 undefined references to BPY_interface.c and changes things a little, hopefully fixing the problem. I had to add a new dir, source/blender/include/ to auto*'s Makefile.am in source/blender/python/. Thanks Chris for the report, and Jiri, for adding a missing declaration.
Diffstat (limited to 'source/blender/src/drawscript.c')
-rw-r--r--source/blender/src/drawscript.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/src/drawscript.c b/source/blender/src/drawscript.c
index c633d0528eb..950bd4f2989 100644
--- a/source/blender/src/drawscript.c
+++ b/source/blender/src/drawscript.c
@@ -128,28 +128,3 @@ void free_scriptspace (SpaceScript *sc)
sc->script = NULL;
}
-
-void unlink_script(Script *script)
-{ /* copied from unlink_text in drawtext.c */
- bScreen *scr;
- ScrArea *area;
- SpaceLink *sl;
-
- for (scr= G.main->screen.first; scr; scr= scr->id.next) {
- for (area= scr->areabase.first; area; area= area->next) {
- for (sl= area->spacedata.first; sl; sl= sl->next) {
- if (sl->spacetype==SPACE_SCRIPT) {
- SpaceScript *sc= (SpaceScript*) sl;
-
- if (sc->script==script) {
- sc->script= NULL;
-
- if (sc==area->spacedata.first) {
- scrarea_queue_redraw(area);
- }
- }
- }
- }
- }
- }
-}