forked from bartvdbraak/blender
7df985be0a
I have been able to compile blender on linux 64 without problems up to a month ago, but a recent change is giving me problems, and probably others as well (on linux 64 at least). But if not, this commit shouldn't change anything. The problem was an added pad variable to RenderData in DNA_scene_types.h, in a somewhat problematic place, since it causes the compiler to pad the struct at the 'ListBase layers' variable, a struct of two pointers, which caused me all sorts of trouble, variables declared after this having incorrect or incorrectly assigned values. This commit fixes this. In makesdna.c is a useful section which will write a c program called 'padding.c' which compares the actual size to the expected size, which for the RenderData and Scene struct in this case had a difference of 8. Also useful was the gcc -Wpadded warning flag. Hopefully I don't get 'fired' for this... ;) Now back to fixing the yafray bugs... |
||
---|---|---|
bin/.blender | ||
config | ||
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