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
path: root/source
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2006-07-07 22:39:51 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2006-07-07 22:39:51 +0400
commit8aed0ead0b48f111abc9b7a733b0e0ff2a56011e (patch)
tree72ba49e2a8a2fb03a72df07a80304f9a1a6398ca /source
parent46110ec06b8fe5b5b0c242d5dd48cfb6a3ff7236 (diff)
Gui:
[ #4581 ] related to scripts window updates, details here: http://projects.blender.org/tracker/index.php?func=detail&aid=4581&group_id=9&atid=125 Scripts updated: -Jean-Michel Soler updated some of his scripts: paths importer (ai, eps, gimp, svg), kml / kmz importer and also updated Axiscopy.py by A Vanpoucke (xand) and the knife script (this version handles multiple materials) by Stefano Selleri and Wim Van Hoydonck. Thanks!
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/drawscript.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/src/drawscript.c b/source/blender/src/drawscript.c
index 30c3e11f00b..a43e9d26098 100644
--- a/source/blender/src/drawscript.c
+++ b/source/blender/src/drawscript.c
@@ -91,19 +91,6 @@ void drawscriptspace(ScrArea *sa, void *spacedata)
glClear(GL_COLOR_BUFFER_BIT);
myortho2(-0.5, curarea->winrct.xmax-curarea->winrct.xmin-0.5, -0.5, curarea->winrct.ymax-curarea->winrct.ymin-0.5);
- if (!sc->script) {
- script = G.main->script.first;
-
- while (script) {
-
- if (script->py_draw || script->py_event || script->py_button) {
- sc->script = script;
- break;
- }
- else script = script->id.next;
- }
- }
-
if (!sc->script) return;
script = sc->script;