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>2006-01-06 23:15:18 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2006-01-06 23:15:18 +0300
commitb1c6fe73374bda9574d3d005daeb6670976d863b (patch)
tree7c7b052415a3f720b44f5544bbc041b2b068d93a /source/gameengine/Ketsji/KX_BlenderMaterial.cpp
parent37495aa2115409b6e7c4d4fa1a5faea0c04ea2c6 (diff)
Bug #3658 reported by Daniel Holtz (thanks):
http://projects.blender.org/tracker/?func=detail&atid=125&aid=3658&group_id=9 Running scripts from command line in bg mode: blender -b -P myscript.py crashes Blender 2.40. The problem is in add_text() in text.c: G.scene can be NULL at this point (in bg mode). Added a check: line 323: if (G.scene) /* can be NULL (bg mode) */ BLI_convertstringcode(str, G.sce, G.scene->r.cfra); The text being added with add_text() in this particular case is the script filename specified at the command prompt, so it should be ok to skip BLI_convertstringcode. Feel free to disagree, though.
Diffstat (limited to 'source/gameengine/Ketsji/KX_BlenderMaterial.cpp')
0 files changed, 0 insertions, 0 deletions