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:
authorCampbell Barton <ideasman42@gmail.com>2008-03-15 21:53:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-15 21:53:42 +0300
commita5d31fc28e7737b9e6ef3d56986cb2e2f0493047 (patch)
tree2a18763786ebde101e521a82c6eeed83d578ccac /source/blender/src/drawtext.c
parent02295c491f610834463f64181768cd12ecfe1278 (diff)
fix for [#8559] Python script that uses FIleSelector and has an error in it segfaults Blender
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r--source/blender/src/drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c
index 73b1aa9856c..327fcb341c7 100644
--- a/source/blender/src/drawtext.c
+++ b/source/blender/src/drawtext.c
@@ -1442,7 +1442,7 @@ void run_python_script(SpaceText *st)
if (!st->text) return;
if (!strcmp(py_filename, st->text->id.name+2)) {
- error("Python script error, check console");
+ error_pyscript( );
if (lineno >= 0) {
txt_move_toline(text, lineno-1, 0);
txt_sel_line(text);