forked from bartvdbraak/blender
b1c6fe7337
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. |
||
---|---|---|
bin/.blender | ||
doc | ||
extern | ||
intern | ||
po | ||
projectfiles | ||
projectfiles_vc7 | ||
release | ||
source | ||
tools | ||
COPYING | ||
Makefile | ||
README | ||
SConstruct |
Welcome to the fun world of open source. For instructions on building and installing Blender, please see the file named INSTALL. ---------------------.Blanguages and the .blender directory--------------------- The .blender directory holds various data files for Blender. In the 2.28a release those are the .Blanguages file containing a list of translations, the translations themselves and a default ttf font. Blender checks for the presence of this directory in several locations: - the current directory - your home directory - On OSX, the blender bundle is also checked - On Windows, the installation dir is checked. If you get a 'File ".Blanguages" not found' warning, try to copy the .blender dir to one of these locations (your home directory being recommended). -------------------------------------Links-------------------------------------- Getting Involved: http://www.blender.org/docs/get_involved.html Community: http://www.blender3d.org/Community/ Main blender development site: http://www.blender.org/ The Blender project homepage: http://projects.blender.org/projects/bf-blender/ Documentation: http://www.blender.org/modules.php?op=modload&name=documentation&file=index Bug tracker: http://projects.blender.org/tracker/?atid=125&group_id=9&func=browse Feature request tracker: http://projects.blender.org/tracker/?atid=128&group_id=9&func=browse