diff options
author | Ken Hughes <khughes@pacific.edu> | 2006-12-11 04:44:59 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2006-12-11 04:44:59 +0300 |
commit | 3d2dfe86318ffeebc51c60ff22a9467cb01d6e66 (patch) | |
tree | 32a6b23c64adbf14080ab84163e5eab8a7009473 /source/blender/src/editscreen.c | |
parent | e314b7a43d9f535ddf358b09d29f76ae70cea355 (diff) |
Python API
----------
Bugfix #5398: setting object layers from background render caused "bad call
to addqueue: 0 (18, 1)" messages to be sent to the console. Add a check in
addqueue_ext() for G.background first before printing.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r-- | source/blender/src/editscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index 0f29f871fb3..d69b1db1365 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -480,7 +480,7 @@ static void headmenu(ScrArea *sa) static void addqueue_ext(short win, unsigned short event, short val, char ascii) { if (win<4 || !areawinar[win]) { - if(win==0) // other win ids are for mainwin & renderwin + if(win==0 && !G.background) /* other win ids are for mainwin & renderwin */ printf("bad call to addqueue: %d (%d, %d)\n", win, event, val); } else { |